diff --git a/client/src/utils/navigation/navigation.yml b/client/src/utils/navigation/navigation.yml index 3ae4d33e716c..23186b21d48a 100644 --- a/client/src/utils/navigation/navigation.yml +++ b/client/src/utils/navigation/navigation.yml @@ -210,7 +210,7 @@ history_panel: alltags: '${_} .stateless-tags .tag' metadata_file_download: '${_} [data-description="download ${metadata_name}"]' - dataset_operations_dropdown: '${_} .dataset-actions' + dataset_operations: '${_} .dataset-actions' # re-usable history editor, scoped for use in different layout scenarios (multi, etc.) editor: diff --git a/lib/galaxy/selenium/navigates_galaxy.py b/lib/galaxy/selenium/navigates_galaxy.py index cf8486b59a0f..1b3d51274234 100644 --- a/lib/galaxy/selenium/navigates_galaxy.py +++ b/lib/galaxy/selenium/navigates_galaxy.py @@ -1651,7 +1651,7 @@ def history_multi_view_display_collection_contents(self, collection_hid, collect def history_panel_item_view_dataset_details(self, hid): item = self.history_panel_item_component(hid=hid) - item.dataset_operations_dropdown.wait_for_and_click() + item.dataset_operations.wait_for_visible() item.info_button.wait_for_and_click() self.components.dataset_details._.wait_for_visible() diff --git a/lib/galaxy_test/selenium/test_history_dataset_state.py b/lib/galaxy_test/selenium/test_history_dataset_state.py index eae0342fc4f2..ffa842a66b62 100644 --- a/lib/galaxy_test/selenium/test_history_dataset_state.py +++ b/lib/galaxy_test/selenium/test_history_dataset_state.py @@ -126,15 +126,13 @@ def _assert_action_buttons(self, hid, expected_buttons=None): def _assert_downloadable(self, hid, is_downloadable=True): item = self.history_panel_item_component(hid=hid) - item.dataset_operations_dropdown.wait_for_and_click() + item.dataset_operations.wait_for_visible() item.info_button.wait_for_visible() if is_downloadable: assert item.download_button.is_displayed else: item.download_button.assert_absent_or_hidden() - - # close menu... - item.dataset_operations_dropdown.wait_for_and_click() + item.dataset_operations.wait_for_visible() self.sleep_for(self.wait_types.UX_RENDER) def _assert_buttons(self, hid, expected_buttons):