1+ Feature : Agent Edit required fields
2+ Background :
3+ Given an administrator user is logged in
4+ And the user is on Agents page
5+ Scenario : Edit required fields for person
6+ When the user clicks on 'Edit required fields'
7+ And the user clicks on 'Person' in the dropdown menu
8+ And the user clicks on 'Name forms'
9+ And the user checks the checkbox of 'Source'
10+ And the user clicks on 'Save Person'
11+ Then the 'Source' field in 'Name forms' is required when creating a new 'Person' type agent
12+ Scenario : Edit required fields for family
13+ When the user clicks on 'Edit required fields'
14+ And the user clicks on 'Family' in the dropdown menu
15+ And the user clicks on 'Name forms'
16+ And the user checks the checkbox of 'Rules'
17+ And the user clicks on 'Save Family'
18+ Then the 'Rules' field in 'Name forms' is required when creating a new 'Family' type agent
19+ Scenario : Edit required fields for corporate entity
20+ When the user clicks on 'Edit required fields'
21+ And the user clicks on 'Corporate Entity' in the dropdown menu
22+ And the user clicks on 'Name forms'
23+ And the user checks the checkbox of 'Rules'
24+ And the user clicks on 'Save Corporate Entity'
25+ Then the 'Rules' field in 'Name forms' is required when creating a new 'Corporate Entity' type agent
26+ Scenario : Edit required fields for software
27+ When the user clicks on 'Edit required fields'
28+ And the user clicks on 'Software' in the dropdown menu
29+ And the user clicks on 'Name forms'
30+ And the user checks the checkbox of 'Version'
31+ And the user clicks on 'Save Software'
32+ Then the 'Version' field in 'Name forms' is required when creating a new 'Software' type agent
33+
0 commit comments