diff --git a/client/src/components/GalaxyAI/ChatHistoryPanel.vue b/client/src/components/GalaxyAI/ChatHistoryPanel.vue index e15aab42dd3..b1edf7964ef 100644 --- a/client/src/components/GalaxyAI/ChatHistoryPanel.vue +++ b/client/src/components/GalaxyAI/ChatHistoryPanel.vue @@ -107,6 +107,7 @@ async function deleteSelected() { @@ -124,9 +125,14 @@ async function deleteSelected() { {{ allSelected ? "Deselect all" : "Select all" }} - + -
- No {{ props.namePlural }} found -
+
+ - No {{ props.namePlural }} found - +
diff --git a/client/src/utils/navigation/navigation.yml b/client/src/utils/navigation/navigation.yml index 986ae576618..46273128abf 100644 --- a/client/src/utils/navigation/navigation.yml +++ b/client/src/utils/navigation/navigation.yml @@ -1662,11 +1662,11 @@ galaxyai: _: '.activity-panel[data-description="GalaxyAI"]' toggle_selection_mode: 'button[title="Select chats to delete"]' cancel_selection: 'button[title="Cancel selection"]' - history_item: '[data-description="sidebar item"]' - history_checkbox: '[data-description="sidebar item"] .history-checkbox' - delete_selected_button: '.selection-toolbar .btn-danger' + history_item: '.chat-history-item' + history_checkbox: '.chat-history-item .history-checkbox' + delete_selected_button: '.selection-toolbar [data-description="delete selected chats"]' select_all_toggle: '.select-all-toggle' - empty_message: '[data-description="sidebar list empty"]' + empty_message: '[data-description="no items found footer"]' galaxy_wizard: selectors: diff --git a/lib/galaxy_test/selenium/test_galaxyai.py b/lib/galaxy_test/selenium/test_galaxyai.py index 4d90ae247c7..ed5507b66cb 100644 --- a/lib/galaxy_test/selenium/test_galaxyai.py +++ b/lib/galaxy_test/selenium/test_galaxyai.py @@ -116,5 +116,8 @@ class TestGalaxyAI(SeleniumTestCase): # Delete selected history.delete_selected_button.wait_for_and_click() + # Confirm deletion + self.components.confirm_dialog.ok_button.wait_for_and_click() + # Verify all items were removed (panel should be empty) history.empty_message.wait_for_visible()