From 140a65c14681662e76e0360174f8eb2e956942b8 Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Tue, 31 Oct 2023 10:13:18 -0400 Subject: [PATCH] Update 'color' spelling in workflow editor comment testing --- lib/galaxy_test/selenium/test_workflow_editor.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/galaxy_test/selenium/test_workflow_editor.py b/lib/galaxy_test/selenium/test_workflow_editor.py index cd284ea6c2ba..a98e5f3b756b 100644 --- a/lib/galaxy_test/selenium/test_workflow_editor.py +++ b/lib/galaxy_test/selenium/test_workflow_editor.py @@ -1098,7 +1098,7 @@ def test_editor_place_comments(self): editor.tool_bar.tool(tool="text_comment").wait_for_and_click() editor.tool_bar.toggle_bold.wait_for_and_click() editor.tool_bar.toggle_italic.wait_for_and_click() - editor.tool_bar.colour(colour="pink").wait_for_and_click() + editor.tool_bar.color(color="pink").wait_for_and_click() editor.tool_bar.font_size.wait_for_and_click() self.action_chains().send_keys(Keys.LEFT * 5).send_keys(Keys.RIGHT).perform() @@ -1125,7 +1125,7 @@ def test_editor_place_comments(self): # place and test markdown comment editor.tool_bar.tool(tool="markdown_comment").wait_for_and_click() - editor.tool_bar.colour(colour="lime").wait_for_and_click() + editor.tool_bar.color(color="lime").wait_for_and_click() self.mouse_drag(from_element=tool_bar, from_offset=(100, 100), to_offset=(200, 220)) self.action_chains().send_keys("# Hello World").perform() @@ -1146,7 +1146,7 @@ def test_editor_place_comments(self): # place and test frame comment editor.tool_bar.tool(tool="frame_comment").wait_for_and_click() - editor.tool_bar.colour(colour="blue").wait_for_and_click() + editor.tool_bar.color(color="blue").wait_for_and_click() self.mouse_drag(from_element=tool_bar, from_offset=(10, 10), to_offset=(400, 300)) self.action_chains().send_keys("My Frame").perform() @@ -1164,7 +1164,7 @@ def test_editor_place_comments(self): # test freehand and eraser editor.tool_bar.tool(tool="freehand_pen").wait_for_and_click() - editor.tool_bar.colour(colour="green").wait_for_and_click() + editor.tool_bar.color(color="green").wait_for_and_click() editor.tool_bar.line_thickness.wait_for_and_click() self.action_chains().send_keys(Keys.RIGHT * 20).perform() @@ -1175,7 +1175,7 @@ def test_editor_place_comments(self): editor.comment.freehand_comment.wait_for_visible() - editor.tool_bar.colour(colour="black").wait_for_and_click() + editor.tool_bar.color(color="black").wait_for_and_click() editor.tool_bar.line_thickness.wait_for_and_click() self.action_chains().send_keys(Keys.LEFT * 20).perform() self.mouse_drag(from_element=tool_bar, from_offset=(300, 300), via_offsets=[(100, 200)], to_offset=(-200, 30)) @@ -1187,7 +1187,7 @@ def test_editor_place_comments(self): # place another freehand comment and test eraser editor.tool_bar.line_thickness.wait_for_and_click() self.action_chains().send_keys(Keys.RIGHT * 20).perform() - editor.tool_bar.colour(colour="orange").wait_for_and_click() + editor.tool_bar.color(color="orange").wait_for_and_click() self.mouse_drag(from_element=tool_bar, from_offset=(100, 100), to_offset=(200, 200)) @@ -1201,7 +1201,7 @@ def test_editor_place_comments(self): # delete by dragging editor.tool_bar.tool(tool="freehand_pen").wait_for_and_click() - editor.tool_bar.colour(colour="yellow").wait_for_and_click() + editor.tool_bar.color(color="yellow").wait_for_and_click() self.mouse_drag(from_element=tool_bar, from_offset=(100, 100), to_offset=(200, 200))