Переглянути джерело

Don't fail on javascript errors

Steve Riesenberg 8 місяців тому
батько
коміт
48f90e0e94

+ 1 - 0
servlet/java-configuration/saml2/login/src/integTest/java/example/Saml2JavaConfigurationITests.java

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

+ 1 - 0
servlet/spring-boot/java/oauth2/login/src/integTest/java/example/OAuth2LoginApplicationTests.java

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

+ 1 - 0
servlet/spring-boot/java/saml2/login-single-tenant/src/integTest/java/example/Saml2LoginApplicationITests.java

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

+ 1 - 0
servlet/spring-boot/java/saml2/login/src/integTest/java/example/Saml2LoginApplicationITests.java

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

+ 1 - 0
servlet/spring-boot/java/saml2/refreshable-metadata/src/integTest/java/example/Saml2LoginApplicationITests.java

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

+ 1 - 0
servlet/xml/java/saml2/login-logout/src/integTest/java/example/Saml2XmlITests.java

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