-
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
50 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
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
15 changes: 15 additions & 0 deletions
15
staff_features/subjects/subject_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,15 @@ | ||
Feature: Subject Edit Default Values | ||
Background: | ||
Given an administrator user is logged in | ||
And the Pre-populate Records option is checked in Repository Preferences | ||
And the user is on the Subjects page | ||
Scenario: Edit Default Values | ||
When the user clicks on 'Edit Default Values' | ||
And the user fills in 'Authority ID' with 'Test ID' | ||
And the user fills in 'Scope Note' with 'Text' | ||
And the user clicks on 'Save' | ||
Then the 'Defaults' updated message is displayed | ||
And the new Subject form has the following default values | ||
| form_section | form_field | form_value | | ||
| Basic Information | Authority ID | Test ID | | ||
| Basic Information | Scope Note | Text | |