Remove structure display selenium tests

This commit is contained in:
guerler
2022-09-15 15:50:31 -04:00
parent 9c504a2ca4
commit 0372dfc1ea
3 changed files with 0 additions and 59 deletions
@@ -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"]'
-6
View File
@@ -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()
@@ -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()