Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move merthod to make sure we check the latest results

  • Loading branch information...
commit 6cfe1b1ab658164cee566ae35c54cc34f03bb247 1 parent 072172e
@bebef1987 bebef1987 authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  tests/test_addon_count.py
View
3  tests/test_addon_count.py
@@ -25,11 +25,10 @@ def test_addon_count(self, mozwebqa):
dashboard_obj.click_public_addons_link()
#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))
Please sign in to comment.
Something went wrong with that request. Please try again.