Don't fail on javascript errors

This commit is contained in:
Steve Riesenberg
2024-11-27 10:20:21 -06:00
parent bc3811ee18
commit 612e16e175
5 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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