Skip to content
Browse files

move merthod to make sure we check the latest results

  • Loading branch information...
1 parent 072172e commit 6cfe1b1ab658164cee566ae35c54cc34f03bb247 @bebef1987 bebef1987 committed Oct 22, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/
3 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 6cfe1b1

Please sign in to comment.
Something went wrong with that request. Please try again.