From e76990ce62ed25eeef3252416dc3c3c90f85853e Mon Sep 17 00:00:00 2001 From: YuriyZ Date: Thu, 16 Jan 2025 12:54:25 +0200 Subject: [PATCH] fix(jans-auth-server): failing test - SelectAccountHttpTest selectAccountTest #10647 Signed-off-by: YuriyZ --- .../java/io/jans/as/client/ws/rs/SelectAccountHttpTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jans-auth-server/client/src/test/java/io/jans/as/client/ws/rs/SelectAccountHttpTest.java b/jans-auth-server/client/src/test/java/io/jans/as/client/ws/rs/SelectAccountHttpTest.java index 5f1788fb3d0..7e93a231e14 100644 --- a/jans-auth-server/client/src/test/java/io/jans/as/client/ws/rs/SelectAccountHttpTest.java +++ b/jans-auth-server/client/src/test/java/io/jans/as/client/ws/rs/SelectAccountHttpTest.java @@ -20,7 +20,6 @@ import io.jans.as.model.jwt.JwtHeaderName; import org.apache.logging.log4j.util.Strings; import org.json.JSONArray; -import org.openqa.selenium.htmlunit.HtmlUnitDriver; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Parameters; @@ -42,7 +41,7 @@ public class SelectAccountHttpTest extends BaseTest { @BeforeTest public void setUp() { - driver = new HtmlUnitDriver(true); + startSelenium(); pageConfig = newPageConfig(driver); }