add failing spec
This commit is contained in:
@@ -3,7 +3,7 @@ Feature: Sign up as user using facebook
|
||||
|
||||
@javascript
|
||||
Scenario: Happy flow
|
||||
Given There is no user information stored in the local storage
|
||||
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
|
||||
When I wait 4 seconds
|
||||
@@ -28,5 +28,13 @@ Feature: Sign up as user using facebook
|
||||
And I wait 4 seconds
|
||||
Then the newly created user info should be stored in the local storage
|
||||
|
||||
@javascipt
|
||||
Scenario: Authenciation when there is a list already active
|
||||
Given there is a confirmed and open supplier
|
||||
And there is a user
|
||||
And the user has an active order
|
||||
When the user authenticates with facebook
|
||||
Then the user should be redirected to the active list page
|
||||
|
||||
Scenario: Facebook problem OmniAuth.config.mock_auth[:facebook] = :invalid_credentials
|
||||
Scenario: Valid facebook login, but declines information requested by scope
|
||||
|
||||
Reference in New Issue
Block a user