Skip to content

Commit

Permalink
test(config): update Karma config
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Jan 11, 2025
1 parent aa39235 commit b2e2159
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions config/karma/config-expectation-chrome-canary.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (config) => {

browserNoActivityTimeout: 100000,

browsers: ['ChromeCanaryHeadlessWithNoRequiredUserGesture'],
browsers: ['ChromeCanaryHeadlessWithFlags'],

client: {
mocha: {
Expand All @@ -21,7 +21,7 @@ module.exports = (config) => {
concurrency: 1,

customLaunchers: {
ChromeCanaryHeadlessWithNoRequiredUserGesture: {
ChromeCanaryHeadlessWithFlags: {
base: 'ChromeCanaryHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
}
Expand Down
6 changes: 3 additions & 3 deletions config/karma/config-expectation-chrome-penultimate.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (config) => {

browserNoActivityTimeout: 100000,

browsers: ['ChromeHeadlessWithNoRequiredUserGesture'],
browsers: ['ChromeHeadlessWithFlags'],

client: {
mocha: {
Expand All @@ -21,9 +21,9 @@ module.exports = (config) => {
concurrency: 1,

customLaunchers: {
ChromeHeadlessWithNoRequiredUserGesture: {
ChromeHeadlessWithFlags: {
base: 'ChromeHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
flags: ['--autoplay-policy=no-user-gesture-required', '--use-mock-keychain']
}
},

Expand Down
6 changes: 3 additions & 3 deletions config/karma/config-expectation-chrome-previous.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (config) => {

browserNoActivityTimeout: 100000,

browsers: ['ChromeHeadlessWithNoRequiredUserGesture'],
browsers: ['ChromeHeadlessWithFlags'],

client: {
mocha: {
Expand All @@ -21,9 +21,9 @@ module.exports = (config) => {
concurrency: 1,

customLaunchers: {
ChromeHeadlessWithNoRequiredUserGesture: {
ChromeHeadlessWithFlags: {
base: 'ChromeHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
flags: ['--autoplay-policy=no-user-gesture-required', '--use-mock-keychain']
}
},

Expand Down
4 changes: 2 additions & 2 deletions config/karma/config-expectation-chrome.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (config) => {

browserNoActivityTimeout: 100000,

browsers: ['ChromeHeadlessWithNoRequiredUserGesture'],
browsers: ['ChromeHeadlessWithFlags'],

client: {
mocha: {
Expand All @@ -21,7 +21,7 @@ module.exports = (config) => {
concurrency: 1,

customLaunchers: {
ChromeHeadlessWithNoRequiredUserGesture: {
ChromeHeadlessWithFlags: {
base: 'ChromeHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
}
Expand Down
4 changes: 2 additions & 2 deletions config/karma/config-expectation-firefox-penultimate.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = (config) => {

browserNoActivityTimeout: 100000,

browsers: ['penultimateFirefoxHeadless'],
browsers: ['PenultimateFirefoxHeadless'],

client: {
mocha: {
Expand All @@ -21,7 +21,7 @@ module.exports = (config) => {
concurrency: 1,

customLaunchers: {
penultimateFirefoxHeadless: {
PenultimateFirefoxHeadless: {
base: 'FirefoxHeadless',
command: 'firefox-v132/firefox/Firefox.app/Contents/MacOS/firefox'
}
Expand Down
8 changes: 4 additions & 4 deletions config/karma/config-unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ module.exports = (config) => {
} else {
config.set({
browsers: [
'ChromeCanaryHeadlessWithNoRequiredUserGesture',
'ChromeHeadlessWithNoRequiredUserGesture',
'ChromeCanaryHeadlessWithFlags',
'ChromeHeadlessWithFlags',
'FirefoxDeveloperHeadlessWithPrefs',
'FirefoxHeadlessWithPrefs',
'Safari'
Expand All @@ -123,11 +123,11 @@ module.exports = (config) => {
concurrency: 1,

customLaunchers: {
ChromeCanaryHeadlessWithNoRequiredUserGesture: {
ChromeCanaryHeadlessWithFlags: {
base: 'ChromeCanaryHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
},
ChromeHeadlessWithNoRequiredUserGesture: {
ChromeHeadlessWithFlags: {
base: 'ChromeHeadless',
flags: ['--autoplay-policy=no-user-gesture-required']
},
Expand Down

0 comments on commit b2e2159

Please sign in to comment.