jenkins-bot has submitted this change and it was merged.

Change subject: Changed prefs to not automatically watch created pages
......................................................................


Changed prefs to not automatically watch created pages

Change-Id: Id8db80253005c16702cb56bf3f46aa4e7f32d1d4
---
M tests/browser/features/page.feature
M tests/browser/features/step_definitions/page_steps.rb
2 files changed, 6 insertions(+), 6 deletions(-)

Approvals:
  Cmcmahon: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/browser/features/page.feature 
b/tests/browser/features/page.feature
index 2c5fad4..9e67e28 100644
--- a/tests/browser/features/page.feature
+++ b/tests/browser/features/page.feature
@@ -43,8 +43,8 @@
       And page text should be there
       And Discussion link should be there
       And Edit link should be there
-      And unwatch element should be there
-      And watch element should not be there
+      And watch element should be there
+      And unwatch element should not be there
 
   @internet_explorer_6
   Scenario: Move existing page dialog
diff --git a/tests/browser/features/step_definitions/page_steps.rb 
b/tests/browser/features/step_definitions/page_steps.rb
index 4b00598..861360b 100644
--- a/tests/browser/features/step_definitions/page_steps.rb
+++ b/tests/browser/features/step_definitions/page_steps.rb
@@ -147,10 +147,10 @@
   end
 end
 
-Then(/^unwatch element should be there$/) do
-  on(ArticlePage).unwatch_element.when_present.should be_visible
+Then(/^watch element should be there$/) do
+  on(ArticlePage).watch_element.when_present.should be_visible
 end
 
-Then(/^watch element should not be there$/) do
-  on(ArticlePage).watch_element.should_not be_visible
+Then(/^unwatch element should not be there$/) do
+  on(ArticlePage).unwatch_element.should_not be_visible
 end

-- 
To view, visit https://gerrit.wikimedia.org/r/123876
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id8db80253005c16702cb56bf3f46aa4e7f32d1d4
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>
Gerrit-Reviewer: Cmcmahon <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to