def basic_setup_email(self, name, email, password): setup = SetupEmail(self.marionette) setup.type_name(name) setup.type_email(email) setup.tap_next() google_login = GoogleLogin(self.marionette) # check if the google autocomplete on email field works as expected assert google_login.email == email # dismiss the keyboard and return to the correct frame google_login.keyboard.dismiss() google_login.switch_to_frame() google_login.tap_next() google_login.type_password(password) google_login.tap_sign_in() # approve access to your account google_login.wait_for_approve_access() google_login.tap_approve_access() self.apps.switch_to_displayed_app() setup.tap_account_prefs_next() setup.wait_for_setup_complete() setup.tap_continue() self.wait_for_message_list()
def basic_setup_email(self, name, email, password): setup = SetupEmail(self.marionette) setup.type_name(name) setup.type_email(email) setup.tap_next() google_login = GoogleLogin(self.marionette) # check if the google autocomplete on email field works as expected assert google_login.email == email google_login.type_password(password) google_login.tap_sign_in() # approve access to your account google_login.wait_for_approve_access() google_login.tap_approve_access() self.apps.switch_to_displayed_app() setup.tap_account_prefs_next() setup.wait_for_setup_complete() setup.tap_continue() self.wait_for_message_list()
def basic_setup_email(self, name, email, password): setup = SetupEmail(self.marionette) setup.type_name(name) setup.type_email(email) setup.type_password(password) setup.tap_next() setup.tap_account_prefs_next() setup.wait_for_setup_complete() setup.tap_continue() self.wait_for_condition(lambda m: self.is_element_displayed(*self._header_area_locator))
def basic_setup_email(self, name, email, password): setup = SetupEmail(self.marionette) setup.type_name(name) setup.type_email(email) setup.type_password(password) setup.tap_next() setup.tap_account_prefs_next() setup.wait_for_setup_complete() setup.tap_continue() self.wait_for_message_list()