-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwdio.conf.js
36 lines (36 loc) · 1.01 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
exports.config = {
runner: 'local',
host: 'localhost',
specs: [
'./src/test_scripts/addPeoples.test.js',
],
services: ['selenium-standalone'],
exclude: [],
maxInstances: 10,
capabilities: [{
maxInstances: 1,
browserName: 'chrome',
// 'goog:chromeOptions': {
// // to run chrome headless the following flags are required
// // (see https://developers.google.com/web/updates/2017/04/headless-chrome)
// args: ['--headless', '--disable-gpu'],
// }
}],
logLevel: 'silent',
bail: 0,
baseUrl: 'http://localhost',
waitforTimeout: 30000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
compilers: ['js:@babel/register'],
timeout: 900000
},
reporters: [['allure', {
outputDir: 'allure-results',
disableWebdriverStepsReporting: true,
disableWebdriverScreenshotsReporting: true,
}]]
}