1 import { config as mainConfig } from './wdio.main.conf'
4 'intl.accept_languages': 'en'
6 process.env.LANG = 'en'
18 browserName: 'chrome',
19 'goog:chromeOptions': {
20 args: [ '--headless', '--disable-gpu', '--window-size=1280,1024' ],
25 browserName: 'firefox',
26 'moz:firefoxOptions': {
27 binary: '/usr/bin/firefox-developer-edition',
28 args: [ '--headless', '--window-size=1280,1024' ],
35 services: [ 'chromedriver', 'geckodriver' ],
37 beforeSession: function (config, capabilities) {
38 if (capabilities['browserName'] === 'chrome') {
39 config.baseUrl = 'http://localhost:9001'
41 config.baseUrl = 'http://localhost:9002'
44 } as WebdriverIO.Config