]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/e2e/wdio.local-test.conf.ts
Translated using Weblate (Persian)
[github/Chocobozzz/PeerTube.git] / client / e2e / wdio.local-test.conf.ts
CommitLineData
3cf68b86 1import { afterLocalSuite, beforeLocalSuite, beforeLocalSession } from './src/utils'
6d210220
C
2import { config as mainConfig } from './wdio.main.conf'
3
4const prefs = {
5 'intl.accept_languages': 'en'
6}
7
450de91e
C
8// Chrome headless does not support prefs
9process.env.LANG = 'en'
10
6d210220
C
11module.exports = {
12 config: {
13 ...mainConfig,
14
15 runner: 'local',
16
17 maxInstances: 1,
18 specFileRetries: 0,
19
20 capabilities: [
21 {
22 browserName: 'chrome',
23 acceptInsecureCerts: true,
24 'goog:chromeOptions': {
3cf68b86 25 args: [ '--disable-gpu', '--window-size=1280,1024' ],
6d210220
C
26 prefs
27 }
28 }
29 ],
30
3cf68b86
C
31 services: [ 'chromedriver' ],
32
33 beforeSession: beforeLocalSession,
34 beforeSuite: beforeLocalSuite,
35 afterSuite: afterLocalSuite
6d210220
C
36 } as WebdriverIO.Config
37}