Skip to content

Commit 63b552f

Browse files
Fix test_workflow_run export selenium
Fixes galaxyproject#20081
1 parent a3ff6d7 commit 63b552f

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

client/src/utils/navigation/navigation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -926,6 +926,7 @@ invocations:
926926
step_job_information: '[data-step="${order_index}"] .invocation-step-job-details .info_data_table'
927927
step_job_information_tool_id: '[data-step="${order_index}"] .invocation-step-job-details .info_data_table #galaxy-tool-id'
928928
export_tab: '.invocation-export-tab'
929+
export_tab_disabled: '.invocation-export-tab .nav-link.disabled'
929930
export_output_format: '[data-invocation-export-type="${type}"] .card-body'
930931
export_destination: '[data-invocation-export-destination="${destination}"] .card-body'
931932
wizard_next_button: '.wizard-actions .go-next-btn'

lib/galaxy_test/selenium/test_workflow_run.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def test_workflow_export_file_rocrate(self):
4040
self._setup_simple_invocation_for_export_testing()
4141
invocations = self.components.invocations
4242
self.workflow_run_wait_for_ok(hid=2)
43+
invocations.export_tab_disabled.wait_for_absent()
4344
invocations.export_tab.wait_for_and_click()
4445
self.screenshot("invocation_export_formats")
4546
invocations.export_output_format(type="ro-crate").wait_for_and_click()
@@ -64,6 +65,7 @@ def test_workflow_export_file_native(self):
6465
self._setup_simple_invocation_for_export_testing()
6566
invocations = self.components.invocations
6667
self.workflow_run_wait_for_ok(hid=2)
68+
invocations.export_tab_disabled.wait_for_absent()
6769
invocations.export_tab.wait_for_and_click()
6870
self.screenshot("invocation_export_formats")
6971
invocations.export_output_format(type="default-file").wait_for_and_click()

0 commit comments

Comments
 (0)