diff options
author | Chocobozzz <me@florianbigard.com> | 2021-09-03 10:27:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-09-03 16:35:18 +0200 |
commit | 6d210220be0875d63461829d83c6e3a59d05cf7a (patch) | |
tree | 60ec5b596ef06295b70ebb553920a39b549e0f13 /client/e2e/wdio.local-test.conf.ts | |
parent | 2ede07153ce0282b116345dfee09bff902355a75 (diff) | |
download | PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.gz PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.tar.zst PeerTube-6d210220be0875d63461829d83c6e3a59d05cf7a.zip |
Fix NSFW filter and add tests
Diffstat (limited to 'client/e2e/wdio.local-test.conf.ts')
-rw-r--r-- | client/e2e/wdio.local-test.conf.ts | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/client/e2e/wdio.local-test.conf.ts b/client/e2e/wdio.local-test.conf.ts new file mode 100644 index 000000000..6ae426322 --- /dev/null +++ b/client/e2e/wdio.local-test.conf.ts | |||
@@ -0,0 +1,28 @@ | |||
1 | import { config as mainConfig } from './wdio.main.conf' | ||
2 | |||
3 | const prefs = { | ||
4 | 'intl.accept_languages': 'en' | ||
5 | } | ||
6 | |||
7 | module.exports = { | ||
8 | config: { | ||
9 | ...mainConfig, | ||
10 | |||
11 | runner: 'local', | ||
12 | |||
13 | maxInstances: 1, | ||
14 | specFileRetries: 0, | ||
15 | |||
16 | capabilities: [ | ||
17 | { | ||
18 | browserName: 'chrome', | ||
19 | acceptInsecureCerts: true, | ||
20 | 'goog:chromeOptions': { | ||
21 | prefs | ||
22 | } | ||
23 | } | ||
24 | ], | ||
25 | |||
26 | services: [ 'chromedriver' ] | ||
27 | } as WebdriverIO.Config | ||
28 | } | ||