Permalink
Browse files

Merge pull request #57 from Rik/fix-trunk

Adapt to small markup changes
  • Loading branch information...
2 parents d9594fa + 165ff4a commit 096098a70755df6e174c45409d1aac5adde3a902 @retornam committed Jun 29, 2012
Showing with 5 additions and 5 deletions.
  1. +4 −4 pages/desktop/about.py
  2. +1 −1 pages/desktop/base.py
View
@@ -13,10 +13,10 @@ class AboutPage(Base):
def go_to_page(self):
self.open('/about/')
- _mission_header_link = (By.CSS_SELECTOR, '#nav-main > ul > li:nth-child(1) > a')
- _about_header_link = (By.CSS_SELECTOR, '#nav-main > ul > li:nth-child(2) > a')
- _projects_header_link = (By.CSS_SELECTOR, '#nav-main > ul > li:nth-child(3) > a')
- _get_involved_header_link = (By.CSS_SELECTOR, '#nav-main > ul > li:nth-child(4) > a')
+ _mission_header_link = (By.CSS_SELECTOR, '#nav-main li:nth-child(1) > a')
+ _about_header_link = (By.CSS_SELECTOR, '#nav-main li:nth-child(2) > a')
+ _projects_header_link = (By.CSS_SELECTOR, '#nav-main li:nth-child(3) > a')
+ _get_involved_header_link = (By.CSS_SELECTOR, '#nav-main li:nth-child(4) > a')
_get_to_know_mozilla_header = (By.CSS_SELECTOR, '.large.center')
_career_center_link = (By.CSS_SELECTOR, '.links:nth-of-type(1) > li:nth-of-type(1) > h4 > a')
_press_center_link = (By.CSS_SELECTOR, '.links:nth-of-type(1) > li:nth-of-type(2) > h4 > a')
View
@@ -83,7 +83,7 @@ def are_tabzilla_links_visible(self):
class Footer(Page):
_footer = (By.TAG_NAME, 'footer')
- _footer_mozilla_link = (By.CSS_SELECTOR, '.footer-logo > img')
+ _footer_mozilla_link = (By.CSS_SELECTOR, '.footer-logo img')
_contact_us_link = (By.CSS_SELECTOR, '.span2:nth-of-type(1) > ul > li:nth-of-type(1) > a')
_privacy_policy_link = (By.CSS_SELECTOR, '.span2:nth-of-type(1) > ul > li:nth-of-type(2) > a')
_legal_notices_link = (By.CSS_SELECTOR, '.span2:nth-of-type(1) > ul > li:nth-of-type(3) > a')

0 comments on commit 096098a

Please sign in to comment.