[java-idp-integration-tests] 04/05: Disable Firefox JSON view when running on Sauce Labs
Tom Zeller
tzeller at dragonacea.biz
Wed Jun 9 18:54:12 UTC 2021
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch main
in repository java-idp-integration-tests.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=8c8d7e9e1b5acb568f78ba23cc83db4d3721c55e
commit 8c8d7e9e1b5acb568f78ba23cc83db4d3721c55e
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jun 9 13:38:24 2021 -0500
Disable Firefox JSON view when running on Sauce Labs
---
src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 3b45ea7..28de186 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -1427,6 +1427,12 @@ public abstract class BaseIntegrationTest
}
}
+ if (desiredCapabilities.getBrowserName() == BrowserType.FIREFOX) {
+ final FirefoxOptions options = new FirefoxOptions();
+ options.addPreference("devtools.jsonview.enabled", false);
+ desiredCapabilities.merge(options);
+ }
+
// Override desired capabilities.
if (overrideCapabilities != null) {
log.debug("Override desired capabilities with '{}'", overrideCapabilities);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list