Skip to content

Commit 7a38994

Browse files
committed
fixup! ci: upgrade to Sauce Connect 5 to fix SC4 deprecation
TAG=agy CONV=35121890-c18d-410e-9d5b-c7cfab103613
1 parent ae1e20b commit 7a38994

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/e2e/assets/protractor-saucelabs.conf.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,15 @@ exports.config = {
6363

6464
// NOTE: https://saucelabs.com/products/platform-configurator can be used to determine configuration values
6565
multiCapabilities: capabilities.map((caps) => {
66+
const w3cCaps = {
67+
...caps,
68+
browserVersion: caps.version,
69+
platformName: caps.platform,
70+
};
71+
6672
if (tunnelIdentifier) {
6773
return {
68-
...caps,
74+
...w3cCaps,
6975
tunnelIdentifier,
7076
tunnelName: tunnelIdentifier,
7177
'sauce:options': {
@@ -75,7 +81,7 @@ exports.config = {
7581
};
7682
}
7783

78-
return caps;
84+
return w3cCaps;
7985
}),
8086

8187
// Only allow one session at a time to prevent over saturation of Saucelabs sessions.

0 commit comments

Comments
 (0)