Files
mozo-backend/spec/acceptance/suppliers/employees.feature
T
2015-02-24 13:43:44 +01:00

14 lines
643 B
Gherkin

Feature: Manage employees
@javascript
Scenario: a just signed up manager can manage employees
Given there is a confirmed and open supplier
And there is an other employee
And I am signed in as supplier
When the supplier employee visits the 'employees' path
And the supplier employee clicks on the other employee table edit button
And the supplier emloyee sets the 'name' to 'Edited employee'
And the supplier emloyee clicks the active switch to deactivate the employee
And the supplier employee clicks the confirm modal button
Then the other employee should no longer be active for the current supplier