@@ -22,11 +22,26 @@ Feature: Add Event to an Accession
22
22
And the user fills in 'Role'
23
23
And the user clicks on 'Cancel'
24
24
Then the Event is not created
25
- Scenario : Add Event fails due to missing required field
25
+ Scenario : Add Event fails due to missing all required fields
26
26
Given the Accession is opened in Add Event mode
27
27
When the user clicks on 'Save'
28
28
Then the following error messages are displayed
29
29
| Expression - is required unless a begin or end date is given |
30
30
| Begin - is required unless an expression or an end date is given |
31
31
| Agents - Property is required but was missing |
32
32
| Role - Property is required but was missing |
33
+ Scenario : Add Event fails due to missing required fields - only 'Expression' is completed
34
+ Given the Accession is opened in Add Event mode
35
+ When the user fills in 'Expression'
36
+ And the user clicks on 'Save'
37
+ Then the following error messages are displayed
38
+ | Agents - Property is required but was missing |
39
+ | Role - Property is required but was missing |
40
+ Scenario : Add Event fails due to invalid date format
41
+ Given the Accession is opened in Add Event mode
42
+ When the user fills in 'Begin' with '2024-13-15'
43
+ And the user fills in 'Agents'
44
+ And the user fills in 'Role'
45
+ And the user clicks on 'Save'
46
+ Then the following error message is displayed
47
+ | Begin - Not a valid date |
0 commit comments