From 0fcc73f3bd2c4d7ee4e8452bba2a2ab23d50867a Mon Sep 17 00:00:00 2001 From: Laila Los <44241786+ElectronicBlueberry@users.noreply.github.com> Date: Mon, 25 Nov 2024 23:51:37 +0100 Subject: [PATCH] fix test_editor_duplicate_node test --- client/src/utils/navigation/navigation.yml | 1 + lib/galaxy_test/selenium/test_workflow_editor.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/client/src/utils/navigation/navigation.yml b/client/src/utils/navigation/navigation.yml index 2bc52deb1f00..121916a74ae0 100644 --- a/client/src/utils/navigation/navigation.yml +++ b/client/src/utils/navigation/navigation.yml @@ -705,6 +705,7 @@ workflow_editor: node: selectors: _: "[node-label='${label}']" + by_id: "#wf-node-step-${id}" title: '${_} .node-title' destroy: '${_} .node-destroy' clone: '${_} .node-clone' diff --git a/lib/galaxy_test/selenium/test_workflow_editor.py b/lib/galaxy_test/selenium/test_workflow_editor.py index a5dd338557d4..229b76634b36 100644 --- a/lib/galaxy_test/selenium/test_workflow_editor.py +++ b/lib/galaxy_test/selenium/test_workflow_editor.py @@ -770,6 +770,8 @@ def test_editor_duplicate_node(self): editor.remove_tags_input.wait_for_and_send_keys("#oldboringtag" + Keys.ENTER + Keys.ESCAPE) self.sleep_for(self.wait_types.UX_RENDER) cat_node.clone.wait_for_and_click() + cloned_node = editor.node.by_id(id=2) + cloned_node.wait_for_and_click() editor.label_input.wait_for_and_send_keys(Keys.BACKSPACE * 20) editor.label_input.wait_for_and_send_keys("cloned label") output_label = editor.label_output(output="out_file1")