Improve supplier settings logick

This commit is contained in:
2014-10-06 10:20:13 +02:00
parent a23760965e
commit ca0bf64568
11 changed files with 46 additions and 9 deletions
+4 -2
View File
@@ -1,11 +1,13 @@
Feature: A supplier can sign up
@javascript
Scenario: It works
When I visit the supplier signup path
And fill in the supplier signup form with new credentials
And click on the supplier signup submit button
And I wait 1 second
Then a new unconfirmed supplier with the new signup credentials should be created
And a supplier signup confirmation mail should be sent containing a link to the token
When I visit the supplier signup confirmation path with the correct token
Then the new signup supplier should be confirmed
And I should be redirected to the supplier settings page
And the supplier should be redirected to the supplier settings path