-
Notifications
You must be signed in to change notification settings - Fork 23
/
wdio.conf-web-driver-io-tutorial.js
43 lines (39 loc) · 1.08 KB
/
wdio.conf-web-driver-io-tutorial.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
// WDIO config file used to build/test my Github project
//
// This WDIO configuration can be run locally or from Travis CL
// To Run:
// $ wdio wdio.conf-web-driver-io-tutorial.js
exports.config = {
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
specs: [
'tutorial1-wdio.js'
],
exclude: [
],
capabilities: [ {
browserName: 'internet explorer',
version: '10.0',
platform: 'Windows 7',
tags: ['saucelabs'],
name: 'This is an example using wdio + saucelabs - IE, 10.0, Win7',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
build: process.env.TRAVIS_BUILD_NUMBER
}
],
sync: true,
logLevel: 'verbose',
coloredLogs: true,
bail: 0,
screenshotPath: './errorShots/',
baseUrl: 'http://localhost',
// Default timeout for all waitFor* commands.
waitforTimeout: 10000,
connectionRetryTimeout: 10000,
connectionRetryCount: 1,
framework: 'mocha',
reporters: ['spec'],
mochaOpts: {
ui: 'bdd'
},
};