Zfilipin has submitted this change and it was merged.

Change subject: Maintenance: text "Okay" changed to "Next"
......................................................................


Maintenance: text "Okay" changed to "Next"

Change-Id: Ib27f8ae94d5e30b33f3cda9d5fe19f03d5ff8e24
---
M features/guided_tour.feature
M features/step_definitions/guided_tour_steps.rb
M features/support/pages/tour_page.rb
3 files changed, 5 insertions(+), 5 deletions(-)

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



diff --git a/features/guided_tour.feature b/features/guided_tour.feature
index 29589ae..2d7fbbc 100644
--- a/features/guided_tour.feature
+++ b/features/guided_tour.feature
@@ -8,7 +8,7 @@
 
   Scenario: Check for Click Edit guider
     Given I am on a page with Ready to Help guider
-    When I click Okay
+    When I click Next
     Then I should see a Click Edit guider
 
   Scenario: Check for Preview guider
diff --git a/features/step_definitions/guided_tour_steps.rb 
b/features/step_definitions/guided_tour_steps.rb
index af81cd5..3e2d519 100644
--- a/features/step_definitions/guided_tour_steps.rb
+++ b/features/step_definitions/guided_tour_steps.rb
@@ -11,8 +11,8 @@
   step 'I append ?tour=gettingstarted to the page URL'
 end
 
-When /^I click Okay$/ do
-  on(TourPage).okay_element.when_present.click
+When /^I click Next$/ do
+  on(TourPage).next_element.when_present.click
 end
 
 Then /^I should see a Click Edit guider$/ do
@@ -21,7 +21,7 @@
 
 Given /^I am on a page with Click Edit guider$/ do
   step 'I am on a page with Ready to Help guider'
-  step 'I click Okay'
+  step 'I click Next'
 end
 
 When /^I click the Edit link on the wiki page$/ do
diff --git a/features/support/pages/tour_page.rb 
b/features/support/pages/tour_page.rb
index 51f2714..7cec7ac 100644
--- a/features/support/pages/tour_page.rb
+++ b/features/support/pages/tour_page.rb
@@ -7,7 +7,7 @@
   div(:guider4, id: 'gt-gettingstarted-4')
   div(:guider5, id: 'gt-gettingstarted-5')
   a(:edit, text: 'Edit')
-  a(:okay, text: 'Okay')
+  a(:next, text: 'Next')
   button(:preview, id: 'wpPreview')
   button(:submit_changes, id: "wpSave")
   text_field(:text, id: "wpTextbox1")

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

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

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

Reply via email to