Skip to content

Commit

Permalink
Agent edit required fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu committed Jan 29, 2025
1 parent a0dbc6d commit 4ba0585
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions staff_features/agents/agent_edit_required_field.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Feature: Agent Edit required fields
Background:
Given an administrator user is logged in
And the user is on Agents page
Scenario: Edit required fields for person
When the user clicks on 'Edit required fields'
And the user clicks on 'Person' in the dropdown menu
And the user clicks on 'Name forms'
And the user checks the checkbox of 'Source'
And the user clicks on 'Save Person'
Then the 'Source' field in 'Name forms' is required when creating a new 'Person' type agent
Scenario: Edit required fields for family
When the user clicks on 'Edit required fields'
And the user clicks on 'Family' in the dropdown menu
And the user clicks on 'Name forms'
And the user checks the checkbox of 'Rules'
And the user clicks on 'Save Family'
Then the 'Rules' field in 'Name forms' is required when creating a new 'Family' type agent
Scenario: Edit required fields for corporate entity
When the user clicks on 'Edit required fields'
And the user clicks on 'Corporate Entity' in the dropdown menu
And the user clicks on 'Name forms'
And the user checks the checkbox of 'Rules'
And the user clicks on 'Save Corporate Entity'
Then the 'Rules' field in 'Name forms' is required when creating a new 'Corporate Entity' type agent
Scenario: Edit required fields for software
When the user clicks on 'Edit required fields'
And the user clicks on 'Software' in the dropdown menu
And the user clicks on 'Name forms'
And the user checks the checkbox of 'Version'
And the user clicks on 'Save Software'
Then the 'Version' field in 'Name forms' is required when creating a new 'Software' type agent

0 comments on commit 4ba0585

Please sign in to comment.