Skip to content

Commit

Permalink
Don't fail on javascript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sjohnr committed Nov 27, 2024
1 parent 40d439c commit 7712047
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public class CustomUrlsApplicationITests {

@BeforeEach
void setup() {
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public class Saml2LoginApplicationITests {

@BeforeEach
void setup() {
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ public class Saml2LoginApplicationITests {

@BeforeEach
void setup() {
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public class Saml2LoginApplicationITests {

@BeforeEach
void setup() {
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ public class SamlExtensionFederationApplicationITests {

@BeforeEach
void setup() {
this.webClient.getOptions().setThrowExceptionOnScriptError(false);
this.webClient.getCookieManager().clearCookies();
}

Expand Down

0 comments on commit 7712047

Please sign in to comment.