-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwdio.conf.js
44 lines (44 loc) · 1.38 KB
/
wdio.conf.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// @TODO: Add Safari Tech Preview support
exports.config = {
specs: ['./compat-tests/CanaryTestRunner.js'],
maxInstances: 40,
capabilities: [
{
browserName: 'chrome',
platform: 'MAC',
chromeOptions: {
args: [
'--flag-switches-begin',
'--enable-canvas-2d-dynamic-rendering-mode-switching',
'--enable-es3-apis',
'--enable-experimental-canvas-features',
'--enable-experimental-web-platform-features',
'--javascript-harmony',
'--enable-quic',
'--enable-webvr',
'--touch-events=enabled',
'--enable-features=AsmJsToWebAssembly,BackgroundVideoTrackOptimization,GamepadExtensions,GenericSensor,MaterialDesignBookmarks,MaterialDesignHistory,MaterialDesignSettings,MaterialDesignUserMenu,NativeNotifications,SharedArrayBuffer,V8Future,WebAssembly,WebUSB,brotli-encoding',
'--flag-switches-end'
],
binary:
'/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary'
},
maxInstances: 1,
seleniumProtocol: 'WebDriver'
}
],
sync: false,
logLevel: 'error',
coloredLogs: true,
screenshotOnReject: false,
services: ['selenium-standalone'],
framework: 'mocha',
reporters: ['dot'],
reporterOptions: {
outputDir: './'
},
mochaOpts: {
ui: 'bdd',
compilers: ['js:babel-register']
}
};