Exemplo n.º 1
0
 def test_that_headers_are_present(self, mozwebqa):
     aurora_pg = AuroraPage(mozwebqa)
     aurora_pg.go_to_aurora_page()
     Assert.true(aurora_pg.is_preview_features_header_present)
     Assert.true(aurora_pg.is_share_feedback_header_present)
     Assert.true(aurora_pg.is_shape_firefox_header_present)
     Assert.true(aurora_pg.is_aurora_header_present)
Exemplo n.º 2
0
 def test_aurora_newsletter_submission(self, mozwebqa):
     aurora_pg = AuroraPage(mozwebqa)
     aurora_pg.go_to_aurora_page()
     aurora_pg.type_email("*****@*****.**")
     aurora_pg.check_aurora_checkbox()
     aurora_pg.agree_to_privacy_policy()
     aurora_pg.click_sign_me_up()
     Assert.equal(aurora_pg.newsletter_submitted_sucessfully, "Thanks for subscribing!")
Exemplo n.º 3
0
 def test_download_button_section(self, mozwebqa):
     aurora_pg = AuroraPage(mozwebqa)
     aurora_pg.go_to_aurora_page()
     Assert.true(aurora_pg.is_aurora_download_button_present)
     Assert.true(aurora_pg.is_all_systems_and_languages_link_present)
     Assert.true(aurora_pg.is_privacy_policy_link_present)