Logo: Relish

  1. Sign in

Project: Monty

My Account -> change password

  • @MyAccount
  • @ChangePassword

As a customer,
I would like the option to change my user password
So that I can ensure it's secure, up to date, and I can remember it.

MON-38: Change Password

Background
Given
the set up is done
Scenarios
  • @MON-38
1. The user is directed to Change password page by selecting change password option in the My Account page
Given
I log in with [email protected] and password password1
When
I go to the Change Password page
Then
I see the change password form
  • @MON-38
  • @Broken
2. User is able to change password successfully
Given
I log in with [email protected] and password password1
And
I go to the Change Password page
When
I change my current password
Then
I see a success message on the change password page
  • @MON-38
3. User is prompted with mismatch in new password and confirm new password message
Given
I log in with [email protected] and password password1
And
I go to the Change Password page
When
I enter unequal values for my new password
Then
I see an error message outlining the unequal values
  • @MON-38
4. The user is prompted with an incorrect current password message
Given
I log in with [email protected] and password password1
And
I go to the Change Password page
When
I enter an incorrect current password into the change password form
Then
I see an error showing that the current password is incorrect
  • @MON-38
5. The user is prompted with message if password is not long enough
Given
I log in with [email protected] and password password1
And
I go to the Change Password page
When
I enter a new password that is too short
Then
I see an error showing that my new password must be at least 6 characters
  • @MON-38
6. User is not allowed to have the same current password for new password
Given
I log in with [email protected] and password password1
And
I go to the Change Password page
When
I enter my current password into the new password field
Then
I see an error showing that my new password cannot be the same as my old password
  • @MON-38
7. User is not allowed to have the same username and password at the time of change password
Given
I log in with [email protected] and password password1
And
I go to the Change Password page
When
I enter my email [email protected] into the new password
Then
I see an error showing that my new password cannot be the same as my username

Last published about 4 years ago by keith ford.