Skip to content

Commit

Permalink
Do not record videos for SauceLabs tests
Browse files Browse the repository at this point in the history
For faster test runs.
  • Loading branch information
afcapel committed Jul 20, 2023
1 parent 9e51c8d commit 9f0873a
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,21 @@ if (process.env.CI) {
sl_chrome_latest: {
base: "SauceLabs",
browserName: "chrome",
version: "latest"
version: "latest",
"saucelabs:options": {
recordVideo: false,
},
},
sl_chrome_latest_i8n: {
base: "SauceLabs",
browserName: "chrome",
version: "latest",
"goog:chromeOptions": {
args: [ "--lang=tr" ]
}
},
"saucelabs:options": {
recordVideo: false,
},
},
// Context:
// https://github.com/karma-runner/karma-sauce-launcher/issues/275
Expand All @@ -51,40 +57,58 @@ if (process.env.CI) {
base: "SauceLabs",
browserName: "firefox",
browserVersion: "latest",
"moz:debuggerAddress": true
"moz:debuggerAddress": true,
"saucelabs:options": {
recordVideo: false,
},
},
sl_safari_12_1: {
base: "SauceLabs",
browserName: "safari",
platform: "macOS 10.13",
version: "12.1"
version: "12.1",
"saucelabs:options": {
recordVideo: false,
},
},
sl_edge_latest: {
base: "SauceLabs",
browserName: "microsoftedge",
platform: "Windows 10",
version: "latest"
version: "latest",
"saucelabs:options": {
recordVideo: false,
},
},
sl_ios_latest: {
base: "SauceLabs",
browserName: "safari",
platform: "ios",
device: "iPhone Simulator",
version: "latest"
version: "latest",
"saucelabs:options": {
recordVideo: false,
},
},
sl_android_11: {
base: "SauceLabs",
browserName: "chrome",
platform: "android",
device: "Android GoogleAPI Emulator",
version: "11.0"
version: "11.0",
"saucelabs:options": {
recordVideo: false,
},
},
sl_android_latest: {
base: "SauceLabs",
browserName: "chrome",
platform: "android",
device: "Android GoogleAPI Emulator",
version: "13.0"
version: "13.0",
"saucelabs:options": {
recordVideo: false,
},
}
}

Expand Down

0 comments on commit 9f0873a

Please sign in to comment.