本文整理汇总了Python中pages.desktop.page_provider.PageProvider.click_support_questions_tab方法的典型用法代码示例。如果您正苦于以下问题:Python PageProvider.click_support_questions_tab方法的具体用法?Python PageProvider.click_support_questions_tab怎么用?Python PageProvider.click_support_questions_tab使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pages.desktop.page_provider.PageProvider
的用法示例。
在下文中一共展示了PageProvider.click_support_questions_tab方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test_no_query_adv_forum_search
# 需要导入模块: from pages.desktop.page_provider import PageProvider [as 别名]
# 或者: from pages.desktop.page_provider.PageProvider import click_support_questions_tab [as 别名]
def test_no_query_adv_forum_search(self, mozwebqa):
refine_search_pg = PageProvider(mozwebqa).refine_search_page()
# do test
refine_search_pg.click_support_questions_tab()
refine_search_pg.type_in_asked_by_box(refine_search_pg.get_user_name('default'))
refine_search_pg.click_search_button_support()
Assert.true(refine_search_pg.search_result_count > 0, "No search results not found")
示例2: test_no_query_adv_forum_search
# 需要导入模块: from pages.desktop.page_provider import PageProvider [as 别名]
# 或者: from pages.desktop.page_provider.PageProvider import click_support_questions_tab [as 别名]
def test_no_query_adv_forum_search(self, mozwebqa):
if mozwebqa.base_url in ['https://support-dev.allizom.org',
'https://support.mozilla.org']:
pytest.skip('Search results are not guaranteed to exist on %s' % mozwebqa.base_url)
refine_search_pg = PageProvider(mozwebqa).refine_search_page()
# do test
refine_search_pg.click_support_questions_tab()
refine_search_pg.type_in_asked_by_box(refine_search_pg.get_user_name('default'))
refine_search_pg.click_search_button_support()
Assert.true(refine_search_pg.search_result_count > 0, "No search results not found")