Cleanup Qsupplier

This commit is contained in:
2014-08-18 09:33:11 +02:00
parent 3b5d411a89
commit 34877d4b8b
8 changed files with 204 additions and 221 deletions
@@ -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