Don't fail on javascript errors

This commit is contained in:
Steve Riesenberg
2024-11-26 15:32:59 -06:00
parent 8fe6475cb9
commit b839068efb
2 changed files with 2 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ public class Saml2XmlITests {
this.webClient = MockMvcWebClientBuilder.mockMvcSetup(this.mvc)
.withDelegate(new LocalHostWebClient(this.environment))
.build();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}