Exemplo n.º 1
0
    def test_that_verifies_the_url_of_the_statistics_page(self, mozwebqa):

        details_page = Details(mozwebqa, "Firebug")
        statistics_page = details_page.click_view_statistics()

        Assert.true(statistics_page.is_the_current_page)
        Assert.contains("/statistics", statistics_page.get_url_current_page())
Exemplo n.º 2
0
    def test_that_verifies_the_url_of_the_statistics_page(self, mozwebqa):

        details_page = Details(mozwebqa, "Firebug")
        statistics_page = details_page.click_view_statistics()

        Assert.true(statistics_page.is_the_current_page)
        Assert.contains("/statistics", statistics_page.get_url_current_page())
    def test_that_verifies_the_url_of_the_statistics_page(self, mozwebqa):

        details_page = Details(mozwebqa, "Firebug")
        statistics_page = details_page.click_view_statistics()

        assert statistics_page.is_the_current_page
        assert "/statistics" in statistics_page.get_url_current_page()
Exemplo n.º 4
0
    def test_that_verifies_the_url_of_the_statistics_page(self, mozwebqa):
        """ Test for Litmus 25710
        https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=25710
        """

        details_page = Details(mozwebqa, "Firebug")
        statistics_page = details_page.click_view_statistics()

        Assert.true(statistics_page.is_the_current_page)
        Assert.contains("/statistics", statistics_page.get_url_current_page())
Exemplo n.º 5
0
    def test_that_verifies_the_url_of_the_statistics_page(self, mozwebqa):
        """ Test for Litmus 25710
        https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=25710
        """

        details_page = Details(mozwebqa, "Firebug")
        statistics_page = details_page.click_view_statistics()

        Assert.true(statistics_page.is_the_current_page)
        Assert.contains("/statistics", statistics_page.get_url_current_page())
    def test_that_addon_number_of_total_downloads_is_correct(self, base_url, selenium):
        # browser
        firebug_page = Details(base_url, selenium, self.firebug)
        statistics_page = firebug_page.click_view_statistics()
        browser_downloads = statistics_page.total_downloads_number

        # api
        addons_xml = AddonsAPI(base_url, self.firebug)
        xml_downloads = addons_xml.get_total_downloads()

        assert browser_downloads == xml_downloads
    def test_that_addon_number_of_total_downloads_is_correct(self, base_url, selenium):
        # browser
        firebug_page = Details(base_url, selenium, self.firebug)
        statistics_page = firebug_page.click_view_statistics()
        browser_downloads = statistics_page.total_downloads_number

        # api
        addons_xml = AddonsAPI(base_url, self.firebug)
        xml_downloads = addons_xml.get_total_downloads()

        assert browser_downloads == xml_downloads
    def test_that_addon_number_of_total_downloads_is_correct(self, mozwebqa):

        # browser
        firebug_page = Details(mozwebqa, self.firebug)
        statistics_page = firebug_page.click_view_statistics()
        browser_downloads = statistics_page.total_downloads_number

        # api
        addons_xml = AddonsAPI(mozwebqa, self.firebug)
        xml_downloads = addons_xml.get_total_downloads()

        Assert.equal(browser_downloads, xml_downloads)
    def test_that_addon_number_of_total_downloads_is_correct(self, mozwebqa):

        # browser
        firebug_page = Details(mozwebqa, self.firebug)
        statistics_page = firebug_page.click_view_statistics()
        browser_downloads = statistics_page.total_downloads_number

        # api
        addons_xml = AddonsAPI(mozwebqa, self.firebug)
        xml_downloads = addons_xml.get_total_downloads()

        Assert.equal(browser_downloads, xml_downloads)
Exemplo n.º 10
0
 def test_that_verifies_the_url_of_the_statistics_page(self, mozwebqa):
     details_page = Details(mozwebqa, "Firebug")
     statistics_page = details_page.click_view_statistics()
     assert statistics_page.is_the_current_page
     assert '/statistics' in statistics_page.get_url_current_page()
Exemplo n.º 11
0
 def test_that_verifies_the_url_of_the_statistics_page(
         self, base_url, selenium):
     details_page = Details(base_url, selenium, "Firebug")
     statistics_page = details_page.click_view_statistics()
     assert statistics_page.is_the_current_page
     assert '/statistics' in statistics_page.get_url_current_page()
Exemplo n.º 12
0
def test_that_verifies_the_url_of_the_statistics_page(base_url, selenium):
    details_page = Details(base_url, selenium, "Firebug")
    statistics_page = details_page.click_view_statistics()
    assert statistics_page.is_the_current_page
    assert '/statistics' in statistics_page.get_url_current_page()