def test_what_is_this_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 "What's this?" == details_page.license_faq_text license_faq = details_page.click_whats_this_license() assert "Frequently Asked Questions" == license_faq.header_text)
def test_what_is_this_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("What's this?", details_page.license_faq_text) license_faq = details_page.click_whats_this_license() Assert.equal("Frequently Asked Questions", license_faq.header_text)
def test_what_is_this_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 'What\'s this?' == details_page.license_faq_text license_faq = details_page.click_whats_this_license() assert 'Frequently Asked Questions' == license_faq.header_text
def test_that_whats_this_link_for_source_license_links_to_an_answer_in_faq(self, mozwebqa): """Test for Litmus 11530.""" details_page = Details(mozwebqa, "Firebug") details_page.expand_version_information() user_faq_page = details_page.click_whats_this_license() Assert.not_none(re.match('(\w+\s*){3,}', user_faq_page.license_question)) Assert.not_none(re.match('(\w+\s*){3,}', user_faq_page.license_answer))
def test_what_is_this_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 'What\'s this?' == details_page.license_faq_text license_faq = details_page.click_whats_this_license() assert 'Frequently Asked Questions' == license_faq.header_text
def test_what_is_this_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("What's this?", details_page.license_faq_text) license_faq = details_page.click_whats_this_license() Assert.equal("Frequently Asked Questions", license_faq.header_text)
def test_that_whats_this_link_for_source_license_links_to_an_answer_in_faq( self, mozwebqa): details_page = Details(mozwebqa, "Firebug") details_page.expand_version_information() user_faq_page = details_page.click_whats_this_license() Assert.not_none( re.match('(\w+\s*){3,}', user_faq_page.license_question)) Assert.not_none(re.match('(\w+\s*){3,}', user_faq_page.license_answer))
def test_that_whats_this_link_for_source_license_links_to_an_answer_in_faq( self, base_url, selenium): details_page = Details(base_url, selenium, "Firebug") details_page.expand_version_information() user_faq_page = details_page.click_whats_this_license() assert re.match('(\w+\s*){3,}', user_faq_page.license_question) is not None assert re.match('(\w+\s*){3,}', user_faq_page.license_answer) is not None
def test_what_is_this_in_the_version_information(self, mozwebqa): """ https://litmus.mozilla.org/show_test.cgi?id=7906 """ details_page = Details(mozwebqa, "MemChaser") Assert.equal(details_page.version_information_heading, "Version Information") details_page.expand_version_information() Assert.equal("What's this?", details_page.license_faq_text) license_faq = details_page.click_whats_this_license() Assert.equal("Frequently Asked Questions", license_faq.header_text)
def test_what_is_this_in_the_version_information(self, mozwebqa): """ https://litmus.mozilla.org/show_test.cgi?id=7906 """ details_page = Details(mozwebqa, "MemChaser") Assert.equal(details_page.version_information_heading, "Version Information") details_page.expand_version_information() Assert.equal("What's this?", details_page.license_faq_text) license_faq = details_page.click_whats_this_license() Assert.equal("Frequently Asked Questions", license_faq.header_text)
def test_that_whats_this_link_for_source_license_links_to_an_answer_in_faq(self, mozwebqa): details_page = Details(mozwebqa, "Firebug") details_page.expand_version_information() user_faq_page = details_page.click_whats_this_license() assert re.match('(\w+\s*){3,}', user_faq_page.license_question) is not None assert re.match('(\w+\s*){3,}', user_faq_page.license_answer) is not None