Browse files

Merge pull request #78 from bebef1987/fix_test

move merthod to make sure we check the latest results
  • Loading branch information...
2 parents 072172e + 6cfe1b1 commit 326f7b153f5053c901edbd59c5cf30c57656b6e9 @stephendonner stephendonner committed Oct 22, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/
@@ -25,11 +25,10 @@ def test_addon_count(self, mozwebqa):
#Get the number of addons that are displayed on the left hand side of the page.(Something like your add-ons(20))
- counter = dashboard_obj.addons_count_label
addon_count = dashboard_obj.addons_element_count
while dashboard_obj.is_next_button_enabled:
dashboard_obj = dashboard_obj.click_next()
addon_count = addon_count + dashboard_obj.addons_element_count
#Assert that the total addons on the page matches the counter on the left hand side.
- Assert.equal(counter, str(addon_count))
+ Assert.equal(dashboard_obj.addons_count_label, str(addon_count))

0 comments on commit 326f7b1

Please sign in to comment.