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 supplier with the new signup data should be created And the supplier should be redirected to the supplier '/pages/introduction' path @javascript Scenario: Existing non signed-in employee creates new supplier Given there is a confirmed employee When I visit the supplier signup path And fill in the supplier signup form with existing employee credentials 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 @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 #- existing signed in emloyee #- Supplier name exist for existing employee