Logo: Relish

  1. Sign in

Project: Ppp

Logging in and logging out

In order to access some portions of the site
As a registered user
I want to be able to log in and log out of the site

Scenarios
Log in via user name and password
Given
the following users exists
first_name last_name email password password_confirmation
Bob Test [email protected] password password
When
I go to the root page
When
I follow "Sign in"
And
I fill in "Email" with "[email protected]"
And
I fill in "Password" with "password"
And
I press "Sign in"
Then
I should see "Hello Bob Test"
And
I should see "Login successful."
Log out
Given
a logged in user exists
When
I follow "Sign out"
Then
I should see "Signed out successfully."
Try to view pairing sessions page when not logged in
Given
I am on the root page
When
I go to the pairing sessions page
Then
I should be on the new user session page
Log in via Twitter if I am new to the site and not logged into Twitter

This scenario does not have any steps.

Log in via Twitter if I am new to the site and I am logged into Twitter

This scenario does not have any steps.

Log in via Twitter if I have an existing account

This scenario does not have any steps.


Last published about 5 years ago by MikeG.