-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
staff_features/resources/resource_container_instance.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Feature: Resource Container Instance | ||
Background: | ||
Given an administrator user is logged in | ||
And a Resource has been created | ||
And the Resource is opened in edit mode | ||
Scenario: Add container instance | ||
When the user clicks on 'Instances' | ||
And the user clicks on 'Add Container Instance' | ||
And the user selects 'Accession' from 'Type' in the 'Instances' form | ||
And the user clicks on the first dropdown in the "Instances" form | ||
And the user clicks on "Create" in the dropdown menu in the "Instances" form | ||
And the user fills in 'Indicator' with 'Top Container Indicator' in the modal | ||
And the user clicks on 'Create and Link' in the modal | ||
And the user clicks on 'Save Resource' | ||
Then the 'Resource' updated message is displayed | ||
And a new Instance is added to the Resource with the following values | ||
| Type | Accession | | ||
| Top Container | Top Container Indicator | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters