|
| 1 | +Feature: Accession Container Instance |
| 2 | + Background: |
| 3 | + Given an administrator user is logged in |
| 4 | + And an Accession has been created |
| 5 | + And the Accession is opened in edit mode |
| 6 | + Scenario: Add container instance by creating Top Container |
| 7 | + When the user clicks on 'Instances' |
| 8 | + And the user clicks on 'Add Container Instance' |
| 9 | + And the user selects 'Accession' from 'Type' in the 'Instances' form |
| 10 | + And the user clicks on the first dropdown in the 'Instances' form |
| 11 | + And the user clicks on 'Create' in the dropdown menu in the 'Instances' form |
| 12 | + And the user fills in 'Indicator' with 'Test Container' in the modal |
| 13 | + And the user clicks on 'Create and Link' in the modal |
| 14 | + And the user clicks on 'Save Accession' |
| 15 | + Then the 'Accession' updated message is displayed |
| 16 | + And a new Instance is added to the Accession with the following values |
| 17 | + | Type | Accession | |
| 18 | + | Top Container | Test Container | |
| 19 | + Scenario: Add container instance by browsing Top Container |
| 20 | + When the user clicks on 'Instances' |
| 21 | + And the user clicks on 'Add Container Instance' |
| 22 | + And the user selects 'Accession' from 'Type' in the 'Instances' form |
| 23 | + And the user clicks on the first dropdown in the 'Instances' form |
| 24 | + And the user clicks on 'Browse' in the dropdown menu in the 'Instances' form |
| 25 | + And the user fills in 'Keyword' with 'Test Container' in the modal |
| 26 | + And the user clicks on 'Search' in the modal |
| 27 | + And the user selects the Top Container from the search results in the modal |
| 28 | + And the user clicks on 'Link' in the modal |
| 29 | + And the user clicks on 'Save Accession' |
| 30 | + Then the 'Accession' updated message is displayed |
| 31 | + And a new Instance is added to the Accession with the following values |
| 32 | + | Type | Accession | |
| 33 | + | Top Container | Test Container | |
0 commit comments