-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathparallel.conf.js
More file actions
50 lines (44 loc) · 1.2 KB
/
parallel.conf.js
File metadata and controls
50 lines (44 loc) · 1.2 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
47
48
49
50
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: {
platformName: "Android",
'bstack:options' : {
"projectName" : "First Webdriverio Android Project",
"buildName" : "browserstack-build-1",
"debug" : "true"
}
},
capabilities: [{
"appium:deviceName": 'Google Pixel 3',
"appium:platformVersion": "9.0",
}, {
"appium:deviceName": 'Samsung Galaxy S10e',
"appium:platformVersion": "9.0",
}],
logLevel: 'info',
coloredLogs: true,
screenshotPath: './errorShots/',
baseUrl: '',
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
services: [['browserstack', {
app: 'assets/SampleAndroidApp.apk'
}]],
framework: 'mocha',
mochaOpts: {
ui: 'bdd',
timeout: 20000
}
};
// Code to support common capabilities
var common_caps = exports.config.commonCapabilities
var caps = exports.config.capabilities
for (var i in caps) caps[i] = { ...caps[i], ...common_caps };