-
Notifications
You must be signed in to change notification settings - Fork 1
/
backstop.json
122 lines (122 loc) · 2.66 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
{
"id": "docs",
"viewports": [
{
"label": "reference",
"width": 1600,
"height": 800
}
],
"scenarios": [
{
"label": "Accordions",
"url": "http://localhost:3000/accordions",
"delay": 200
},
{
"label": "Alerts",
"url": "http://localhost:3000/alerts",
"delay": 200
},
{
"label": "Buttons",
"url": "http://localhost:3000/buttons",
"delay": 200
},
{
"label": "Cards",
"url": "http://localhost:3000/cards",
"delay": 200
},
{
"label": "Forms",
"url": "http://localhost:3000/forms",
"delay": 200
},
{
"label": "Modals",
"url": "http://localhost:3000/modals",
"delay": 200,
"viewports": [
{
"label": "phone",
"width": 360,
"height": 740
},
{
"label": "desktop",
"width": 1280,
"height": 720
}
]
},
{
"label": "Login",
"url": "http://localhost:3000/login",
"delay": 200,
"viewports": [
{
"label": "phone",
"width": 360,
"height": 740
},
{
"label": "desktop",
"width": 1280,
"height": 720
}
]
},
{
"label": "Login partner",
"url": "http://localhost:3000/login?theme=partner",
"delay": 200
},
{
"label": "Unavailable application",
"url": "http://localhost:3000/error-app",
"delay": 200,
"viewports": [
{
"label": "phone",
"width": 360,
"height": 740
},
{
"label": "desktop",
"width": 1280,
"height": 720
}
]
},
{
"label": "Unavailable application dark mode",
"url": "http://localhost:3000/error-app",
"onReadyScript": "../../screenshots/makeDarkMode.js",
"delay": 200
},
{
"label": "Typography",
"url": "http://localhost:3000/typography",
"delay": 200
}
],
"paths": {
"bitmaps_reference": "screenshots/reference",
"bitmaps_test": "screenshots/test",
"html_report": "screenshots/html_report",
"ci_report": "screenshots/ci_report"
},
"report": ["CI"],
"onBeforeScript": "playwright/onBefore.js",
"onReadyScript": "playwright/onReady.js",
"engine": "playwright",
"engineOptions": {
"browser": "chromium"
},
"dockerCommandTemplate": "docker run --rm -i --network host --mount type=bind,source=\"{cwd}\",target=/src backstopjs/backstopjs:{version} {backstopCommand} {args}",
"asyncCaptureLimit": 5,
"asyncCompareLimit": 50,
"debug": false,
"debugWindow": false
}