Fix signed in employee adding supplier functionality

This commit is contained in:
2015-02-24 18:07:44 +01:00
parent cb723ea432
commit db72cd06aa
5 changed files with 18 additions and 3 deletions
+10 -1
View File
@@ -19,7 +19,16 @@ Feature: A supplier can sign up
Then a new supplier with the existing employee should be created
And the supplier should be redirected to the supplier '/pages/introduction' path
@javascript
Scenario: Existing signed in employee creates new supplier
Given there is a confirmed and open supplier
And I am signed in as supplier
When I visit the supplier signup path
And fill in the supplier signup form with a new supplier name
And click on the supplier signup submit button
And I wait 1 second
Then a new supplier with the existing employee should be created
And the supplier should be redirected to the supplier '/pages/introduction' path
#Scenarios
#- non existing non signed in employee
#- existing non signed in employee