|
| 1 | +Feature: Digital Object Component Reorder |
| 2 | + Background: |
| 3 | + Given an administrator user is logged in |
| 4 | + And a Digital Object with 2 Digital Object Components has been created |
| 5 | + And the Digital Object is opened in edit mode |
| 6 | + Scenario: Activate reorder mode |
| 7 | + When the user clicks on 'Enable Reorder Mode' |
| 8 | + Then button turns green |
| 9 | + And the button has text 'Disable Reorder Mode' |
| 10 | + Scenario: Cut and Paste a Digital Object Component |
| 11 | + When the user selects a Digital Object Component |
| 12 | + And the user clicks on 'Cut' |
| 13 | + And the user clicks on the component that represents the desired position in the tree |
| 14 | + And the user clicks on 'Paste' |
| 15 | + Then the component is pasted as a child of the selected component |
| 16 | + Scenario: Move a Digital Object Component Up a Level |
| 17 | + Given a Digital Object Component has a child |
| 18 | + When the user selects the child Digital Object Component |
| 19 | + And the user clicks on 'Move' |
| 20 | + And the user clicks on 'Up a Level' in the dropdown menu |
| 21 | + Then the selected Digital Object Component moves a level up |
| 22 | + Scenario: Move Up a Digital Object Component |
| 23 | + When the user selects a Digital Object Component |
| 24 | + And the user clicks on 'Move' |
| 25 | + And the user clicks on 'Up' in the dropdown menu |
| 26 | + Then the Digital Object Component moves one position up |
| 27 | + Scenario: Move Down Into a Digital Object Component |
| 28 | + When the user selects a Digital Object Component |
| 29 | + And the user clicks on 'Move' |
| 30 | + And the user clicks on 'Down Into' in the dropdown menu |
| 31 | + And the user selects a Digital Object Component from the dropdown menu |
| 32 | + Then the Digital Object Component moves as a child into the selected Digital Object Component |
0 commit comments