Ejemplo n.º 1
0
 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))
Ejemplo n.º 2
0
 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)
Ejemplo n.º 3
0
 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!')
Ejemplo n.º 4
0
 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)
Ejemplo n.º 5
0
 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!')
Ejemplo n.º 6
0
 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))