Logo: Relish

  1. Sign in

Project: Console

Reset Password

  • @dxpcloud
Scenarios
Given
I sign in to DXP Cloud
And
I go to my account "Profile" page
When
I click the "Change Password" link
Then
I should be at url ending with "/password/reset"
And
I should see the text "Reset Password"
View validation message when email is blank
Given
I visit "/password/reset"
When
I clear the "Email" input field
And
I click the "Send Reset Instructions" button
Then
I should see the validation message
This field is required
View validation message when email is invalid
*
I visit "/password/reset"
*
I enter "test" into the "Email" input field
*
I should see the validation message
Please include an @ in the email address
*
I enter "[email protected]" into the "Email" input field
*
I should see the validation message
Please enter a part following @
*
I enter "[email protected]" into the "Email" input field
*
I should see the validation message
The provided email is not valid
*
I click the "Send Reset Instructions" button
*
I should see the validation message
The provided email is not valid
*
I should not see the text "An email with instructions"
*
I enter "[email protected]" into the "Email" input field
*
I should not see any validation messages
View validation message when password field is blank
Given
I am on the Change Password page
When
I clear the "New Password" input field
And
I enter "[email protected]" into the "Confirm New Password" input field
And
I click the "Change Password" button
Then
I should see the validation message
Please enter password
View validation message when passwords don't match
Given
I am on the Change Password page
When
I enter "[email protected]" into the "New Password" input field
And
I enter "[email protected]" into the "Confirm New Password" input field
And
I click the "Change Password" button
Then
I should see the error message
Passwords do not match
*
I visit "/login"
*
I click the "Forgot your password?" link
*
I should be at url ending with "/password/reset"
*
I should see the text "Reset Password"
*
I enter "{test user}" into the Email field
*
I click the "Send Reset Instructions" button
*
I should see the text "An email with instructions on how to reset"
*
I click the Reset Password link in the email
*
I should see the text "Change Password"
*
I enter "[email protected]" into the "New Password" input field
*
I enter "[email protected]" into the "Confirm New Password" input field
*
I click the "Change Password" button
*
I should be at url ending with "/projects"
*
I should get an email with subject
Reset Password Confirmation
*
I sign out
*
I enter "{test user}" into the Email field
*
I enter "[email protected]" into the "Password" input field
*
I click the "Log in" button
*
I should see the error message
The provided credentials are invalid.
*
I enter "{test user}" into the Email field
*
I enter "[email protected]" into the "Password" input field
*
I click the "Log in" button
*
I should be at url ending with "/projects"

Last published 10 months ago by Christie Yoo.