/
02-01-request-new-password.feature
28 lines (25 loc) · 1.17 KB
/
02-01-request-new-password.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Feature: User Management - Standard User Management - Request new password
As a user with a ready user account
I will want to be able to Request new password
So that I can reset my password for the account
Background:
Given I am not logged in
@local @development @staging @production
Scenario: Check that an anonymous user can reset his/her password.
When I go to "/user/login"
And I wait
Then I should see "Forgot your password?"
@javascript @local @development @staging @production
Scenario: Verify that the system cannot send an email to non-existing users/emails.
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
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 wait 7s
And I press the "Submit" button
And I wait
Then I should see "Further instructions have been sent to your e-mail address."