Security update for permissions_by_term
[yaffs-website] / vendor / drupal / drupal-extension / features / messages.feature
diff --git a/vendor/drupal/drupal-extension/features/messages.feature b/vendor/drupal/drupal-extension/features/messages.feature
new file mode 100644 (file)
index 0000000..802bbd7
--- /dev/null
@@ -0,0 +1,19 @@
+@api @d8
+Feature: Ensure that messages are working properly on local installs
+  In order to be sure that Drupal 8 with Big Pipe enabled can be tested
+  Messages are tested against a local installation
+
+  Scenario: Non-JS messages
+    Given I am on "/user/login"
+    When I fill in "a fake user" for "Username"
+    And I fill in "a fake password" for "Password"
+    When I press "Log in"
+    Then I should see the error message "Unrecognized username or password"
+
+  @javascript
+  Scenario: JS messages
+    Given I am on "/user/login"
+    When I fill in "a fake user" for "Username"
+    And I fill in "a fake password" for "Password"
+    When I press "Log in"
+    Then I should see the error message "Unrecognized username or password"