def test_that_search_returns_results_for_irc_nickname(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) login_page = home_page.click_login_link() login_page.log_in() search_page = home_page.search_for("stephend") Assert.true(search_page.results_count > 0)
def test_search_for_too_many_results(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) login_page = home_page.click_login_link() login_page.log_in() search_page = home_page.search_for(".") Assert.true(search_page.too_many_results_message_shown)
def test_that_search_returns_results_for_email_substring(self, mozwebqa): home_page = MozilliansStartPage(mozwebqa) login_page = home_page.click_login_link() login_page.log_in() search_page = home_page.search_for("@mozilla.com") Assert.true(search_page.results_count > 0)