[java-idp-integration-tests] 02/03: Add 'firefox' system property to use Firefox instead of HtmlUnit.

Tom Zeller tzeller at dragonacea.biz
Fri Jul 8 16:14:06 EDT 2016


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch master
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=b9848389f0983c9e1dcf2c2131147a6c1f9bd721

commit b9848389f0983c9e1dcf2c2131147a6c1f9bd721
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Jul 8 11:13:57 2016 -0500

    Add 'firefox' system property to use Firefox instead of HtmlUnit.
---
 src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index 3a7879e..e474c45 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -633,8 +633,11 @@ public abstract class BaseIntegrationTest
             setUpSauceDriver();
         } else {
             log.debug("Setting up local web driver with desired capabilities '{}'", desiredCapabilities);
-            setUpHtmlUnitDriver();
-            // setUpFirefoxDriver();
+            if (Boolean.getBoolean("firefox")) {
+                setUpFirefoxDriver();
+            } else {
+                setUpHtmlUnitDriver();
+            }
         }
         log.debug("Started web driver '{}' with desired capabilities '{}'", driver, desiredCapabilities);
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list