Many supplier features and style upgrades and fixes
This commit is contained in:
@@ -8,7 +8,7 @@ Feature: Manage employees
|
||||
And I click on selector '.new-employee-button'
|
||||
And the supplier emloyee sets the 'name' to 'New employee' in the employee popup
|
||||
And the supplier emloyee sets the 'email' to 'new-employee@example.com' in the employee popup
|
||||
And I click on selector '.form-row.manager .switch'
|
||||
And I click on selector '.form-row.manager label'
|
||||
And I click on selector '.modal-confirm'
|
||||
And I wait 1 second
|
||||
Then the new employee should be added to the supplier
|
||||
@@ -23,14 +23,14 @@ Feature: Manage employees
|
||||
And I click on selector '.new-employee-button'
|
||||
And the supplier emloyee sets the 'name' to 'Existing employee' in the employee popup
|
||||
And the supplier emloyee sets the 'email' to 'existing-employee@example.com' in the employee popup
|
||||
And I click on selector '.form-row.manager .switch'
|
||||
And I click on selector '.form-row.manager label'
|
||||
And I click on selector '.modal-confirm'
|
||||
And the supplier employee clicks on the existing employee table destroy button
|
||||
And I click on selector '.modal-confirm'
|
||||
And I click on selector '.new-employee-button'
|
||||
And the supplier emloyee sets the 'name' to 'Existing employee readded' in the employee popup
|
||||
And the supplier emloyee sets the 'email' to 'existing-employee@example.com' in the employee popup
|
||||
And I click on selector '.form-row.active .switch'
|
||||
And I click on selector '.form-row.active label'
|
||||
And I click on selector '.modal-confirm'
|
||||
And I wait 1 second
|
||||
Then the new employee should be re-added to the supplier as non manager non active
|
||||
|
||||
@@ -19,3 +19,6 @@ Feature: Adding product category
|
||||
#And the supplier clicks on the tuesday and wednesday buttons selecting wednesday as active day
|
||||
#And the supplier submits the product category form
|
||||
#Then the the product category is active on wednesday and only linked to the last product
|
||||
|
||||
#@javascript
|
||||
#Scenario: Setting a day for which the product category is active from false to true
|
||||
|
||||
Reference in New Issue
Block a user