Supplier dashboard fixes

This commit is contained in:
2013-09-30 18:41:23 +02:00
parent 8ea2e79dc2
commit d96216ec29
5 changed files with 54 additions and 4 deletions
@@ -1,6 +1,6 @@
Feature: Supplier main board
@javascript
@javascript @broken
Scenario: the active list should be present and contained in row having its id
Given there is an active list and order
And I am signed in as supplier
@@ -45,3 +45,17 @@ Feature: Supplier main board
Then the list in the supplier dashboard should not be displayed anymore
And the list should be marked as closed
@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 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 new 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