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

Change subject: QA: Add a test that does not run in the build yet.
......................................................................


QA: Add a test that does not run in the build yet.

Merge this in order to pick up the fix from the Nearby
work that causes tests with more than one scenario
to have no profile past the first scenario, and
prevents launching Chrome

This test has no target environment, no steps file yet,
and no pages created.  It is a no-op, but without the
Nearby fix it is difficult to run locally

Change-Id: Ie87ed90fa526fb7e98a5bd37ed6e8d549c26e2ed
---
A tests/browser/features/create_account_failure_messages.feature
1 file changed, 21 insertions(+), 0 deletions(-)

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



diff --git a/tests/browser/features/create_account_failure_messages.feature 
b/tests/browser/features/create_account_failure_messages.feature
new file mode 100644
index 0000000..0b95e2a
--- /dev/null
+++ b/tests/browser/features/create_account_failure_messages.feature
@@ -0,0 +1,21 @@
+
+Feature: Create failure messages
+
+  Scenario: Create account password mismatch message
+    Given that I am on the Create account page
+      And I type thisisuser into Username field
+      And I type thisisgoodpassword into Password field
+      And I type thisisbadpassword into Confirm password field
+      And I click Sign up
+    Then I should see the message Whoops
+      And I should see the message The passwords you entered do not match
+
+  Scenario: Create account mistype captcha message
+    Given that I am on the Create account page
+      And I type thisisuser into Username field
+      And I type thisisgoodpassword into Password field
+      And I type thisisgoodpassword into Confirm password field
+      And I type abcdefghijklmnop into Enter confirmation code field
+      And I click Sign up
+    Then I should see the message Whoops
+      And I should see the message Incorrect or missing CAPTCHA

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie87ed90fa526fb7e98a5bd37ed6e8d549c26e2ed
Gerrit-PatchSet: 9
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Cmcmahon <cmcma...@wikimedia.org>
Gerrit-Reviewer: Awjrichards <aricha...@wikimedia.org>
Gerrit-Reviewer: Cmcmahon <cmcma...@wikimedia.org>
Gerrit-Reviewer: JGonera <jgon...@wikimedia.org>
Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org>
Gerrit-Reviewer: Jhall <jh...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to