Exemple #1
0
 def test_searching_for_extensions(self, base_url, selenium):
     page = ExtensionsHome(base_url, selenium).open()
     results_page = page.search_for('fire')
     assert len(results_page.results) > 0
     # click through to each result and verify navigation breadcrumbs
     for i in range(len(results_page.results)):
         addon = results_page.result(i).click_result()
         assert 'Extensions' in addon.breadcrumb
         selenium.back()
 def test_searching_for_extensions(self, base_url, selenium):
     page = ExtensionsHome(base_url, selenium).open()
     results_page = page.search_for('fire')
     assert len(results_page.results) > 0
 def test_searching_for_extensions(self, base_url, selenium):
     page = ExtensionsHome(base_url, selenium).open()
     results_page = page.search_for('fire')
     assert len(results_page.results) > 0