[24.1] Fix failing selenium in test/integration_selenium/test_edam_tool_panel_views.py

This commit is contained in:
Ahmed Awan
2025-01-24 12:54:44 -06:00
parent 2e91660633
commit 1484dcc56b
2 changed files with 2 additions and 0 deletions
@@ -394,6 +394,7 @@ tool_panel:
outer_tool_link: '.toolTitle a[href$$="tool_runner?tool_id=${tool_id}"]'
data_source_tool_link: 'a[href$$="tool_runner/data_source_redirect?tool_id=${tool_id}"]'
search: '.search-query'
toolbox: '[data-description="panel toolbox"]'
workflow_names: '#internal-workflows .toolTitle'
views_button: '.tool-panel-dropdown'
views_menu_item: '[data-panel-id="${panel_id}"]'
@@ -35,6 +35,7 @@ class TestEdamToolPanelViewsSeleniumIntegration(SeleniumIntegrationTestCase):
@retry_during_transitions
def _assert_displaying_edam_operations(self):
tool_panel = self.components.tool_panel
tool_panel.toolbox.wait_for_visible()
labels = tool_panel.panel_labels.all()
assert len(labels) > 0
label0 = labels[0]