コード例 #1
0
ファイル: test_homepage.py プロジェクト: sashank6/Addon-Tests
 def test_that_clicking_see_all_collections_link_works(self, mozwebqa):
     home_page = Home(mozwebqa)
     featured_collection_page = home_page.click_featured_collections_see_all_link(
     )
     assert featured_collection_page.is_the_current_page
     assert featured_collection_page.get_url_current_page().endswith(
         '/collections/?sort=featured')
コード例 #2
0
ファイル: test_homepage.py プロジェクト: ziranov/Addon-Tests
 def test_that_clicking_see_all_collections_link_works(self, mozwebqa):
     """
     Test for Litmus 25806.
     https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=25806
     """
     home_page = Home(mozwebqa)
     featured_collection_page = home_page.click_featured_collections_see_all_link()
     Assert.true(featured_collection_page.is_the_current_page)
     Assert.true(featured_collection_page.get_url_current_page().endswith('/collections/?sort=featured'))
コード例 #3
0
 def test_that_clicking_see_all_collections_link_works(self, mozwebqa):
     """
     Test for Litmus 25806.
     https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=25806
     """
     home_page = Home(mozwebqa)
     featured_collection_page = home_page.click_featured_collections_see_all_link()
     Assert.true(featured_collection_page.is_the_current_page)
     Assert.true(featured_collection_page.get_url_current_page().endswith('/collections/?sort=featured'))
コード例 #4
0
 def test_that_clicking_see_all_collections_link_works(self, mozwebqa):
     home_page = Home(mozwebqa)
     featured_collection_page = home_page.click_featured_collections_see_all_link()
     Assert.true(featured_collection_page.is_the_current_page)
     Assert.true(featured_collection_page.get_url_current_page().endswith('/collections/?sort=featured'))
コード例 #5
0
 def test_that_clicking_see_all_collections_link_works(self, base_url, selenium):
     home_page = Home(base_url, selenium)
     featured_collection_page = home_page.click_featured_collections_see_all_link()
     assert featured_collection_page.is_the_current_page
     assert featured_collection_page.get_url_current_page().endswith('/collections/?sort=featured')