-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
39 lines (34 loc) · 1.09 KB
/
config.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
module.exports = {
viewports: [
{ width: 1280, height: 1024 },
{ width: 768, height: 1024 },
{ width: 480, height: 320 }
],
environments: {
current: 'http://www.minmote.no/',
candidate: 'http://testprod.minmote.no/'
},
css: {
'.search-results .articles-data-list li .element-image-container img': 'height: auto',
'.articles-list-content .articles-data-list li .element-image-container img': 'height: auto',
'.share-box .share-count': 'font-size: 0',
'.advert-horseshoe, .advert-bottom-wrapper': 'display: none'
},
pediff: {
defaultTimeout: 5000,
// verbose: true,
screenshotRoot: './img/',
// Resemble.js settings
outputSettings: {
errorColor: { red: 255, green: 0, blue: 255 },
// flat | movement | flatDifferenceIntensity | movementDifferenceIntensity
errorType: 'flatDifferenceIntensity',
transparency: 1,
largeImageThreshold: 0
}
},
output: {
junit: true,
json: true
}
};