-
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
1 parent
0583467
commit f4131ae
Showing
3 changed files
with
34 additions
and
44 deletions.
There are no files selected for viewing
28 changes: 14 additions & 14 deletions
28
staff-features/resources/update_basic_information.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 |
---|---|---|
@@ -1,23 +1,23 @@ | ||
Feature: Update Resource Basic Information | ||
Background: | ||
Given the user is logged in as an administrator | ||
Given a resource has been created | ||
And a resource has been created | ||
Scenario: Successfully update resource basic information | ||
Given the user is on the resource edit page | ||
When the user selects "Records" from "Resource Type" | ||
When the user checks Publish? | ||
When the user checks Restrictions Apply? | ||
When the user fills in Repository Processing Note with "Repository Processing Note" | ||
When the user clicks on 'Save Resource' | ||
Then the resource is updated | ||
Then Resource Type has value Records | ||
Then Publish? is checked | ||
Then Restrictions Apply? is checked | ||
Then Repository Processing Note has value "Repository Processing Note" | ||
When the user selects 'Records' from "Resource Type" | ||
And the user checks 'Publish?' | ||
And the user checks 'Restrictions Apply?' | ||
And the user fills in 'Repository Processing Note' with 'VTF #3810' | ||
And the user clicks on 'Save Resource' | ||
Then the 'Resource' updated message is displayed | ||
And the 'Resource Type' has selected value 'Records' | ||
And the 'Publish?' is checked | ||
And the 'Restrictions Apply?' is checked | ||
And the 'Repository Processing Note' has value 'VTF #3810' | ||
Scenario: Revert changes | ||
Given the user is on the resource edit page | ||
When the user changes the resource Title | ||
When the user changes the resource Identifier | ||
When the user clicks on 'Revert Changes' | ||
And the user changes the resource Identifier | ||
And the user clicks on 'Revert Changes' | ||
Then the resource Title does not change | ||
Then the resource Identifier does not change | ||
And the resource Identifier does not change |
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
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