-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathwdio.conf.js
51 lines (45 loc) · 1.18 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
45
46
47
48
49
50
51
exports.config = {
specs: [
'spec-e2e/*.spec.js'
],
exclude: [],
maxInstances: 1,
capabilities: [],
debug: false,
execArgv: null,
sync: true,
logLevel: 'verbose', // Level of logging verbosity: silent | verbose | command | data | result | error
coloredLogs: true,
deprecationWarnings: true,
bail: 0,
screenshotPath: 'spec-e2e/screenshots',
baseUrl: 'http://localhost:63342',
waitforTimeout: 1000,
reporters: ['dot'],
reporterOptions: {
outputDir: './'
},
framework: 'jasmine',
jasmineNodeOpts: {
defaultTimeoutInterval: 10000,
grep: null,
invertGrep: null
},
services: ['selenium-standalone', 'static-server'],
staticServerFolders: [
{mount: '/', path: './test_tmp'},
{mount: '/node_modules', path: './node_modules'}
],
staticServerPort: 63342,
// Firefox workaround
seleniumArgs: {drivers: Object.assign({}, require('selenium-standalone/lib/default-config').drivers, {firefox: {version: '0.23.0'}})},
seleniumInstallArgs: {drivers: Object.assign({}, require('selenium-standalone/lib/default-config').drivers, {firefox: {version: '0.23.0'}})},
drivers: {
chrome: {
version: '2.39'
}
},
onComplete: function(exitCode) {
process.exit(exitCode);
}
};