User cancelled order handling
This commit is contained in:
@@ -10,3 +10,25 @@ Feature: Active list view
|
||||
And the user opens the side menu again
|
||||
And the user clicks on the active list link in the side menu
|
||||
Then the user should see the order in the active list view
|
||||
|
||||
@javascript
|
||||
Scenario: Order disappears and counter adjusts when a placed order is cancelled
|
||||
Given There is an open supplier with a menu
|
||||
And there is a signed in user with a placed order
|
||||
And the user is on the active list page
|
||||
And the supplier orders placed counter for the user should be 1
|
||||
When the order gets cancelled
|
||||
And I wait 1 second
|
||||
Then the user should not see the order in the active list view
|
||||
And the supplier orders placed counter for the user should be 0
|
||||
|
||||
@javascript
|
||||
Scenario: Order disappears and counter adjusts when an active order is cancelled
|
||||
Given There is an open supplier with a menu
|
||||
And there is a signed in user with an active order
|
||||
And the user is on the active list page
|
||||
And the supplier orders in process counter for the user should be 1
|
||||
When the order gets cancelled
|
||||
And I wait 1 second
|
||||
Then the user should not see the order in the active list view
|
||||
And the supplier orders in process counter for the user should be 0
|
||||
|
||||
Reference in New Issue
Block a user