-
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.
Digital Object component edit default values (#57)
- Loading branch information
Showing
4 changed files
with
38 additions
and
76 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
staff_features/digital_objects/digital_object_component_edit_default_values.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,17 @@ | ||
Feature: Digital Object Component Edit Default Values | ||
Background: | ||
Given an administrator user is logged in | ||
And the Pre-populate Records option is checked in Repository Preferences | ||
And a Digital Object has been created | ||
And the user is on the Digital Objects page | ||
Scenario: Edit Default Values of Digital Object Component | ||
When the user clicks on 'Edit Default Values' | ||
And the user clicks on 'Digital Object Component' in the dropdown menu | ||
When the user fills in 'Label' with 'Test label' | ||
And the user fills in 'Title' with 'Test title' | ||
And the user clicks on 'Save Digital Object Component' | ||
Then the 'Defaults' updated message is displayed | ||
And the new Digital Object Component form has the following default values | ||
| form_section | form_field | form_value | | ||
| Basic Information | Label | Test label | | ||
| Basic Information | Title | Test title | |
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
38 changes: 0 additions & 38 deletions
38
staff_features/resources/step_definitions/resource_edit_default_values.rb
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