Better section actions speccing
This commit is contained in:
@@ -46,3 +46,30 @@ Feature: Supplier section view
|
||||
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
|
||||
Given there is an active list and order
|
||||
And there are 2 supplier sections
|
||||
And the last supplier section has a table with known coordinates
|
||||
And I am signed in as supplier
|
||||
When I visit the supplier last section path
|
||||
And I click the supplier section edit mode button
|
||||
And I fill in the supplier edit section form with new values
|
||||
Then the last section tab header should have the newly filled in name
|
||||
When I click the supplier section normal mode button
|
||||
Then the supplier last section properties should be updated to the new values
|
||||
|
||||
# capybara-webkit 1.1.0 drag to is not yet supported it seems
|
||||
@javascript @broken
|
||||
Scenario: Dragging a table to another section
|
||||
Given there is an active list and order
|
||||
And there are 2 supplier sections
|
||||
And the last supplier section has a table with known coordinates
|
||||
And I am signed in as supplier
|
||||
When I visit the supplier last section path
|
||||
And I click the supplier section edit mode button
|
||||
And I drag the table from the last section to the first section tab header
|
||||
And I wait 1 second
|
||||
Then the supplier table should have been linked to the first section
|
||||
|
||||
Reference in New Issue
Block a user