Don't fail on javascript errors

This commit is contained in:
Steve Riesenberg
2024-11-27 10:20:21 -06:00
parent 18ed50193d
commit 48f90e0e94
6 changed files with 6 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ public class OAuth2LoginApplicationTests {
@BeforeEach
void setup() {
this.webClient.getCookieManager().clearCookies();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
}
@Test

View File

@@ -50,6 +50,7 @@ public class Saml2LoginApplicationITests {
@BeforeEach
void setup() {
this.webClient.getCookieManager().clearCookies();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
}
@Test

View File

@@ -50,6 +50,7 @@ public class Saml2LoginApplicationITests {
@BeforeEach
void setup() {
this.webClient.getCookieManager().clearCookies();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
}
@Test

View File

@@ -46,6 +46,7 @@ public class Saml2LoginApplicationITests {
@BeforeEach
void setup() {
this.webClient.getCookieManager().clearCookies();
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
}
@Test