Logo: Relish

  1. Sign in

Project: Tasklets

Session handling

In order to use the site
As a registered user
I need to be able to login and logout

Background
Given
that a confirmed user exists
Scenarios
Logging in
Given
I am on the sign in page
When
I fill in "user_email" with "email"
And
I fill in "user_password" with "password"
And
I press "Sign in"
Then
I should action
Examples:
email password action
[email protected] test1234 see "Signed in successfully"
[email protected] password see "Invalid email or password"
Logging out
Given
I am signed in
When
I go to the sign out link
Then
I should see "Signed out successfully"

Last published over 4 years ago by doolin.