From 8e8a8f0b4652bc0df06e833b2f2a6cb813f9ade5 Mon Sep 17 00:00:00 2001 From: guerler Date: Sun, 12 May 2024 12:47:47 +0300 Subject: [PATCH] Adjust selenium test warning message case --- lib/galaxy_test/selenium/test_workflow_run.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/galaxy_test/selenium/test_workflow_run.py b/lib/galaxy_test/selenium/test_workflow_run.py index afb6085b98bf..fea087ac06dc 100644 --- a/lib/galaxy_test/selenium/test_workflow_run.py +++ b/lib/galaxy_test/selenium/test_workflow_run.py @@ -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 @@ -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)