Logo: Relish

  1. Sign in

Project: Login

Login

User can login into the portal using his credentials (Username and Password)
Manage cookies for language and session.

Background
Given
Tony Stark navigates to the login page
Scenarios
Validation is applied to the login page
Then
Tony Stark has the following validation applied in the login form
field type
email mandatory
password mandatory
A user tries to login with incorrect credentials
When
Tony Stark enters 'email' in the email field
And
Tony Stark enters 'password' in the password field
And
Tony Stark clicks on 'Login'
Then
Tony Stark should be redirected to the login page
And
the following info should be logged: 'unable to authenticate user: email'
Examples:
email password
wrong_email Pa55word_1
[email protected] wrong_password
Log into the portal
When
Tony Stark enters '[email protected]' in the email field
And
Tony Stark enters 'Pa55word_1' in the password field
And
Tony Stark clicks on 'Login'
Then
Tony Stark should see 'Home Page'
And
Tony Stark should have the 'session' cookie
And
Tony Stark should have the 'language' cookie
And
the following info should be logged: '[email protected] successfully logged in'
valid email
Given
Obadiah Stane navigates to the login page
And
Obadiah Stane clicks on 'forgot password'
And
Obadiah Stane is on the forgot password request page
When
Obadiah Stane enters '[email protected]' in the email field
And
Obadiah Stane clicks on 'continue'
Then
Obadiah Stane should see 'Check your e-mail'

Last published about 5 years ago by John James.