diaspora/features/desktop/logs_in_and_out.feature
2013-08-27 10:59:44 -03:00

13 lines
398 B
Gherkin

@javascript
Feature: user authentication
Scenario: user logs in
Given a user with username "ohai" and password "secret"
When I sign in manually as "ohai" with password "secret"
Then I should be on the stream page
Scenario: user logs out
Given I am signed in
And I click on my name in the header
And I follow "Log out"
Then I should be on the new user session page