Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test for searching on QMO tag

  • Loading branch information...
commit 79e111b5221fb2de9e78b75ba4233aef495526d4 1 parent 9f73c63
Rebecca Billings authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 pages/community.py
View
7 pages/community.py
@@ -4,13 +4,20 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+from selenium.webdriver.common.by import By
+
from base import BasePage
class CommunityPage(BasePage):
_page_title = u'Community | QMO \u2013 quality.mozilla.org'
+ _tag_locator = (By.CSS_SELECTOR, '#tag_cloud-3 a')
def go_to_community_page(self):
self.selenium.get(self.testsetup.base_url + '/community')
self.is_the_current_page
+
+ @property
+ def find_tag_link(self):
+ return self.selenium.find_element(*self._tag_locator)

0 comments on commit 79e111b

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