Skip to content

Commit

Permalink
Agent delete
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu authored and blacksmith-welder committed Feb 10, 2025
1 parent f2cb6cc commit 27cb23c
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions staff_features/agents/agent_delete.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Feature: Agent Delete
Background:
Given an administrator user is logged in
And an Agent has been created
Scenario: Agent is deleted from the search results
When the user clicks on 'Browse'
And the user clicks on 'Agents'
And the user filters by text with the Agent name
And the user checks the checkbox of the Agent
And the user clicks on 'Delete'
And the user clicks on 'Delete Records'
Then the 'Records' deleted message is displayed
And the Agent is deleted
Scenario: Agent is deleted from the view page
Given the user is on the Agent view page
When the user clicks on 'Delete'
And the user clicks on 'Delete' in the modal
Then the Agents page is displayed
And the 'Agent' deleted message is displayed
And the Agent is deleted
Scenario: Cancel Agent delete from the view page
Given the user is on the Agent view page
When the user clicks on 'Delete'
And the user clicks on 'Cancel'
Then the user is still on the Agent view page

0 comments on commit 27cb23c

Please sign in to comment.