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')
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'))
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'))
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')