Skip to content

Commit

Permalink
Container Profile delete
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu authored and blacksmith-welder committed Mar 6, 2025
1 parent 6d0dac2 commit 0971505
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions staff_features/container_profiles/container_profile_delete.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Feature: Container Profile Delete
Background:
Given an administrator user is logged in
And a Container Profile has been created
Scenario: Container Profile is deleted from the search results
When the user clicks on 'Browse'
And the user clicks on 'Container Profiles'
And the user filters by text with the Container Profile name
And the user checks the checkbox of the Container Profile
And the user clicks on 'Delete'
And the user clicks on 'Delete Records'
Then the 'Records' deleted message is displayed
And the Container Profile is deleted
Scenario: Container Profile is deleted from the view page
Given the user is on the Container Profile view page
When the user clicks on 'Delete'
And the user clicks on 'Delete' in the modal
Then the Container Profiles page is displayed
And the 'Container Pfodile' deleted message is displayed
And the Container Profile is deleted
Scenario: Cancel Container Profile delete from the view page
Given the user is on the Container Profile view page
When the user clicks on 'Delete'
And the user clicks on 'Cancel'
Then the user is still on the Container Profile view page
Scenario: Container Profile is deleted from the edit page
Given the user is on the Container Profile edit page
When the user clicks on 'Delete'
And the user clicks on 'Delete' in the modal
Then the Container Profiles page is displayed
And the 'Containe Profile' deleted message is displayed
And the Container Profile is deleted

0 comments on commit 0971505

Please sign in to comment.