Support form validation error for non signed in existing employee

This commit is contained in:
2015-02-24 18:25:46 +01:00
parent fd871639b9
commit 6a47ecb0eb
3 changed files with 13 additions and 3 deletions
+9
View File
@@ -38,6 +38,15 @@ Feature: A supplier can sign up
And fill in the supplier signup form with an existing supplier name
And click on the supplier signup submit button
Then the new supplier signup for should have an error on 'supplier_name'
@javascript
Scenario: Existing non signed in employee creates existing supplier name
Given there is a confirmed and open supplier
When I visit the supplier signup path
And fill in the supplier signup form with existing employee credentials
And fill in the supplier signup form with an existing supplier name
And click on the supplier signup submit button
Then the new supplier signup for should have an error on 'supplier_name'
#Scenarios
#- non existing non signed in employee
#- existing non signed in employee