Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Use contains for checking titles to support staging site #58

Merged
merged 3 commits into from
Jul 16, 2013

Conversation

bobsilverberg
Copy link
Contributor

This should fix the is_current_page tests on quality.allizom.org, however the link checking tests are still expected to fail as these are not currently using a proxy server.

@@ -14,6 +17,12 @@ class BasePage(Page):
_page_title_locator = (By.CSS_SELECTOR, 'h1.section-title')

@property
def is_the_current_page(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be in page.py? or this method means to overwrite that one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Fixed.

@teodosia
Copy link
Contributor

teodosia commented Jul 9, 2013

Except the minor nits, lgtm. I ran the tests and got the same fails as in Jenkins.

@bobsilverberg
Copy link
Contributor Author

I have pushed changes to address the comments above.

@teodosia
Copy link
Contributor

Lgtm.

@stephendonner
Copy link
Contributor

r+, merging in.

stephendonner added a commit that referenced this pull request Jul 16, 2013
Use contains for checking titles to support staging site
@stephendonner stephendonner merged commit 807fc03 into mozilla:master Jul 16, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants