Skip to content

Commit

Permalink
Agent edit
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu authored and blacksmith-welder committed Feb 6, 2025
1 parent 207ae21 commit 6fe2ebf
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions staff_features/agents/agent_edit.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
Feature: Agent Edit
Background:
Given an administrator user is logged in
And an Agent has been created
Scenario: Agent is opened in the edit mode from the browse menu
Given the Agent appears in the search results list
When the user clicks on 'Edit'
Then the Agent is opened in the edit mode
Scenario: Agent is opened in the edit mode from the view mode
Given the Agent is opened in the view mode
When the user clicks on 'Edit'
Then the Agent is opened in the edit mode
Scenario Outline: Agent is successfully updated
Given the Agent is opened in edit mode
When the user changes the '<Field>' field to '<NewValue>'
And the user clicks on 'Save'
Then the 'Agent' saved message is displayed
And the field '<Field>' has value '<NewValue>'
Examples:
| Field | NewValue |
| Authority ID | Test |
Scenario: Agent is not updated after changes are reverted
Given the Agent is opened in edit mode
When the user changes the 'Authority ID' field
And the user clicks on 'Revert Changes'
Then the Authority ID has the original value

0 comments on commit 6fe2ebf

Please sign in to comment.