本文整理匯總了Python中gaiatest.apps.email.regions.setup.SetupEmail.tap_account_prefs_next方法的典型用法代碼示例。如果您正苦於以下問題:Python SetupEmail.tap_account_prefs_next方法的具體用法?Python SetupEmail.tap_account_prefs_next怎麽用?Python SetupEmail.tap_account_prefs_next使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類gaiatest.apps.email.regions.setup.SetupEmail
的用法示例。
在下文中一共展示了SetupEmail.tap_account_prefs_next方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: basic_setup_email
# 需要導入模塊: from gaiatest.apps.email.regions.setup import SetupEmail [as 別名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import tap_account_prefs_next [as 別名]
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()
示例2: basic_setup_email
# 需要導入模塊: from gaiatest.apps.email.regions.setup import SetupEmail [as 別名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import tap_account_prefs_next [as 別名]
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))
示例3: basic_setup_email
# 需要導入模塊: from gaiatest.apps.email.regions.setup import SetupEmail [as 別名]
# 或者: from gaiatest.apps.email.regions.setup.SetupEmail import tap_account_prefs_next [as 別名]
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()