Logo: Relish

  1. Sign in

Project: Icepak annual_plans

Login

  • @javascript
  • @login
Scenarios
Login fails
Given
I go to the Login page
And
I fill in "username" with "badlogin"
And
I fill in "password" with "badpass"
And
I press "Connect"
Then
I should see "invalid_credentials"
Login succeeds
Given
I go to the Login page
And
I fill in "username" with "[email protected]"
And
I fill in "password" with "password"
And
I press "Connect"
And
I should be on the Subscribers page
And
I should see "Logged in successfully"
Logout
Given
I am on the Login page
And
I fill in "username" with "[email protected]"
And
I fill in "password" with "password"
And
I press "Connect"
And
I should see "Logged in successfully"
And
I click "Logout"
Then
I should be on the Login page
And
I go to the Subscribers page
Then
I should be on the Login page
Authentication is required to access any pages
Given
I go to the Subscribers page
Then
I should be on the Login page

Last published almost 5 years ago by Edan Rosenberg.