X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fdrupal-extension%2Ffeatures%2Fmessages.feature;fp=vendor%2Fdrupal%2Fdrupal-extension%2Ffeatures%2Fmessages.feature;h=802bbd7d0f316457050b59eb87111e718979eb14;hp=0000000000000000000000000000000000000000;hb=1270d9129ce8f27c9b28b10518e32132c58e0aca;hpb=c27c0f0cdaa3f354b1fe54a56ae7e854be6e3f68 diff --git a/vendor/drupal/drupal-extension/features/messages.feature b/vendor/drupal/drupal-extension/features/messages.feature new file mode 100644 index 000000000..802bbd7d0 --- /dev/null +++ b/vendor/drupal/drupal-extension/features/messages.feature @@ -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"