예제 #1
0
 def test_that_search_for_valid_signature(self, seleniumsetup):
     '''
         This is a test for 
             https://bugzilla.mozilla.org/show_bug.cgi?id=609070
     '''
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     result = csp.search_for_crash(csp.second_signature)
     Assert.false(result.can_find_text('No results were found.'))
예제 #2
0
 def test_that_search_for_valid_signature(self, testsetup):
     '''
         This is a test for 
             https://bugzilla.mozilla.org/show_bug.cgi?id=609070
     '''
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     reportlist = csp.click_first_product_top_crashers_link()
     signature = reportlist.first_valid_signature
     result = csp.search_for_crash(signature)
     Assert.false(result.can_find_text('No results were found.'))
예제 #3
0
 def test_that_when_item_not_available(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     results = csp.search_for_crash("this won't exist")
     Assert.true(results.can_find_text('No results were found.'))