From cccb8cef7c42fc5a9ad157a87042f88db5602c89 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 987c0256b1..2360eed461 100644 --- a/karma.config.cjs +++ b/karma.config.cjs @@ -117,7 +117,7 @@ module.exports = (config) => { customLaunchers: { ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', - flags: ['--no-sandbox', '--disable-setuid-sandbox'], + flags: ['--no-sandbox', '--disable-setuid-sandbox', '--window-size=1024x768'], }, },