def test_that_bugzilla_link_contain_current_site(self, mozwebqa): ''' Bug 631737 ''' csp = CrashStatsHomePage(mozwebqa) path = '/invaliddomain' csp.get_url_path(path) Assert.contains('bug_file_loc=%s%s' % (mozwebqa.base_url, path), urllib.unquote(csp.link_to_bugzilla))
def test_that_correlation_is_not_returning_http500(self, mozwebqa): csp = CrashStatsHomePage(mozwebqa) csp.get_url_path(csp.base_url + '/correlation') Assert.contains('Page not Found', csp.get_page_name)
def test_that_topcrasher_is_not_returning_http500(self, mozwebqa): csp = CrashStatsHomePage(mozwebqa) csp.get_url_path(csp.base_url + '/topcrasher') Assert.contains('Top Crashers', csp.get_page_name) Assert.true(csp.results_found(), 'No results found!')