-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathwdio.travis.conf.js
45 lines (45 loc) · 1.23 KB
/
wdio.travis.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
exports.config = {
specs: [
'./test/specs/**/*.js',
],
maxInstances: 3,
capabilities: [
{
browserName: 'firefox',
platform: 'Windows 10',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
build: process.env.TRAVIS_BUILD_NUMBER,
},
{
browserName: 'chrome',
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
build: process.env.TRAVIS_BUILD_NUMBER,
},
{
browserName: 'internet explorer',
platform: 'Windows 8.1',
version: '11.0',
exclude: [
'test/specs/response.js',
],
'tunnel-identifier': process.env.TRAVIS_JOB_NUMBER,
build: process.env.TRAVIS_BUILD_NUMBER,
},
],
sync: true,
logLevel: 'silent',
coloredLogs: true,
screenshotPath: './errorShots/',
baseUrl: 'http://popup-tools.dev:8080',
waitforTimeout: 20000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: ['sauce'],
user: process.env.SAUCE_USERNAME,
key: process.env.SAUCE_ACCESS_KEY,
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 40000,
},
};