From c7d1b1a7e2906b7dde4c3c92c9a2821aad696406 Mon Sep 17 00:00:00 2001 From: Artur Date: Tue, 17 Dec 2024 12:00:53 +0200 Subject: [PATCH] test: Define window size (#3028) This reduces randomness when tests are run on different machines and resolves the current issue of a date field going into "mobile mode" and not having an input field on GitHub Actions --- karma.config.cjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karma.config.cjs b/karma.config.cjs index e17b8b0edd..ac212ff9d5 100644 --- a/karma.config.cjs +++ b/karma.config.cjs @@ -121,7 +121,7 @@ module.exports = (config) => { customLaunchers: { ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', - flags: ['--no-sandbox', '--disable-setuid-sandbox'], + flags: ['--no-sandbox', '--disable-setuid-sandbox', '--window-size=1024x768'], }, ChromeNoSS: { base: 'Chrome',