示例#1
0
 def test_footer_newsletter_submission(self, mozwebqa, url="/firefox/features"):
     self.selenium = mozwebqa.selenium
     home_pg = MozillaBasePage(mozwebqa)
     home_pg.open(url)
     home_pg.type(home_pg.monthly_news_locator, home_pg.test_email_address)
     home_pg.click(home_pg.monthly_news_locator_button)
     home_pg.click(home_pg.inline_privacy_checkbox)
     home_pg.click(home_pg.sign_me_up_button, True)
     home_pg.is_element_present(home_pg.success_pane_locator)