From 45249bdc3af87317c2cfd5aa105eed629f3270ed Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Sun, 26 Dec 2021 16:41:58 +0200
Subject: [PATCH] Issue #3255633: Switch default Automated Functional Testing
 users creation to use drush user:create and drush user:role:add and use the
 default manual testing user names and emails

---
 .../02-01-request-new-password.feature                   | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/tests/features/varbase/02-user-management/02-01-request-new-password.feature b/tests/features/varbase/02-user-management/02-01-request-new-password.feature
index 880c0d97..12456357 100644
--- a/tests/features/varbase/02-user-management/02-01-request-new-password.feature
+++ b/tests/features/varbase/02-user-management/02-01-request-new-password.feature
@@ -17,14 +17,9 @@ So that I can reset my password for the account
      When I go to "/user/password"
       And I wait 6s
      Then I should see "Username or email address"
-     When I fill in "not.existing.email@vardot.com" for "Username"
+     When I fill in "not.existing.email@vardot.com" for "Username or email address"
       And I scroll to the bottom
       And I wait 2s
       And I press the "Submit" button
       And I wait
-      And I scroll to the bottom
-      And I fill in "not.existing.email@vardot.com" for "Username"
-      And I wait 8 seconds
-      And I press the "Submit" button
-      And I wait
-     Then I should see "Login with"
+     Then I should see "If the username or email address exists and is active, further instructions have been sent to your email address."
-- 
GitLab