Cmcmahon has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/173020

Change subject: [BrowserTest] minor updates for hygiene, no functional changes
......................................................................

[BrowserTest] minor updates for hygiene, no functional changes

Change-Id: I3d8ca33bd850caeb44b8e8e8017f2fa302676b1a
---
M modules/ve-mw/tests/browser/features/step_definitions/general_markup_steps.rb
1 file changed, 14 insertions(+), 14 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor 
refs/changes/20/173020/1

diff --git 
a/modules/ve-mw/tests/browser/features/step_definitions/general_markup_steps.rb 
b/modules/ve-mw/tests/browser/features/step_definitions/general_markup_steps.rb
index 872150b..e191ef1 100644
--- 
a/modules/ve-mw/tests/browser/features/step_definitions/general_markup_steps.rb
+++ 
b/modules/ve-mw/tests/browser/features/step_definitions/general_markup_steps.rb
@@ -1,16 +1,8 @@
-When(/^I click the More option$/) do
-  on(VisualEditorPage).ve_more_markup_options_element.when_present(15).click
-end
-
-When(/^I click the text style menu$/) do
-  on(VisualEditorPage).ve_text_style_element.when_present(15).click
-end
-
-And(/^I click the Bold menu option$/) do
+When(/^I click the Bold menu option$/) do
   on(VisualEditorPage).ve_bold_text_element.when_present(15).click
 end
 
-And(/^I click the Computer Code menu option$/) do
+When(/^I click the Computer Code menu option$/) do
   on(VisualEditorPage).ve_computer_code_element.when_present(15).click
 end
 
@@ -18,18 +10,26 @@
   on(VisualEditorPage).ve_italics_element.when_present(15).click
 end
 
-And(/^I click the Strikethrough menu option$/) do
+When(/^I click the More option$/) do
+  on(VisualEditorPage).ve_more_markup_options_element.when_present(15).click
+end
+
+When(/^I click the Strikethrough menu option$/) do
   on(VisualEditorPage).ve_strikethrough_element.when_present(15).click
 end
 
-And(/^I click the Subscript menu option$/) do
+When(/^I click the Subscript menu option$/) do
   on(VisualEditorPage).ve_subscript_element.when_present(15).click
 end
 
-And(/^I click the Superscript menu option$/) do
+When(/^I click the Superscript menu option$/) do
   on(VisualEditorPage).ve_superscript_element.when_present(15).click
 end
 
-And(/^I click the Underline menu option$/) do
+When(/^I click the text style menu$/) do
+  on(VisualEditorPage).ve_text_style_element.when_present(15).click
+end
+
+When(/^I click the Underline menu option$/) do
   on(VisualEditorPage).ve_underline_element.when_present(15).click
 end

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d8ca33bd850caeb44b8e8e8017f2fa302676b1a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/VisualEditor
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <[email protected]>

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

Reply via email to