-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackstop.json
133 lines (133 loc) · 3.32 KB
/
backstop.json
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"id": "rockarch.org",
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
},
{
"label": "tablet",
"width": 1024,
"height": 768
},
{
"label": "desktop",
"width": 1920,
"height": 1080
}
],
"onBeforeScript": "puppet/onBefore.js",
"onReadyScript": "puppet/onReady.js",
"scenarios": [
{
"label": "Homepage",
"url": "http://host.docker.internal:4000/",
"hideSelectors": ["div.lightwidget > img"]
},
{
"label": "Navigation Disclosure",
"url": "http://host.docker.internal:4000/",
"clickSelector": "#disclosure-nav > li > button",
"hideSelectors": ["div.lightwidget > img"],
"viewports": [
{
"label": "tablet",
"width": 1024,
"height": 768
},
{
"label": "desktop",
"width": 1920,
"height": 1080
}
]
},
{
"label": "Navigation Button Mobile",
"url": "http://host.docker.internal:4000/",
"clickSelector": "#nav-toggle",
"hideSelectors": ["div.lightwidget > img"],
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
}
]
},
{
"label": "Navigation Disclosure Mobile",
"url": "http://host.docker.internal:4000/",
"clickSelectors": ["#nav-toggle", "#disclosure-nav > li > button"],
"hideSelectors": ["div.lightwidget > img"],
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
}
]
},
{
"label": "About Us",
"url": "http://host.docker.internal:4000/about-us/"
},
{
"label": "Program Areas",
"url": "http://host.docker.internal:4000/about-us/program-areas/"
},
{
"label": "Table of Contents Mobile",
"url": "http://host.docker.internal:4000/about-us/program-areas/",
"clickSelector": "#nav-toggle",
"viewports": [
{
"label": "phone",
"width": 320,
"height": 480
}
]
},
{
"label": "Access And Request",
"url": "http://host.docker.internal:4000/collections/access-and-request-materials/"
},
{
"label": "Board and Staff",
"url": "http://host.docker.internal:4000/about-us/board-and-staff/"
},
{
"label": "About the Rockefellers",
"url": "http://host.docker.internal:4000/resources/about-the-rockefellers/"
},
{
"label": "Laura Spelman Rockefeller, 1839-1915",
"url": "http://host.docker.internal:4000/resources/about-the-rockefellers/laura-spelman-rockefeller/"
},
{
"label": "404",
"url": "http://host.docker.internal:4000/404/"
},
{
"label": "Privacy Policy",
"url": "http://host.docker.internal:4000/about-us/privacy-policy/"
}
],
"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,
"debug": false,
"debugWindow": false
}