Logo: Relish

  1. Sign in

Project: Lombard

User signs in from home page

In order to manage my applicants
As a registered user
I want to sign into my account

  • Front page displays sign in form
  • Valid email and password sign in user
  • Invalid combination displays error
  • Welcome message is displayed
Background
Given
the following users:
email password password_confirmation
[email protected] password password
And
I am on the home page
When
I fill in "Email" with "[email protected]"
Scenarios
success
When
I fill in "Password" with "password"
And
I press "Sign in"
Then
I should see "Sign out"
failure
When
I fill in "Password" with ""
And
I press "Sign in"
Then
I should be on the signin page
And
I should see "Invalid email or password"
dont see signin form on home page when already signed in
Then
I should see "Sign In"
When
I fill in "Password" with "password"
And
I press "Sign in"
And
I am on the home page
Then
I should not see "Sign In"

Last published over 5 years ago by wminsinger.