Logo: Relish

  1. Sign in

Project: Dexterous

Login facility

A user should be able to login from home page or from a dedicated login
page

Scenarios
Home page with javascript disabled
When
user visits home page
Then
login link should be present
When
login link is clicked
Then
user should be directed to dedicated login page
  • @javascript
Home page with javascript enabled
Given
a user account with email "[email protected]" and password "password" exists
When
user visits home page
Then
login link should be present
When
login link is clicked
Then
a popup should appear
When
user enters login credentials as "[email protected]" and "password"
And
user clicks on submit button in login form
Then
page should show message "Signed in successfully."
Dedicated login page
Given
a user account with email "[email protected]" and password "password" exists
When
user visits login page
Then
Login form should be present
When
user enters login credentials as "[email protected]" and "password"
And
user clicks on submit button in login form
Then
user should be directed to dashboard
And
page should show message "Signed in successfully."

Last published over 4 years ago by Lorefnon.