]>
Commit | Line | Data |
---|---|---|
6d210220 C |
1 | import { config as mainConfig } from './wdio.main.conf' |
2 | ||
3 | const prefs = { | |
4 | 'intl.accept_languages': 'en' | |
5 | } | |
6 | ||
450de91e C |
7 | // Chrome headless does not support prefs |
8 | process.env.LANG = 'en' | |
9 | ||
6d210220 C |
10 | module.exports = { |
11 | config: { | |
12 | ...mainConfig, | |
13 | ||
14 | runner: 'local', | |
15 | ||
16 | maxInstances: 1, | |
17 | specFileRetries: 0, | |
18 | ||
19 | capabilities: [ | |
20 | { | |
21 | browserName: 'chrome', | |
22 | acceptInsecureCerts: true, | |
23 | 'goog:chromeOptions': { | |
450de91e | 24 | args: [ '--headless', '--disable-gpu', '--window-size=1280,1024' ], |
6d210220 C |
25 | prefs |
26 | } | |
27 | } | |
28 | ], | |
29 | ||
30 | services: [ 'chromedriver' ] | |
31 | } as WebdriverIO.Config | |
32 | } |