forked from GoogleChrome/developer.chrome.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.percy.js
33 lines (33 loc) · 806 Bytes
/
.percy.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
module.exports = {
'version': 1,
'snapshot': {
'widths': [375, 865, 1280],
'percy-css': `
iframe, .cookie-banner {
display: none !important;
}
`,
// We need this for pages that use the masonry layout which requires
// runtime JS to layout correctly.
'enable-javascript': true,
},
'static-snapshots': {
'path': 'dist',
'snapshot-files': [
'index.html',
'releases/index.html',
'blog/index.html',
'demo/index.html',
'docs/index.html',
'docs/extensions/index.html',
'docs/extensions/what-are-extensions/index.html',
].join(',')
},
'agent': {
'asset-discovery': {
'network-idle-timeout': 250, // ms
'page-pool-size-min': 5, // pages
'page-pool-size-max': 20 // pages
}
}
};