def test_view_the_source_in_the_version_information(self, mozwebqa): details_page = Details(mozwebqa, "Firebug") Assert.equal(details_page.version_information_heading, "Version Information") details_page.expand_version_information() Assert.equal("View the source", details_page.view_source_code_text) view_source = details_page.click_view_source_code() Assert.contains('/files/browse/', view_source.get_url_current_page())
def test_view_the_source_in_the_version_information(self, mozwebqa): details_page = Details(mozwebqa, "Firebug") assert details_page.version_information_heading == "Version Information" details_page.expand_version_information() assert "View the source" == details_page.view_source_code_text view_source = details_page.click_view_source_code() assert '/files/browse/' in view_source.get_url_current_page()
def test_view_the_source_in_the_version_information(self, base_url, selenium): details_page = Details(base_url, selenium, "Firebug") assert 'Version Information' == details_page.version_information_heading details_page.expand_version_information() assert 'View the source' == details_page.view_source_code_text view_source = details_page.click_view_source_code() assert '/files/browse/' in view_source.get_url_current_page()