Rachel99 has uploaded a new change for review. https://gerrit.wikimedia.org/r/69128
Change subject: add ve_refs check - not finished. ...................................................................... add ve_refs check - not finished. Change-Id: Ic6baa90772f41bea25c1940243ad56e535d6a7b7 --- A features/step_definitions/visualeditor_refs_steps.rb A features/visualeditor_references.feature 2 files changed, 38 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests refs/changes/28/69128/1 diff --git a/features/step_definitions/visualeditor_refs_steps.rb b/features/step_definitions/visualeditor_refs_steps.rb new file mode 100644 index 0000000..3a72607 --- /dev/null +++ b/features/step_definitions/visualeditor_refs_steps.rb @@ -0,0 +1,27 @@ +When(/^I click Edit for VisualEditor$/) do + pending # express the regexp above with the code you wish you had +end + +When(/^I click Reference$/) do + pending # express the regexp above with the code you wish you had +end + +Given(/^I can see the References User Interface$/) do + pending # express the regexp above with the code you wish you had +end + +When(/^I enter THIS IS CONTENT into Content box$/) do + pending # express the regexp above with the code you wish you had +end + +When(/^I enter THIS IS NAME into Name box$/) do + pending # express the regexp above with the code you wish you had +end + +When(/^I click Apply Changes$/) do + pending # express the regexp above with the code you wish you had +end + +Then(/^I should see a reference link showing \[(\d+)\]$/) do |arg1| + pending # express the regexp above with the code you wish you had +end \ No newline at end of file diff --git a/features/visualeditor_references.feature b/features/visualeditor_references.feature new file mode 100644 index 0000000..e5871e3 --- /dev/null +++ b/features/visualeditor_references.feature @@ -0,0 +1,11 @@ +Feature: VisualEditor References + Background: + Given I am logged in + When I click Edit for VisualEditor + And I click Reference + Scenario: Type into boxes + Given I can see the References User Interface + When I enter THIS IS CONTENT into Content box + And I enter THIS IS NAME into Name box + And I click Apply Changes + Then I should see a reference link showing [1] -- To view, visit https://gerrit.wikimedia.org/r/69128 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ic6baa90772f41bea25c1940243ad56e535d6a7b7 Gerrit-PatchSet: 1 Gerrit-Project: qa/browsertests Gerrit-Branch: master Gerrit-Owner: Rachel99 <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
