-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwdio.conf.js
47 lines (40 loc) · 973 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
const CONFIG = require('./test/config.json')
exports.config = {
specs: [
//Fro running test scipt
`./test/testScripts/${CONFIG.folderTest}-test/datetime.js`,
],
suites: {
preparation: [
'./test/testScripts/common/_uploadJSFiles.js'
],
},
maxInstances: 10,
//Server Info for Chrome
host: 'localhost',
port: 4444,
//Testing Browser Info
capabilities: [{
maxInstances: 5,
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'],
},
proxy: {
proxyType: 'autodetect'
}
}],
reporters: 'spec',
services: ['selenium-standalone'],
sync: true,
deprecationWarnings: false,
//Testing Framework Info
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 900000, //10 minutes
},
logLevel: 'silent'
};