Set specific Chrome window size to fix failing test in ubuntu (#9604)

This commit is contained in:
Florian Bischof
2025-02-28 14:58:51 +01:00
committed by GitHub
parent 5f1d223e53
commit 3d2f2c937c

View File

@ -42,7 +42,10 @@ module.exports = function (/** @type {import('karma').Config} */ config) {
browsers: ['Chrome'],
customLaunchers: {
'Chrome': {
base: 'ChromeHeadless'
base: 'ChromeHeadless',
flags: [
'--window-size=1920,1080', // Set a fixed window size
]
},
'Firefox': {
base: 'FirefoxHeadless',