Cmcmahon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/94266
Change subject: text and target for 'Terms of use' link changed
......................................................................
text and target for 'Terms of use' link changed
Change-Id: Ibc041478d89749a695711194b080ebcf938011af
---
M tests/browser/features/step_definitions/footer_steps.rb
M tests/browser/features/support/pages/home_page.rb
2 files changed, 2 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend
refs/changes/66/94266/1
diff --git a/tests/browser/features/step_definitions/footer_steps.rb
b/tests/browser/features/step_definitions/footer_steps.rb
index 8745295..73c5957 100644
--- a/tests/browser/features/step_definitions/footer_steps.rb
+++ b/tests/browser/features/step_definitions/footer_steps.rb
@@ -27,7 +27,7 @@
end
Then /^I go to the Terms of Use page$/ do
- @browser.url.should match Regexp.escape('Terms_of_use?useformat=mobile')
+ @browser.url.should match Regexp.escape('Terms_of_use')
end
When /^I click on the Privacy link$/ do
diff --git a/tests/browser/features/support/pages/home_page.rb
b/tests/browser/features/support/pages/home_page.rb
index cee16d3..8f00959 100644
--- a/tests/browser/features/support/pages/home_page.rb
+++ b/tests/browser/features/support/pages/home_page.rb
@@ -21,7 +21,7 @@
a(:privacy_link, text: 'Privacy')
form(:search_form, id: 'mw-mf-searchForm')
a(:sign_up, text: 'Sign up')
- a(:terms_link, text: 'Terms of Use')
+ a(:terms_link, text: 'Terms of use')
a(:watch_link, class: 'watch-this-article')
div(:watch_note, text: 'Added San Francisco Chronicle to your watchlist')
a(:watched_link, class: 'watch-this-article watched')
@@ -33,7 +33,6 @@
page.search_results_element.a
end
a(:sign_up_watchlist, href:
/returntoquery=article_action%3Dwatch&type=signup/)
- a(:terms_link, text: 'Terms of Use')
a(:watch_link, class: 'watch-this-article')
div(:watch_note, text: 'Added San Francisco Chronicle to your watchlist')
div(:watch_note_removed, text: 'Removed San Francisco Chronicle from your
watchlist')
--
To view, visit https://gerrit.wikimedia.org/r/94266
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibc041478d89749a695711194b080ebcf938011af
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits