-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathparallel.conf.js
More file actions
46 lines (40 loc) · 1.1 KB
/
parallel.conf.js
File metadata and controls
46 lines (40 loc) · 1.1 KB
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
exports.config = {
user: process.env.BROWSERSTACK_USERNAME || 'BROWSERSTACK_USERNAME',
key: process.env.BROWSERSTACK_ACCESS_KEY || 'BROWSERSTACK_ACCESS_KEY',
updateJob: false,
specs: [
'./examples/run-parallel-test/specs/single_test.js'
],
exclude: [],
maxInstances: 10,
commonCapabilities: {
project: "First Webdriverio iOS Project",
build: 'browserstack-build-1',
name: 'parallel_test',
app: process.env.BROWSERSTACK_APP_ID || 'bs://<hashed app-id>',
'browserstack.debug': true
},
capabilities: [{
device: "iPhone 11 Pro",
os_version: "13"
}, {
device: "iPhone 11 Pro Max",
os_version: "13"
}],
logLevel: 'info',
coloredLogs: true,
screenshotPath: './errorShots/',
baseUrl: '',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 40000
}
};
// Code to support common capabilities
exports.config.capabilities.forEach(function(caps){
for(var i in exports.config.commonCapabilities) caps[i] = caps[i] || exports.config.commonCapabilities[i];
});