[java-idp-integration-tests] 04/14: Use Sauce Labs platform string as-is without rewritting via SDK

Tom Zeller tzeller at dragonacea.biz
Thu Jun 17 13:55:48 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=bffcccab48f9f339035ffe84133667cb1e7f3e2d

commit bffcccab48f9f339035ffe84133667cb1e7f3e2d
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jun 16 21:32:50 2021 -0500

    Use Sauce Labs platform string as-is without rewritting via SDK
---
 src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
index d292a5a..46da1ea 100644
--- a/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/test/BaseIntegrationTest.java
@@ -1472,7 +1472,7 @@ public abstract class BaseIntegrationTest
     /**
      * Set up the desired capabilities.
      * 
-     * Prefer capabilities as provided by Jenkins, defaults to Firefox.
+     * Prefer capabilities as provided by the data provider {@link sauceOnDemandBrowserDataProvider}.
      * 
      * Sets the test name to be displayed by Sauce Labs at
      * <a href="https://saucelabs.com/tests">https://saucelabs.com/tests</a>.
@@ -1497,8 +1497,7 @@ public abstract class BaseIntegrationTest
             }
             // browser OS
             if (browserData.getOS() != null) {
-                desiredCapabilities.setCapability(CapabilityType.PLATFORM,
-                        Platform.extractFromSysProperty(browserData.getOS()));
+                desiredCapabilities.setCapability("platform", browserData.getOS());
             }
         }
 

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


More information about the commits mailing list