How to use the gaiatest.apps.phone.app.Phone.__init__ 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 / phone / regions / keypad.py View on Github external
def __init__(self, marionette):
        Phone.__init__(self, marionette)
        self.wait_to_be_displayed()
        self.apps.switch_to_displayed_app()
        keypad_toolbar_button = self.marionette.find_element(*self._keypad_toolbar_button_locator)
        Wait(self.marionette).until(lambda m: 'toolbar-option-selected' in keypad_toolbar_button.get_attribute('class'))
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / phone / regions / call_log.py View on Github external
def __init__(self, marionette):
        Phone.__init__(self, marionette)
        Wait(self.marionette).until(
            expected.element_not_displayed(*self._upgrade_progress_locator))
        Wait(self.marionette).until(
            expected.element_displayed(*self._all_calls_tab_link_locator))
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / phone / regions / call_screen.py View on Github external
def __init__(self, marionette):
        Phone.__init__(self, marionette)

        self.switch_to_call_screen_frame()