-
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
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Feature: Subject Create | ||
Background: | ||
Given an administrator user is logged in | ||
Scenario: Subject is created | ||
Given the user is on the New Subject page | ||
When the user selects 'Local Sources' from 'Source' in the 'Basic Information' form | ||
And the user fills in 'Term' | ||
And the user selects 'Topical' from 'Type' in the 'Terms and Subdivisions' form | ||
And the user clicks on 'Save' | ||
Then the 'Subject' created message is displayed | ||
Scenario: Subject is not created because required fields are missing | ||
Given the user is on the New Subject page | ||
When the user clicks on 'Save' | ||
Then the following error messages are displayed | ||
| Term - Property is required but was missing | | ||
| Type - Property is required but was missing | | ||
| Source - Property is required but was missing | |