Exemplo n.º 1
0
 def a11y_click_settings(self):
     settings = Wait(self.marionette).until(
         expected.element_present(*self._settings_a11y_locator))
     Wait(self.marionette).until(
         lambda m: self.accessibility.is_visible(settings))
     self.accessibility.click(settings)
     return Settings(self.marionette)
Exemplo n.º 2
0
    def delete_email_account(self, index):

        toolbar = self.header.tap_menu()
        toolbar.tap_settings()
        settings = Settings(self.marionette)
        account_settings = settings.email_accounts[index].tap()
        delete_confirmation = account_settings.tap_delete()
        delete_confirmation.tap_delete()