-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbackstop-test-logo.config.js
50 lines (49 loc) · 1.13 KB
/
backstop-test-logo.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
40
41
42
43
44
45
46
47
48
49
50
module.exports = {
"id": "drink2go Logo",
"viewports": [
{
"label": "desktop",
"width": 1440,
"height": 800,
},
{
"label": "tablet",
"width": 768,
"height": 800,
},
{
"label": "mobile",
"width": 320,
"height": 800,
},
],
"resembleOutputOptions": {
"ignoreAntialiasing": true,
"usePreciseMatching": true
},
"onReadyScript": "onReady.js",
"scenarios": [
{
"label": "index TEST-Logo.",
"url": "http://localhost:3000/index.html",
"referenceUrl": "./reference/index.html",
misMatchThreshold: 1,
selectors: [`[data-test="logo"]`],
requireSameDimension: true
},
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference/test-logo",
"bitmaps_test": "backstop_data/bitmaps_test",
"engine_scripts": "engine_scripts",
"html_report": "backstop_data/html_report",
},
"report": ["browser"],
"engine": "puppeteer",
"engineOptions": {
"args": ["--no-sandbox"],
"gotoParameters": { "waitUntil": ["load", "networkidle0"], timeout: 20000 },
},
"debug": false,
"debugWindow": false
}