Skip to content

Commit 71447ba

Browse files
attempt fixing test_change_datatype failure
Reconfigure the output to ensure we are able to access the selector
1 parent d777b63 commit 71447ba

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

client/src/utils/navigation/navigation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ workflow_editor:
10231023
select_datatype:
10241024
type: xpath
10251025
selector: >
1026-
//li[@class="multiselect__element"]//span[text()="${datatype}"]
1026+
//div[@data-label='Change datatype']//li[contains(@class,"multiselect__element")]//span[normalize-space()="${datatype}"]
10271027
add_tags_button:
10281028
type: xpath
10291029
selector: >

lib/galaxy_test/selenium/test_workflow_editor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,9 @@ def test_change_datatype(self):
760760
save_button.wait_for_and_click()
761761
# Will trigger confirmation modal
762762
self.components.confirm_dialog.ok_button.wait_for_and_click()
763+
self.components.confirm_dialog._.wait_for_absent_or_hidden()
763764
# Make connection valid again
765+
editor.configure_output(output="out_file1").wait_for_and_click()
764766
editor.change_datatype.wait_for_and_click()
765767
editor.select_datatype_text_search.wait_for_and_send_keys("tabular")
766768
editor.select_datatype(datatype="tabular").wait_for_and_click()

0 commit comments

Comments
 (0)