Skip to content

Commit

Permalink
Update 'color' spelling in workflow editor comment testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Oct 31, 2023
1 parent c70ecf6 commit 140a65c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/galaxy_test/selenium/test_workflow_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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()

Expand All @@ -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()

Expand All @@ -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()

Expand All @@ -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))
Expand All @@ -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))

Expand All @@ -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))

Expand Down

0 comments on commit 140a65c

Please sign in to comment.