Logo: Relish

  1. Sign in

Project: Medlink

Change Password

In order to changed your password on the site
A user
Should be able to have a way to change their passwords

Background
Given
the default user exists
Scenarios
User gives wrong current password
And
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I give invalid password
Then
I should see an invalid current password message
Examples:
role
pcv
pcmo
admin
User's password and confirmation are not equal
And
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I give mismatched passwords
Then
I should see a mismatched password message
Examples:
role
pcv
pcmo
admin
Tag L/K: User give empty current password
And
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I give blank password
Then
I should see an blank current password message
Examples:
role
pcv
pcmo
admin
Tag L/K: User gives too short a password
And
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I give too short new password
Then
I should see a too short password message
Examples:
role
pcv
pcmo
admin
P2: User successfully changes their password
And
I am an "role"
And
I am not logged in
When
I sign in with valid credentials
Then
I see a successful sign in message
When
I give valid password inputs
Then
I should see an account edited message
Examples:
role
pcv
pcmo
admin

Last published about 7 years ago by jasnow.