def test_that_clicking_see_all_themes_link_works(self, mozwebqa): """ Test for Litmus 29699. https://litmus.mozilla.org/show_test.cgi?id=29699 """ home_page = Home(mozwebqa) featured_theme_page = home_page.click_featured_themes_see_all_link() Assert.true(featured_theme_page.is_the_current_page) Assert.equal(featured_theme_page.theme_header, 'Themes')
def test_that_clicking_see_all_themes_link_works(self, mozwebqa): home_page = Home(mozwebqa) featured_theme_page = home_page.click_featured_themes_see_all_link() assert featured_theme_page.is_the_current_page assert 'Themes' == featured_theme_page.theme_header
def test_that_clicking_see_all_themes_link_works(self, mozwebqa): home_page = Home(mozwebqa) featured_theme_page = home_page.click_featured_themes_see_all_link() Assert.true(featured_theme_page.is_the_current_page) Assert.equal(featured_theme_page.theme_header, 'Themes')
def test_that_clicking_see_all_themes_link_works(self, base_url, selenium): home_page = Home(base_url, selenium) featured_theme_page = home_page.click_featured_themes_see_all_link() assert featured_theme_page.is_the_current_page assert 'Themes' == featured_theme_page.theme_header