-
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
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
staff_features/digital_objects/digital_object_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,21 @@ | ||
Feature: Digital Object 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: Open Digital Object Edit Default values page | ||
When the user clicks on 'Edit Default Values' | ||
And the user clicks on 'Digital Object' in the dropdown menu | ||
Then the Digital Object Defaults page is displayed | ||
Scenario: Edit Default Values | ||
Given the user is on the Digital Object Defaults page | ||
When the user fills in 'Title' with 'Test Digital Object' | ||
And the user selects 'Text' from 'Digital Object Type' | ||
And the user clicks on 'Save' | ||
Then the 'Defaults' updated message is displayed | ||
And the new Digital Object form has the following default values | ||
| form_section | form_field | form_value | | ||
| Basic Information | Title | Test Digital Object | | ||
| Basic Information | Digital Object Type | Text | | ||
|