Spec employees
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user