예제 #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))
예제 #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)
예제 #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!')
예제 #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)
예제 #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!')
예제 #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))