-
Notifications
You must be signed in to change notification settings - Fork 2
/
wdio.conf.js
30 lines (30 loc) · 960 Bytes
/
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
exports.config = {
specs: ['./imports/**/*.ui-test.js'],
exclude: [],
maxInstances: 10,
capabilities: [{
browserName: 'chrome',
chromeOptions: {
args: ['--headless', '--disable-gpu', '--window-size=1280,800'],
// binary: '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome' // macos
// binary: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe' // windows
binary: '/usr/bin/google-chrome-stable' // linux
}
}],
sync: true,
logLevel: 'silent',
coloredLogs: true,
deprecationWarnings: true,
bail: 0,
screenshotPath: './screens/',
baseUrl: 'http://localhost:3000',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
framework: 'mocha',
reporters: ['dot'],
mochaOpts: {
ui: 'bdd',
timeout: 300000 // 300 seconds
}
}