diff options
Diffstat (limited to 'client/e2e/wdio.local-test.conf.ts')
-rw-r--r-- | client/e2e/wdio.local-test.conf.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/client/e2e/wdio.local-test.conf.ts b/client/e2e/wdio.local-test.conf.ts index 32e6d340c..5389ebcf0 100644 --- a/client/e2e/wdio.local-test.conf.ts +++ b/client/e2e/wdio.local-test.conf.ts | |||
@@ -1,3 +1,4 @@ | |||
1 | import { afterLocalSuite, beforeLocalSuite, beforeLocalSession } from './src/utils' | ||
1 | import { config as mainConfig } from './wdio.main.conf' | 2 | import { config as mainConfig } from './wdio.main.conf' |
2 | 3 | ||
3 | const prefs = { | 4 | const prefs = { |
@@ -21,12 +22,16 @@ module.exports = { | |||
21 | browserName: 'chrome', | 22 | browserName: 'chrome', |
22 | acceptInsecureCerts: true, | 23 | acceptInsecureCerts: true, |
23 | 'goog:chromeOptions': { | 24 | 'goog:chromeOptions': { |
24 | args: [ '--headless', '--disable-gpu', '--window-size=1280,1024' ], | 25 | args: [ '--disable-gpu', '--window-size=1280,1024' ], |
25 | prefs | 26 | prefs |
26 | } | 27 | } |
27 | } | 28 | } |
28 | ], | 29 | ], |
29 | 30 | ||
30 | services: [ 'chromedriver' ] | 31 | services: [ 'chromedriver' ], |
32 | |||
33 | beforeSession: beforeLocalSession, | ||
34 | beforeSuite: beforeLocalSuite, | ||
35 | afterSuite: afterLocalSuite | ||
31 | } as WebdriverIO.Config | 36 | } as WebdriverIO.Config |
32 | } | 37 | } |