diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-24 10:49:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-24 10:49:12 +0100 |
commit | 450de91e22ba1388e14e12ada875c94e0c38f5d3 (patch) | |
tree | ca00d4e5ec1915f2bd336103d84c8dac86a34273 /client/e2e/wdio.local.conf.ts | |
parent | 17e2705f646f00346bfdbb663876b0f022eaeee3 (diff) | |
download | PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.tar.gz PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.tar.zst PeerTube-450de91e22ba1388e14e12ada875c94e0c38f5d3.zip |
Fix E2E tests
Diffstat (limited to 'client/e2e/wdio.local.conf.ts')
-rw-r--r-- | client/e2e/wdio.local.conf.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/e2e/wdio.local.conf.ts b/client/e2e/wdio.local.conf.ts index a4c517f5e..43b820ca6 100644 --- a/client/e2e/wdio.local.conf.ts +++ b/client/e2e/wdio.local.conf.ts | |||
@@ -3,6 +3,7 @@ import { config as mainConfig } from './wdio.main.conf' | |||
3 | const prefs = { | 3 | const prefs = { |
4 | 'intl.accept_languages': 'en' | 4 | 'intl.accept_languages': 'en' |
5 | } | 5 | } |
6 | process.env.LANG = 'en' | ||
6 | 7 | ||
7 | module.exports = { | 8 | module.exports = { |
8 | config: { | 9 | config: { |
@@ -16,6 +17,7 @@ module.exports = { | |||
16 | { | 17 | { |
17 | browserName: 'chrome', | 18 | browserName: 'chrome', |
18 | 'goog:chromeOptions': { | 19 | 'goog:chromeOptions': { |
20 | args: [ '--headless', '--disable-gpu', '--window-size=1280,1024' ], | ||
19 | prefs | 21 | prefs |
20 | } | 22 | } |
21 | }, | 23 | }, |
@@ -23,6 +25,8 @@ module.exports = { | |||
23 | browserName: 'firefox', | 25 | browserName: 'firefox', |
24 | 'moz:firefoxOptions': { | 26 | 'moz:firefoxOptions': { |
25 | binary: '/usr/bin/firefox-developer-edition', | 27 | binary: '/usr/bin/firefox-developer-edition', |
28 | args: [ '--headless', '--window-size=1280,1024' ], | ||
29 | |||
26 | prefs | 30 | prefs |
27 | } | 31 | } |
28 | } | 32 | } |