-
Notifications
You must be signed in to change notification settings - Fork 802
/
local.conf.js
42 lines (39 loc) · 1000 Bytes
/
local.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
var testUrl = '/test/page/test.html',
viewports = [[1280, 1024], [640, 480], [320, 640]];
var capabilities = [
{
browserName: 'chrome'
},
{
browserName: 'firefox'
},
{
browserName: 'internet explorer',
urls: [testUrl, testUrl + '?ie=9', testUrl + '?ie=10'],
},
{
browserName: 'internet explorer',
urls: [testUrl + '?ie=8'],
viewports: [[1280, 1024]]
}
];
for (var i = 0; i < capabilities.length; i += 1) {
var capability = capabilities[i];
capability['urls'] = capability['urls'] || [testUrl];
capability['viewports'] = capability['viewports'] || viewports;
}
exports.config = {
capabilities: capabilities,
specs: [
'./test/specs/webdriver.spec.js'
],
logLevel: 'silent',
coloredLogs: true,
waitforTimeout: 99999999,
framework: 'jasmine',
reporter: 'spec',
pauseOnFail: true,
jasmineNodeOpts: {
defaultTimeoutInterval: 99999999
}
};