Skip to content

Commit

Permalink
Top Containers bulk operations
Browse files Browse the repository at this point in the history
  • Loading branch information
kdimopulu committed Feb 19, 2025
1 parent 6cce54f commit 178e75e
Showing 1 changed file with 51 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Feature: Top Container bulk operations
Background:
Given an administrator user is logged in
And a Resource with 2 Top Containers has been created
And the user is on the Top Containers page
And the user fills in 'Keyword' with the Resource title
And the user clicks on 'Search'
Scenario: Select all Top Containers
When the user checks the checkbox in the header row
Then all Top Containers are selected
And the 'Bulk Operations' button is active
Scenario: Unselect all Top Containers
Given all Top Containers are selected
When the user checks the checkbox in the header row
Then all Top Containers are unselected
And the 'Bulk Operations' button is not active
Scenario: Select Top Container
When the user checks the checkbox in the left-hand column of Top container
Then the Top Container is selected
And the 'Bulk Operations' button is active
Scenario: Update ILS holdings IDs of a Top Container
Given a Top Container is selected
When the user clicks on 'Bulk Operations'
And the user clicks on 'Update ILS holdings IDs' in the dropdown menu
And the user fills in 'ILS Holding ID' with '123456789'
And the user clicks on 'Update 1 records' button
Then the 'Top Containers' updated message is displayed
And the 'ILS Holding ID' has value '123456789'
Scenario: Update Container Profile of a Top Container by browsing
Given a Top Container is selected
When the user clicks on 'Bulk Operations'
And the user clicks on 'Update Container Profile' in the dropdown menu
And the user clicks on 'Browse' in the dropdown menu
And the user selects Container Profile in the modal
And the user clicks on 'Link' in the modal
And the user clicks on 'Update 1 records' button
Then the 'Top Containers' updated message is displayed
And the Top Container profile is linked to the selected Container Profile
Scenario: Update Container Profile of a Top Container by creating Container Profile
Given a Top Container is selected
When the user clicks on 'Bulk Operations'
And the user clicks on 'Update Container Profile' in the dropdown menu
And the user clicks on 'Create' in the dropdown menu
And the user fills in 'Name' with 'Test Container Profile' in the modal
And the user fills in 'Depth' with '90' in the modal
And the user fills in 'Height' with '90' in the modal
And the user fills in 'Width' with '90' in the modal
And the user clicks on 'Create and Link' in the modal
And the user clicks on 'Update 1 records' button
Then the 'Top Containers' updated message is displayed
And the 'Top Container Profile' has Name 'Test Container Profile'

0 comments on commit 178e75e

Please sign in to comment.