Skip to content

Commit

Permalink
build: sauce labs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxokorokov committed Oct 10, 2023
1 parent 6ca228e commit 8229573
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 273 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,8 @@
"webpack": "^5.74.0",
"yargs": "^16.2.0",
"zone.js": "~0.13.0"
}
},
"resolutions": {
"webdriverio": "^7.33.0"
}
}
30 changes: 14 additions & 16 deletions src/karma.sauce.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@ const BROWSERS = {
CHROME: {
base: 'SauceLabs',
browserName: 'chrome',
platform: 'Windows 11',
version: 'latest',
browserVersion: 'latest',
platformName: 'Windows 11',
},
FIREFOX: {
base: 'SauceLabs',
browserName: 'firefox',
platform: 'Windows 11',
version: 'latest',
browserVersion: 'latest',
platformName: 'Windows 11',
},
EDGE: {
base: 'SauceLabs',
browserName: 'MicrosoftEdge',
platform: 'Windows 11',
version: 'latest',
browserVersion: 'latest',
platformName: 'Windows 11',
},
SAFARI15: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'macOS 12',
version: '15',
browserVersion: '15',
platformName: 'macOS 12',
},
SAFARI16: {
base: 'SauceLabs',
browserName: 'safari',
platform: 'macOS 13',
version: '16',
browserVersion: '16',
platformName: 'macOS 13',
},
};

Expand All @@ -56,11 +56,9 @@ module.exports = function (config) {
startConnect: false,
recordVideo: false,
recordScreenshots: false,
options: {
commandTimeout: 600,
idleTimeout: 600,
maxDuration: 5400,
},
commandTimeout: 600,
idleTimeout: 600,
maxDuration: 5400,
},

customLaunchers: BROWSERS,
Expand All @@ -70,7 +68,7 @@ module.exports = function (config) {
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
browsers: ['CHROME', 'EDGE', 'SAFARI15', 'SAFARI16'],
browsers: ['CHROME', 'FIREFOX', 'EDGE', 'SAFARI15', 'SAFARI16'],
autoWatch: false,
singleRun: true,
captureTimeout: 180000,
Expand Down

0 comments on commit 8229573

Please sign in to comment.