From 99b19fafb7ba574663c26b79289f11d54fe00a43 Mon Sep 17 00:00:00 2001 From: Adam Rauch Date: Fri, 28 Feb 2025 12:46:46 -0800 Subject: [PATCH] Fix redirect host test --- src/org/labkey/test/tests/AdminConsoleTest.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/org/labkey/test/tests/AdminConsoleTest.java b/src/org/labkey/test/tests/AdminConsoleTest.java index 12403d4ea5..c885b39ee5 100644 --- a/src/org/labkey/test/tests/AdminConsoleTest.java +++ b/src/org/labkey/test/tests/AdminConsoleTest.java @@ -15,7 +15,6 @@ */ package org.labkey.test.tests; -import org.junit.BeforeClass; import org.junit.Test; import org.junit.experimental.categories.Category; import org.labkey.remoteapi.CommandException; @@ -257,19 +256,19 @@ public void testConfigureReturnURL() log("Verifying host cannot be blank "); clickButton("Save"); - assertElementPresent(Locator.css(".labkey-error").withText("External host name must not be blank.")); + assertElementPresent(Locator.css(".labkey-error").withText("Redirect host name must not be blank.")); log("Setting the host URL"); - setFormElement(Locator.name("newExternalHost"), host); + setFormElement(Locator.name("newValue"), host); clickButton("Save"); log("Verifying url got added correctly"); - assertEquals(host, getFormElement(Locator.name("existingExternalHost1"))); + assertEquals(host, getFormElement(Locator.name("existingValue1"))); log("Verifying cannot be duplicate"); - setFormElement(Locator.name("newExternalHost"), host); + setFormElement(Locator.name("newValue"), host); clickButton("Save"); - assertElementPresent(Locator.css(".labkey-error").withText("'" + host + "' already exists. Duplicate hosts not allowed.")); + assertElementPresent(Locator.css(".labkey-error").withText("'" + host + "' already exists. Duplicate values not allowed.")); } /*