aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/wdio.local-test.conf.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-24 10:49:12 +0100
committerChocobozzz <me@florianbigard.com>2021-11-24 10:49:12 +0100
commit450de91e22ba1388e14e12ada875c94e0c38f5d3 (patch)
treeca00d4e5ec1915f2bd336103d84c8dac86a34273 /client/e2e/wdio.local-test.conf.ts
parent17e2705f646f00346bfdbb663876b0f022eaeee3 (diff)
downloadPeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.tar.gz
PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.tar.zst
PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.zip
Fix E2E tests
Diffstat (limited to 'client/e2e/wdio.local-test.conf.ts')
-rw-r--r--client/e2e/wdio.local-test.conf.ts4
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
8process.env.LANG = 'en'
9
7module.exports = { 10module.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 }