Files
mozo-backend/spec/acceptance/users/sign_up_with_facebook.feature
T
2013-11-06 15:58:23 +01:00

19 lines
677 B
Gherkin

Feature: Sign up as user using facebook
@javascript
Scenario: Happy flow
Given There is no user information stored in the local storage
When I visit the user obtain token path
Then I should be signed in as a user through facebook
And I wait 4 seconds
And I should be redirected to the user home
And the newly created user info should be stored in the local storage
@javascript
Scenario: Already signed in user visits obtain token path
Given I am signed in as a user
When I visit '/user'
And I wait 4 seconds
Then I should be redirected to the user home
And the newly created user info should be stored in the local storage