forked from alfa-laboratory/arui-feather
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gemini.js
73 lines (65 loc) · 1.69 KB
/
.gemini.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
65
66
67
68
69
70
71
72
73
global.React = require('react');
const ALL_BROWSERS = !!process.env.ALL_BROWSERS;
let config = {
gridUrl: 'http://ondemand.saucelabs.com/wd/hub',
rootUrl: 'http://localhost:8668',
windowSize: '1024x768',
httpTimeout: 60000,
retry: 1,
sessionsPerBrowser: 3,
suitesPerSession: 150,
browsers: {
chromeWin7: {
desiredCapabilities: {
browserName: 'chrome',
version: '60',
platform: 'Windows 7'
}
}
},
system: {
debug: false,
exclude: [
'demo/',
'docs/',
'gemini/screens/',
'gemini-*/',
'node_modules/',
'src/'
],
plugins: {
babel: true,
'html-reporter': {},
optipng: true,
react: {
jsModules: ['./gemini-utils/gemini-main.css'],
port: 8668,
staticRoot: './',
webpackConfig: './webpack.gemini.config.js'
},
'saucelabs-info': {}
},
projectRoot: './',
tempDir: './'
}
};
if (ALL_BROWSERS) {
config.system.plugins.react.jsModules.unshift('./src/polyfills.js');
Object.assign(config.browsers, {
ie10Win7: {
desiredCapabilities: {
browserName: 'internet explorer',
version: '10',
platform: 'Windows 7'
}
},
ie11Win81: {
desiredCapabilities: {
browserName: 'internet explorer',
version: '11',
platform: 'Windows 8.1'
}
}
});
}
module.exports = config;