Feature: Supplier main board @javascript 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 When I visit the supplier root path Then the supplier dashboard should display the active list And the supplier dashboard should display the active order When I click on translation 'supplier.order.being_processed' # waiting here only needed in old style implementation And I wait 1 second Then the supplier order row should be marked as active When I click on translation 'supplier.order.being_served' And I wait 1 second Then the order in the supplier dashboard should not be displayed anymore And the order should be marked as delivered And the list on the supplier dashboard should not be marked as in need of help When the list is marked as in need of help # waiting here only needed in old style implementation And I wait 1 second Then the list on the supplier dashboard should be marked as in need of help When I click on the mark list as helped button in the supplier dashboard Then the list on the supplier dashboard should not be marked as in need of help When the list is marked as in need of payment Then the list on the supplier dashboard should be marked as in need of payment When another order is placed Then the supplier dashboard list should display the updated price And the new order should be present in the supplier dashboard When a new order on a table in another section is created And I wait 1 second Then the new list should appear in the supplier dashboard And the new order on a table in another section should be present in the supplier dashboard When I click on the close list button in the supplier dashboard And I wait 1 second Then the list in the supplier dashboard should not be displayed anymore And the list should be marked as closed