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 d0bf44c..36e99b9 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 @@ -119,7 +119,7 @@ private DesiredCapabilities getDesiredCapabilities() chromeOptions.addArguments("--allow-insecure-localhost"); chromeOptions.addArguments("--ignore-ssl-errors=yes"); chromeOptions.addArguments("--ignore-certificate-errors"); - chromeOptions.setExperimentalOption("excludeSwitches", new String[] { "enable-automation" }); + chromeOptions.setExperimentalOption("excludeSwitches", new String[] { "enable-automation", "disable-popup-blocking" }); // chromeOptions.addArguments(String.format("--lang=%s", getBrowserLanguage(properties))); //disable profile password manager HashMap chromePrefs = new HashMap<>(); @@ -175,7 +175,7 @@ void getTokenFromSAMLLogin() throws Exception //Get the redirect URL for validation -- If you check the status of the //redirct URL call it will be 404. The page does not exist. All we are - //intersted in is the token parameter in the URL + //interested in is the token parameter in the URL logger.info("Redirect URL: " + driver.getCurrentUrl()); logger.info("Page title: " + driver.getTitle());