Cleanup Qsupplier
This commit is contained in:
@@ -102,3 +102,19 @@ Feature: Supplier main board
|
||||
When I click on the close list button in the supplier dashboard
|
||||
And confirm the supplier close list modal
|
||||
Then the supplier placed orders counter should be reduced
|
||||
|
||||
@javascript
|
||||
Scenario: Selecting a specific section limits the result to the lists and orders of those sections
|
||||
Given there is an active list and order
|
||||
And there is another section with table
|
||||
And I am signed in as supplier
|
||||
When a new order on a table in another section is created
|
||||
Then I should see the list and the new list
|
||||
And I should see the order and the new order
|
||||
When I select the section in the supplier dashboard
|
||||
Then I should see the list and order but not the new list and new order
|
||||
When I select the other section in the supplier dashboard
|
||||
Then I should see the new list and new order but not the list and order
|
||||
When I reset the section selector in the supplier dashboard
|
||||
Then I should see the list and the new list
|
||||
And I should see the order and the new order
|
||||
|
||||
@@ -2,7 +2,7 @@ Feature: Supplier section view
|
||||
|
||||
@javascript
|
||||
Scenario: the section view displays tables and keeps their status information
|
||||
And there is an active list and order
|
||||
Given there is an active list and order
|
||||
And I am signed in as supplier
|
||||
|
||||
When I visit the supplier section path
|
||||
@@ -37,24 +37,6 @@ Feature: Supplier section view
|
||||
And I wait 1 second
|
||||
Then the section table should not have any active list markings anymore
|
||||
And the list should be marked as closed
|
||||
And I wait 3 seconds
|
||||
|
||||
@javascript
|
||||
Scenario: Selecting a specific section limits the result to the lists and orders of those sections
|
||||
Given there is an active list and order
|
||||
And there is another section with table
|
||||
And I am signed in as supplier
|
||||
And a new order on a table in another section is created
|
||||
Then I should see the list and the new list
|
||||
And I should see the order and the new order
|
||||
When I select the section in the supplier dashboard
|
||||
Then I should see the list and order but not the new list and new order
|
||||
When I select the other section in the supplier dashboard
|
||||
Then I should see the new list and new order but not the list and order
|
||||
When I reset the section selector in the supplier dashboard
|
||||
Then I should see the list and the new list
|
||||
And I should see the order and the new order
|
||||
|
||||
|
||||
@javascript
|
||||
Scenario: Going to edit mode and change section properties
|
||||
@@ -82,6 +64,17 @@ Feature: Supplier section view
|
||||
When the supplier clicks on the table having the new list in the section view
|
||||
Then the supplier table actions of the new list should be visible
|
||||
|
||||
@javascript
|
||||
Scenario: List moves table in section view when the table changes
|
||||
Given there is an active list and order
|
||||
And there is another table in the section
|
||||
And I am signed in as supplier
|
||||
And I visit the supplier section path
|
||||
Then the list should be linked to the original table in the section view
|
||||
When the list changes to another table
|
||||
Then the list should be linked to the other table in the section view
|
||||
And the section table should not have any active list markings anymore
|
||||
|
||||
# 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