Skip to content

Commit

Permalink
Subject Create
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu committed Jan 16, 2025
1 parent a0dbc6d commit 7934608
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions staff_features/subjects/subject_create.feature
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 |

0 comments on commit 7934608

Please sign in to comment.