-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathparallel.conf.js
executable file
·64 lines (60 loc) · 1.24 KB
/
parallel.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
exports.config = {
services: [
[
"lambdatest",
{
tunnel: false,
lambdatestOpts: {
logFile: "tunnel.log"
}
}
]
],
user: process.env.LT_USERNAME,
key: process.env.LT_ACCESS_KEY,
specs: [
'../tests/specs/single_test.js'
],
exclude: [],
maxInstances: 10,
commonCapabilities: {
name: 'Parallel Sample Test',
build: 'WebDriver Selenium Sample'
},
capabilities: [
{
platfrom: "Windows 10",
browserName: "Chrome",
version: "latest"
},
{
platform: "Windows 10",
browserName: "Firefox",
version: "latest"
},
{
platform: "Windows 10",
browserName: "MicrosoftEdge",
version: "latest"
}
],
logLevel: "info",
coloredLogs: true,
screenshotPath: "./errorShots/",
waitforTimeout: 10000,
connectionRetryTimeout: 90000,
connectionRetryCount: 3,
path: "/wd/hub",
hostname: "hub.lambdatest.com",
port: 80,
framework: "mocha",
mochaOpts: {
ui: "bdd",
timeout: 500000,
}
};
// 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];
});