diff options
Diffstat (limited to 'client/e2e/wdio.local-test.conf.ts')
-rw-r--r-- | client/e2e/wdio.local-test.conf.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/e2e/wdio.local-test.conf.ts b/client/e2e/wdio.local-test.conf.ts index 6ae426322..32e6d340c 100644 --- a/client/e2e/wdio.local-test.conf.ts +++ b/client/e2e/wdio.local-test.conf.ts | |||
@@ -4,6 +4,9 @@ const prefs = { | |||
4 | 'intl.accept_languages': 'en' | 4 | 'intl.accept_languages': 'en' |
5 | } | 5 | } |
6 | 6 | ||
7 | // Chrome headless does not support prefs | ||
8 | process.env.LANG = 'en' | ||
9 | |||
7 | module.exports = { | 10 | module.exports = { |
8 | config: { | 11 | config: { |
9 | ...mainConfig, | 12 | ...mainConfig, |
@@ -18,6 +21,7 @@ module.exports = { | |||
18 | browserName: 'chrome', | 21 | browserName: 'chrome', |
19 | acceptInsecureCerts: true, | 22 | acceptInsecureCerts: true, |
20 | 'goog:chromeOptions': { | 23 | 'goog:chromeOptions': { |
24 | args: [ '--headless', '--disable-gpu', '--window-size=1280,1024' ], | ||
21 | prefs | 25 | prefs |
22 | } | 26 | } |
23 | } | 27 | } |