From faf6aab86ccc6dca41bc1b58ee6c31438655db4a Mon Sep 17 00:00:00 2001 From: Domenico Sibilio Date: Mon, 7 Oct 2024 13:37:36 +0200 Subject: [PATCH] Test with unsafely-treat-insecure-origin-as-secure --- .../java/org/alfresco/identity/service/saml/test/TokenTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/saml/src/test/java/org/alfresco/identity/service/saml/test/TokenTest.java b/test/saml/src/test/java/org/alfresco/identity/service/saml/test/TokenTest.java index 7ba1576..146c4f6 100644 --- a/test/saml/src/test/java/org/alfresco/identity/service/saml/test/TokenTest.java +++ b/test/saml/src/test/java/org/alfresco/identity/service/saml/test/TokenTest.java @@ -113,7 +113,7 @@ private ChromeOptions getChromeOptions() chromeOptions.addArguments("--allow-insecure-localhost"); chromeOptions.addArguments("--ignore-ssl-errors=yes"); chromeOptions.addArguments("--ignore-certificate-errors"); - chromeOptions.addArguments("--unsafely-treat-insecure-origin-as-secure=" + getProtocol() + "://" + getHostname()); + chromeOptions.addArguments("--unsafely-treat-insecure-origin-as-secure=" + getBaseUrl()); chromeOptions.setExperimentalOption("excludeSwitches", new String[] { "enable-automation" }); // chromeOptions.addArguments(String.format("--lang=%s", getBrowserLanguage(properties))); //disable profile password manager