Skip to content

Commit

Permalink
Adjust selenium test warning message case
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 12, 2024
1 parent cba8413 commit 8e8a8f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy_test/selenium/test_workflow_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def test_execution_with_tool_upgrade(self):
self.workflow_run_with_name(name)
self.sleep_for(self.wait_types.UX_TRANSITION)
# Check that this tool form contains a warning about different versions.
self.assert_message(self.components.workflow_run.warning, contains="different versions")
self.assert_message(self.components.workflow_run.warning, contains="tools which have changed")
self.screenshot("workflow_run_tool_upgrade")

@selenium_test
Expand All @@ -189,7 +189,7 @@ def test_run_form_safe_upgrade_handling(self):
name = self.workflow_upload_yaml_with_random_name(workflow_with_rules_json, exact_tools=True)
self.workflow_run_with_name(name)
self.sleep_for(self.wait_types.UX_TRANSITION)
self.assert_message(self.components.workflow_run.warning, contains="different versions")
self.assert_message(self.components.workflow_run.warning, contains="tools which have changed")
# 1.0.0 is a version that exists in WORKFLOW_SAFE_TOOL_VERSION_UPDATES
workflow_with_rules["steps"]["apply"]["tool_version"] = "1.0.0"
workflow_with_rules_json = json.dumps(workflow_with_rules)
Expand Down

0 comments on commit 8e8a8f0

Please sign in to comment.