Skip to content

Commit

Permalink
test: Define window size (#3028)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Artur- authored and vaadin-bot committed Dec 17, 2024
1 parent 6b4285f commit cccb8ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karma.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
},

Expand Down

0 comments on commit cccb8ce

Please # to comment.