Bug description
The Java Script scripts for the Scripted Auth Module doesn't seem to work in Edge browser. The input is not rendered on the page.
There is an expectation that the input for entering the user code is rendered on the login page for user when used the ScriptedAuthModule but this is not being rendered in the Edge browser.
Stacktrace:
java.lang.AssertionError: Expected ScriptedAuthenticationPage to be present at com.forgerock.openam.functionaltest.ui.assertions.AbstractWebDriverAssert.waitUntil(AbstractWebDriverAssert.java:68) at com.forgerock.openam.functionaltest.ui.OpenAmUi.has(OpenAmUi.java:78) at com.forgerock.openam.functionaltest.ui.OpenAmUi.is(OpenAmUi.java:92) at com.forgerock.openam.functionaltest.auth.ScriptedAuthModuleTest.tryToLoginWith(ScriptedAuthModuleTest.java:114) at com.forgerock.openam.functionaltest.auth.ScriptedAuthModuleTest.<cuppa test>(ScriptedAuthModuleTest.java:85) Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.forgerock.openam.functionaltest.ui.assertions.AbstractWebDriverAssert$$Lambda$2814/1819665340@3e9b3b3c (tried for 10 second(s) with 100 MILLISECONDS interval) Build info: version: '3.4.0', revision: 'unknown', time: 'unknown' System info: host: 'docker-slave4.forgerock-qa.com', ip: '10.21.0.3', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-862.14.4.el7.x86_64', java.version: '1.8.0_162' Driver info: com.forgerock.openam.functionaltest.ui.CloseableWebDriver at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:80) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:232) at com.forgerock.openam.functionaltest.ui.assertions.AbstractWebDriverAssert.waitUntil(AbstractWebDriverAssert.java:62) ... 4 more Caused by: java.lang.AssertionError: Expected to find element by ByUtils.placeholderText: Enter your verification code at org.assertj.core.api.AbstractAssert.failWithMessage(AbstractAssert.java:116) at com.forgerock.openam.functionaltest.ui.assertions.AbstractSearchContextAssert.hasElement(AbstractSearchContextAssert.java:63) at com.forgerock.openam.functionaltest.ui.views.login.ScriptedAuthenticationPage.isPresent(ScriptedAuthenticationPage.java:32) at com.forgerock.openam.functionaltest.ui.views.login.ScriptedAuthenticationPage.isPresent(ScriptedAuthenticationPage.java:19) at com.forgerock.openam.functionaltest.ui.assertions.AbstractWebDriverAssert.lambda$waitUntil$0(AbstractWebDriverAssert.java:63) at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:209) ... 5 more
The isn't failing for Firefox, Chrome or Safari browsers.