-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathparallel.conf.js
More file actions
74 lines (65 loc) · 1.71 KB
/
parallel.conf.js
File metadata and controls
74 lines (65 loc) · 1.71 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
exports.config = {
user: process.env.BROWSERSTACK_USERNAME || 'BROWSERSTACK_USERNAME',
key: process.env.BROWSERSTACK_ACCESS_KEY || 'BROWSERSTACK_ACCESS_KEY',
hostname: 'hub.browserstack.com',
services: [
[
'browserstack',
{
accessibility: false,
buildIdentifier: '${BUILD_NUMBER}',
browserstackLocal: true,
opts: { forcelocal: false, localIdentifier: "webdriverio-appium-app-browserstack-repo" },
app: process.env.BROWSERSTACK_APP_PATH || './examples/WikipediaSample.apk',
testObservability: true,
testObservabilityOptions: {
buildTag: ['bstack_sample'],
}
}
]
],
capabilities: [{
'bstack:options': {
deviceName: 'Google Pixel 8',
osVersion: "14.0"
}
}, {
'bstack:options': {
deviceName: 'Samsung Galaxy S21',
osVersion: "11.0"
}
}],
commonCapabilities: {
'bstack:options': {
projectName: "BrowserStack Samples",
buildName: 'browserstack build',
sessionName: 'BStack parallel webdriverio-appium',
debug: true,
networkLogs: true,
source: 'webdriverio:appium-sample-sdk:v1.0'
}
},
maxInstances: 10,
updateJob: false,
specs: [
'./m*/**'
],
exclude: [],
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(let key in exports.config.commonCapabilities)
caps[key] = { ...caps[key], ...exports.config.commonCapabilities[key]};
});