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)
Exemplo 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)
Exemplo n.º 4
0
 def test_that_reports_form_has_same_product_for_firefox(self, testsetup):
     self.selenium = testsetup.selenium
     csp = CrashStatsHomePage(testsetup)
     page_title = csp.page_title
     Assert.true('Firefox' in page_title)
     crash_adu = csp.select_report("Crashes per User")
     details = csp.current_details
     report_product = crash_adu.product_select
     Assert.equal(details['product'],report_product)
Exemplo 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)
 def test_that_current_version_selected_in_top_crashers_by_url_header_for_firefox(self, seleniumsetup):
     self.selenium = seleniumsetup.selenium
     csp = CrashStatsHomePage(self.selenium)
     details = csp.current_details
     cstc = csp.select_report('Top Crashers by URL')
     Assert.equal(details['product'], cstc.product_header)