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 Dec 17, 2024
1 parent 5ca5aa7 commit c7d1b1a
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 @@ -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',
Expand Down

0 comments on commit c7d1b1a

Please # to comment.