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