From 52c9729ceb6f13cb4262691e1a0588c5a7550402 Mon Sep 17 00:00:00 2001
From: Rajab Natshah <rajabn@gmail.com>
Date: Mon, 1 Jun 2020 16:24:41 +0300
Subject: [PATCH] Issue #3138611: Fix user request new password feature

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

diff --git a/tests/features/varbase/step2-apply-tests/02-user-management/02-01-request-new-password.feature b/tests/features/varbase/step2-apply-tests/02-user-management/02-01-request-new-password.feature
index 740f64e1..38a0fd75 100644
--- a/tests/features/varbase/step2-apply-tests/02-user-management/02-01-request-new-password.feature
+++ b/tests/features/varbase/step2-apply-tests/02-user-management/02-01-request-new-password.feature
@@ -17,12 +17,11 @@ So that I can reset my password for the account
      When I go to "/user/password"
       And I wait
      Then I should see "Username or email address"
-     When I fill in "not.existing.email@vardot.com" for "Username or email address"
-      And I press the "Submit" button
+     When I fill in "not.existing.email@vardot.com" for "Username"
+      And I press the "edit-submit" button
       And I wait
-     Then I should see "There was a problem with your form submission. Please wait 6 seconds and try again."
-     When I fill in "not.existing.email@vardot.com" for "Username or email address"
+      And I fill in "not.existing.email@vardot.com" for "Username"
       And I wait 8 seconds
-      And I press the "Submit" button
+      And I press the "edit-submit" button
       And I wait
      Then I should see "Login with"
-- 
GitLab