Skip to content

Commit

Permalink
Subject Add external document
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu committed Jan 17, 2025
1 parent a0dbc6d commit 4013325
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions staff_features/subjects/subject_add_external_document.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Feature: Subject External Documemt
Background:
Given an administrator user is logged in
And a Subject has been created
And the Subject is opened in edit mode
Scenario: Add External Document
When the user clicks on 'External Documents'
And the user clicks on 'Add External Document'
And the user fills in 'Title' with 'Test title'
And the user fills in 'Location' with 'Test location'
And the user clicks on 'Save Subject'
Then the 'Subject' updated message is displayed
And a new External Document is added to the Subject with the following values
| Title | Test title |
| Location | Test location |
Scenario: External Document is not added because required fields are missing
When the user clicks on 'External Documents'
And the user clicks on 'Add External Document'
And the user clicks on 'Save Subject'
Then the following error messages are displayed
| Title - Property is required but was missing |
| Location - Property is required but was missing |

0 comments on commit 4013325

Please sign in to comment.