]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - wdio.local.conf.ts
4071aa2498896b1fbba130d8b3e1b9d8cbadf718
[github/Chocobozzz/PeerTube.git] / wdio.local.conf.ts
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
15 capabilities: [
16 {
17 browserName: 'chrome',
18 acceptInsecureCerts: true,
19 'goog:chromeOptions': {
20 prefs
21 }
22 },
23 {
24 browserName: 'firefox',
25 'moz:firefoxOptions': {
26 // args: [ '-headless' ],
27 binary: '/usr/bin/firefox-developer-edition',
28 prefs
29 }
30 },
31 {
32 browserName: 'firefox',
33 'moz:firefoxOptions': {
34 // args: [ '-headless' ],
35 binary: '/usr/bin/firefox-esr',
36 prefs
37 }
38 }
39 ],
40
41 services: [ 'chromedriver', 'geckodriver' ]
42 } as WebdriverIO.Config
43 }