How to use the gaiatest.apps.messages.regions.new_message.NewMessage function in gaiatest

To help you get started, we’ve selected a few gaiatest examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / search / regions / browser.py View on Github external
def tap_share_to_messages(self):
        element = Wait(self.marionette).until(
            expected.element_present(*self._share_to_messages_button_locator))
        Wait(self.marionette).until(expected.element_displayed(element))
        element.tap()
        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / system / regions / activities.py View on Github external
def share_to_messages(self):
        actions_menu = Wait(self.marionette).until(
            expected.element_present(*self._actions_menu_locator))
        Wait(self.marionette).until(
            expected.element_displayed(actions_menu))
        self.marionette.find_element(*self._messages_button_locator).tap()
        Wait(self.marionette).until(
            expected.element_not_displayed(actions_menu))
        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / messages / app.py View on Github external
def tap_draft_message(self):
        self.root_element.tap()
        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / contacts / regions / contact_details.py View on Github external
def tap_send_sms(self):
        self.marionette.find_element(*self._send_sms_button_locator).tap()
        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / messages / regions / activities.py View on Github external
def tap_forward_message(self):
        self.marionette.find_element(*self._forward_message_button_locator).tap()
        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / messages / app.py View on Github external
def tap_create_new_message(self):
        self.marionette.find_element(*self._create_new_message_locator).tap()
        from gaiatest.apps.messages.regions.new_message import NewMessage
        return NewMessage(self.marionette)