-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gemini.js
74 lines (69 loc) · 1.77 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
74
'use strict';
module.exports = {
rootUrl: 'http://localhost:8080/',
gridUrl: 'http://localhost:4444/wd/hub',
screenshotsDir: 'test/gemini/references',
sessionsPerBrowser: 3,
suitesPerSession: 10,
// retry: 2,
browsers: {
'desktop-chrome': {
// windowSize: '1280x768',
desiredCapabilities: {
browserName: 'chrome',
chromeOptions: {
args: [ '--disable-gpu' ]
}
}
},
'desktop-firefox': {
windowSize: '1280x768',
desiredCapabilities: {
browserName: 'firefox',
version: '47.0',
platform: 'Windows 10'
}
}
},
sets: {
local: {
files: ['test/gemini/suites/**/*.gemini.js'],
browsers: ['desktop-chrome']
},
sauce: {
files: ['test/gemini/suites/**/*.gemini.js'],
browsers: ['desktop-firefox']
}
},
system: {
parallelLimit: 3,
plugins: {
'html-reporter': {
enabled: true,
path: 'gemini-report'
},
'gemini-saucelabs-info': {
enabled: true
},
'json-server': {
enabled: true,
port: 8080,
schema: 'db.json',
routes: 'routes.json',
static: '.',
readOnly: true,
quiet: true
},
optipng: {
level: 5
}
},
coverage: {
enabled: true,
exclude: [
'node_modules/todomvc-common/base.css',
'null'
]
}
}
};