Logo: Relish

  1. Sign in

Project: relish

Reset password

As a Relish user
I want to reset my password

Scenarios
User enters incorrect email
Given
I am signed up as "[email protected]/password"
When
I go to the sign in page
And
request a password reset for the wrong email
Then
I should see "Email not found"
And
I should be on the reset password page
User enters correct email
Given
I am signed up as "[email protected]/password"
When
I go to the sign in page
And
request a password reset
Then
I should see "Instructions on how to reset your password have been emailed to you"
And
I should be on the sign in page
User receives reset password email
Given
I am signed up as "[email protected]/password"
When
I go to the sign in page
And
request a password reset
Then
"[email protected]" should receive an email with subject "password"
When
I open the email with subject "password"
Then
I should see the email delivered from "[email protected]"
Then
I should see "Reset password instructions" in the email subject
And
I should see "[email protected]" in the email body
And
I should see "Change my password" in the email body
When
I click the first link in the email
And
I fill in a new password
Then
I should see "Your password was changed successfully. You are now signed in."

Last published about 4 years ago by mattwynne.