How to use the gaiatest.apps.system.regions.activities.Activities 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 / gallery / regions / multiple_selection_view.py View on Github external
def tap_share_button(self):
        share_button = Wait(self.marionette).until(
            expected.element_present(*self._share_thumbnail_locator))
        Wait(self.marionette).until(expected.element_displayed(share_button))
        share_button.tap()
        from gaiatest.apps.system.regions.activities import Activities
        return Activities(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / homescreen / regions / context_menu.py View on Github external
def tap_change_wallpaper(self):
        change_wallpaper = Wait(self.marionette).until(
            expected.element_present(*self._change_wallpaper_button_locator))
        Wait(self.marionette).until(expected.element_displayed(change_wallpaper))
        change_wallpaper.tap()

        from gaiatest.apps.system.regions.activities import Activities
        return Activities(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / ui_tests / regions / context_menu.py View on Github external
def long_press_context_menu_body(self):
        self.wait_for_condition(lambda m: m.find_element(*self._context_menu_body_locator).is_displayed())
        context_menu_body = self.marionette.find_element(*self._context_menu_body_locator)
        Actions(self.marionette).press(context_menu_body).wait(1).release().perform()

        from gaiatest.apps.system.regions.activities import Activities

        return Activities(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / messages / regions / new_message.py View on Github external
def tap_attachment(self):
        self.marionette.find_element(*self._attach_button_locator).tap()
        from gaiatest.apps.system.regions.activities import Activities
        return Activities(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / music / regions / player_view.py View on Github external
def tap_share_button(self):
        self.tap_cover_in_player_view()
        self.marionette.find_element(*self._cover_share_locator).tap()
        from gaiatest.apps.system.regions.activities import Activities
        return Activities(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / settings / regions / display.py View on Github external
def pick_wallpaper(self):
        self.marionette.find_element(*self._wallpaper_pick_locator).tap()
        return Activities(self.marionette)
github mozilla-b2g / gaia / tests / python / gaia-ui-tests / gaiatest / apps / contacts / regions / contact_form.py View on Github external
def tap_picture(self):
        self.marionette.find_element(*self._thumbnail_photo_locator).tap()
        from gaiatest.apps.system.regions.activities import Activities
        return Activities(self.marionette)