def test_that_current_version_selected_in_top_crashers_by_domain_header_for_firefox(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium 
     csp = CrashStatsHomePage(self.selenium)
     if not csp.can_find_text('no data'):
         details = csp.current_details
         cstc = csp.select_report('Top Crashers by Domain')
         Assert.equal(details['product'], cstc.product_header)
 def test_that_current_version_selected_in_top_crashers_by_url_header_for_seamonkey(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     csp.select_product('SeaMonkey')
     if not csp.can_find_text('no data'):
         details = csp.current_details
         cstc = csp.select_report('Top Crashers by URL')
         Assert.equal(details['product'], cstc.product_header)
Ejemplo n.º 3
0
 def test_that_current_version_selected_in_top_crashers_header_for_fennec(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     csp.select_product('Fennec')
     if not csp.can_find_text('no data'):
         details = csp.current_details
         cstc = csp.select_report('Top Crashers')
         Assert.equal(details['product'], cstc.product_header)
Ejemplo n.º 4
0
 def test_that_advanced_search_view_signature_for_seamonkey_crash(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     csp.select_product('SeaMonkey')
     if not csp.can_find_text('no data'):
         cs_advanced = csp.click_advanced_search()
         cs_advanced.filter_reports()
         if not cs_advanced.can_find_text('No Data'): 
             signature = cs_advanced.click_first_signature()
             Assert.true(signature in cs_advanced.page_heading)
Ejemplo n.º 5
0
 def test_that_reports_form_has_same_product_for_fennec(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     csp.select_product('Fennec')
     page_title = csp.page_title
     Assert.true('Fennec' in page_title)
     if not csp.can_find_text('no data'):
         crash_adu = csp.select_report("Crashes per User")
         details = csp.current_details
         report_product = crash_adu.product_select
         Assert.equal(details['product'],report_product)
 def test_that_reports_form_has_same_product_for_thunderbird(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     csp.select_product('Thunderbird')
     page_title = csp.page_title
     Assert.true('Thunderbird' in page_title)
     Assert.true('Mozilla' in page_title)
     if not csp.can_find_text('no data'):
         crash_adu = csp.select_report("Crashes per User")
         details = csp.current_details
         report_product = crash_adu.product_select
         Assert.equal(details['product'],report_product)
 def test_that_reports_form_has_same_product_for_fennec(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     csp.select_product('Fennec')
     page_title = csp.page_title
     Assert.true('Fennec' in page_title)
     #Bug 576721 - Needs reenabled when fixed
     #Assert.true('Mozilla' not in page_title)
     if not csp.can_find_text('no data'):
         crash_adu = csp.select_report("Crashes per User")
         details = csp.current_details
         report_product = crash_adu.product_select
         Assert.equal(details['product'],report_product)