diff --git a/client/src/utils/navigation/navigation.yml b/client/src/utils/navigation/navigation.yml index 98a99c06f51..8b87ec7ade6 100644 --- a/client/src/utils/navigation/navigation.yml +++ b/client/src/utils/navigation/navigation.yml @@ -279,10 +279,6 @@ history_panel: options_menu_item: type: sizzle selector: '.history-options-button-menu > a:contains("${option_label}")' - - options_show_history_structure: - type: xpath - selector: '//a[contains(text(), "Show Structure")]' options_show_export_history_to_file: 'a[data-description="export to file"]' options_use_beta_history: type: xpath @@ -307,14 +303,6 @@ history_panel: tooltip_name: 'Rename history...' new_name: 'Unnamed history' - -history_structure: - selectors: - _: '.tool' - header: '.tool > .header.clickable' - dataset: '.tool div.list-item.dataset.history-content' - details: '.tool .details' - edit_dataset_attributes: selectors: database_build_dropdown: '[data-label="Database/Build"]' diff --git a/lib/galaxy/selenium/navigates_galaxy.py b/lib/galaxy/selenium/navigates_galaxy.py index a255fe7ca32..6f6fd89a93f 100644 --- a/lib/galaxy/selenium/navigates_galaxy.py +++ b/lib/galaxy/selenium/navigates_galaxy.py @@ -1668,12 +1668,6 @@ class NavigatesGalaxy(HasDriver): else: self.components.history_panel.multi_view_button.wait_for_and_click() - def history_panel_show_structure(self): - if self.is_beta_history(): - self.use_bootstrap_dropdown(option="show structure", menu="history options") - else: - self.click_history_option(self.components.history_panel.options_show_history_structure) - def history_multi_view_display_collection_contents(self, collection_hid, collection_type="list"): self.open_history_multi_view() diff --git a/lib/galaxy_test/selenium/test_history_structure.py b/lib/galaxy_test/selenium/test_history_structure.py deleted file mode 100644 index ac513420935..00000000000 --- a/lib/galaxy_test/selenium/test_history_structure.py +++ /dev/null @@ -1,41 +0,0 @@ -from .framework import ( - managed_history, - selenium_test, - SeleniumTestCase, -) - - -class HistoryStructureTestCase(SeleniumTestCase): - - ensure_registered = True - - @selenium_test - @managed_history - def test_history_structure(self): - def assert_details(expected_to_be_visible): - - error_message = "details are visible!" - if expected_to_be_visible: - error_message = "details are not visible!" - - assert expected_to_be_visible == self.components.history_structure.details.is_displayed, error_message - - self.perform_upload(self.get_filename("1.fasta")) - self.wait_for_history() - self.components.history_structure.header.assert_absent_or_hidden() - self.components.history_structure.dataset.assert_absent_or_hidden() - - self.history_panel_show_structure() - - # assert details are not visible before expand - self.components.history_structure.details.assert_absent_or_hidden() - - self.components.history_structure.dataset.wait_for_and_click() - self.sleep_for(self.wait_types.UX_RENDER) - - assert_details(True) - self.components.history_structure.header.wait_for_and_click() - self.sleep_for(self.wait_types.UX_RENDER) - - assert_details(False) - self.components.history_structure.dataset.assert_absent_or_hidden()