コード例 #1
0
    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')
コード例 #2
0
    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')
コード例 #3
0
ファイル: test_homepage.py プロジェクト: sashank6/Addon-Tests
 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
コード例 #4
0
    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')
コード例 #5
0
 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
コード例 #6
0
ファイル: test_homepage.py プロジェクト: adini121/Addon-Tests
 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
コード例 #7
0
    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')
コード例 #8
0
 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