本文整理汇总了Python中gaiatest.apps.email.app.Email.a11y_navigate_to_manual_setup方法的典型用法代码示例。如果您正苦于以下问题:Python Email.a11y_navigate_to_manual_setup方法的具体用法?Python Email.a11y_navigate_to_manual_setup怎么用?Python Email.a11y_navigate_to_manual_setup使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类gaiatest.apps.email.app.Email
的用法示例。
在下文中一共展示了Email.a11y_navigate_to_manual_setup方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: TestEmailCardsVisibilityAccessibility
# 需要导入模块: from gaiatest.apps.email.app import Email [as 别名]
# 或者: from gaiatest.apps.email.app.Email import a11y_navigate_to_manual_setup [as 别名]
class TestEmailCardsVisibilityAccessibility(GaiaTestCase):
def setUp(self):
GaiaTestCase.setUp(self)
self.email = Email(self.marionette)
self.email.launch()
def test_a11y_email_cards_visibility(self):
# Setup account info is visible
Wait(self.marionette).until(lambda m: self.accessibility.is_visible(m.find_element(
*self.email._setup_account_info)))
# start setting up account and enter manual setup
self.email.a11y_navigate_to_manual_setup('test_name', '[email protected]')
# Setup account info is now hidden
self.assertTrue(self.accessibility.is_hidden(self.marionette.find_element(
*self.email._setup_account_info)))
# Manual setup is now visible
self.assertTrue(self.accessibility.is_visible(self.marionette.find_element(
*self.email._setup_manual_config)))