forked from JetBrains/ring-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gemini.conf.js
51 lines (48 loc) · 1.09 KB
/
.gemini.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
const hostname = require('os').hostname();
const fullHostname = hostname.indexOf('.') !== -1 ? hostname : `${hostname}.labs.intellij.net`;
const rootUrl = `http://${fullHostname}:9999/examples/`;
const gridUrl = process.env.SELENIUM_GRID;
// Supports Firefox
const windowSize = '1024x1000';
console.log('Docsite url detected:', rootUrl);
console.log('Grid at:', gridUrl);
module.exports = {
rootUrl,
gridUrl,
retry: 2,
suitesPerSession: 100, // workaround for Gemini bug
system: {
plugins: {
teamcity: process.argv.indexOf('--teamcity') !== -1
},
projectRoot: __dirname
},
browsers: {
chrome: {
windowSize,
desiredCapabilities: {
browserName: 'chrome',
version: '57.0'
}
},
firefox: {
windowSize,
desiredCapabilities: {
browserName: 'firefox',
version: '47.0'
}
},
ie: {
windowSize,
desiredCapabilities: {
browserName: 'internet explorer'
}
}/*,
edge: {
windowSize,
desiredCapabilities: {
browserName: 'MicrosoftEdge'
}
}*/
}
};