-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbackstop.json
More file actions
56 lines (56 loc) · 1.74 KB
/
backstop.json
File metadata and controls
56 lines (56 loc) · 1.74 KB
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
{
"id": "website",
"viewports": [
{ "label": "mobile", "width": 320, "height": 812 },
{ "label": "480", "width": 480, "height": 812 },
{ "label": "640", "width": 640, "height": 812 },
{ "label": "800", "width": 800, "height": 812 },
{ "label": "wide", "width": 1280, "height": 800 }
],
"scenarios": [
{
"label": "Home",
"url": "http://host.docker.internal:4321/",
"misMatchThreshold": 0,
"delay": 500
},
{
"label": "About",
"url": "http://host.docker.internal:4321/about",
"misMatchThreshold": 0,
"delay": 500
},
{
"label": "Solutions",
"url": "http://host.docker.internal:4321/solutions",
"misMatchThreshold": 0,
"delay": 500
},
{
"label": "Partnerships",
"url": "http://host.docker.internal:4321/partnerships",
"misMatchThreshold": 0,
"delay": 500
},
{
"label": "Mobile menu open",
"url": "http://host.docker.internal:4321/#mobile-nav",
"misMatchThreshold": 0,
"delay": 500,
"viewports": [{ "label": "mobile", "width": 320, "height": 812 }]
}
],
"paths": {
"bitmaps_reference": "backstop_data/bitmaps_reference",
"bitmaps_test": "backstop_data/bitmaps_test",
"engine_scripts": "backstop_data/engine_scripts",
"html_report": "backstop_data/html_report",
"ci_report": "backstop_data/ci_report"
},
"report": ["browser"],
"engine": "puppeteer",
"engineOptions": { "args": ["--no-sandbox"] },
"asyncCaptureLimit": 1,
"asyncCompareLimit": 50,
"dockerCommandTemplate": "docker run --rm -i --mount type=bind,source=\"{cwd}\",target=/src --workdir /src --add-host=host.docker.internal:host-gateway backstopjs/backstopjs:{version} {backstopCommand} {args}"
}