Logo: Relish

  1. Sign in

Project: Hp-test-automation

Home page forgotten password

  • @forgotten_password
  • @desktop

As a desktop customer
I would like the ability to reset my password in the event of forgetting my log in details
So that I can still buy products from the site

Background visiting the forgotten your password page
Given
I am on home page "url"
When
I navigate to "Sign in to Photobox" page
And
I click 'Forgot password' link
Then
I should navigate to page where page title display as Forgotten your password
Scenarios
  • @scenario4
Authorized user request for Forgotten password
And
I enter valid authorized email
When
I click on resend password button
Then
I should receive reset password link by email form photobox
And
I am able to reset new password with the link provided
When
I enter email with wrong password it shows an validation error message
email wrong_password validation_error_message
[email protected] 123 Incorrect email or password. Please try again.
[email protected] old password Incorrect email or password. Please try again.
Then
I should stay on sign in page
When
I enter new password on sign in page
Then
I should able to login successfully
Invalid email id on Forgotten your password page
When
I enter invalid email it shows an validation error message
invald_email email_error_message
Please type a valid email address
test.com Please type a valid email address
123.co.uk Please type a valid email address
[email protected] Please type a valid email address
[email protected] Please type a valid email address
Then
it should stay on same page
When
I click on back button on forgotten your password page
Then
I should navigate to homepage without sign-in
messages on forgotten page
And
the page contains the following top message
Just type in your email address below and a password reset email will be sent to your email address if it exists in our database.
And
the page contains the following footer message
Add [email protected] to your 'approved senders' list to ensure the email is not blocked. Find out more.
When
I click on 'Find out more' link on footer
Then
I should navigate to customer help and support page

Last published almost 4 years ago by naresh.