Fixes for event stream and section view actions
This commit is contained in:
@@ -30,6 +30,8 @@ Feature: Supplier section view
|
||||
When the list is marked as in need of payment
|
||||
Then the section table should be marked as in need of payment
|
||||
|
||||
And I wait 0.5 seconds
|
||||
|
||||
When I click on the close list button in the section table table popup
|
||||
And I wait 1 second
|
||||
Then the section table should not have any active list markings anymore
|
||||
@@ -64,6 +66,18 @@ Feature: Supplier section view
|
||||
When I click the supplier section normal mode button
|
||||
Then the supplier last section properties should be updated to the new values
|
||||
|
||||
@javascript
|
||||
Scenario: A new order is created when the view is already loaded
|
||||
Given there is a confirmed and open supplier
|
||||
And there is a table in the section
|
||||
And there is a product
|
||||
And I am signed in as supplier
|
||||
When I visit the supplier section path
|
||||
And A new order is placed
|
||||
Then the table should be marked as occupied and having an active order
|
||||
When the supplier clicks on the table having the new list
|
||||
Then the supplier table actions of the new list should be visible
|
||||
|
||||
# capybara-webkit 1.1.0 drag to is not yet supported it seems
|
||||
@javascript @broken
|
||||
Scenario: Dragging a table to another section
|
||||
|
||||
Reference in New Issue
Block a user