Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated method names accordingly to their actions

  • Loading branch information...
commit 87786e760ce9678a40ef0fdd40492fe207630163 1 parent 0a148ed
@AlinT AlinT authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 pages/dashboard_page.py
  2. +1 −1  tests/test_addon_count.py
View
4 pages/dashboard_page.py
@@ -49,11 +49,11 @@ def click_previous(self):
return DashboardPage(self.testsetup)
@property
- def is_next_button_disabled(self):
+ def is_next_button_enabled(self):
return self.is_element_visible(*self._next_locator)
@property
- def is_previous_button_disabled(self):
+ def is_previous_button_enabled(self):
return self.is_element_visible(*self._previous_locator)
def click_public_addons_link(self):
View
2  tests/test_addon_count.py
@@ -27,7 +27,7 @@ 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_disabled:
+ while dashboard_obj.is_next_button_enabled:
addon_count = addon_count + dashboard_obj.addons_element_count
dashboard_obj = dashboard_obj.click_next()
Please sign in to comment.
Something went wrong with that request. Please try again.