Logo: Relish

  1. Sign in

Project: Hp-test-automation

Home page forgotten password on mobile browsers

  • @mobile

As a mobile 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 on mobile device
Given
I am on home page "url" on mobile device
When
I navigate to "Sign in to Photobox" page on mobile device
And
I click 'Forgot password' link on mobile device
Then
I should navigate to page where page title display as Forgotten your password on mobile device
Scenarios
Authorized user request for Forgotten password on mobile device
And
I enter valid authorized email on mobile device
When
I click on resend password button on mobile device
Then
I should receive reset email form photobox on mobile device
And
I am able to reset new password on mobile device
When
I enter new password on sign in page on mobile device
Then
I should able to login successfully on mobile device
Invalid email id on Forgotten your password page on mobile device
When
I enter invalid email it shows an validation error message on mobile device
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 on mobile device
no back button on forgotten your password page on mobile device
And
I should not see back button on mobile device
messages on forgotten page on mobile device
And
the page contains the following top message on mobile device
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 fotter message
Add [email protected] to your 'approved senders' list to ensure the email is not blocked.
When
I click on 'Find out more' link on footer on mobile device
Then
I should navigate to customer help and support page on mobile device

Last published almost 4 years ago by naresh.