Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
titaniumnetwork-dev
GitHub Repository: titaniumnetwork-dev/Incognito-old
Path: blob/main/static/src/gs/public/gopher-kart/css/milligram/backstop.conf.js
1344 views
1
'use strict'
2
const config = {
3
viewports: [{
4
name: 'phone',
5
width: 320,
6
height: 480
7
}, {
8
name: 'laptop',
9
width: 1280,
10
height: 800
11
}],
12
scenarios: [{
13
label: 'Typography',
14
url: 'http://localhost:3000',
15
hideSelectors: [],
16
removeSelectors: [],
17
selectors: ['#typography .example'],
18
readyEvent: null,
19
delay: 500,
20
misMatchThreshold: 0.1,
21
onReadyScript: null,
22
onBeforeScript: null
23
}, {
24
label: 'Blockquotes',
25
url: 'http://localhost:3000',
26
hideSelectors: [],
27
removeSelectors: [],
28
selectors: ['#blockquotes .example'],
29
readyEvent: null,
30
delay: 500,
31
misMatchThreshold: 0.1,
32
onReadyScript: null,
33
onBeforeScript: null
34
}, {
35
label: 'Buttons',
36
url: 'http://localhost:3000',
37
hideSelectors: [],
38
removeSelectors: [],
39
selectors: ['#buttons .example'],
40
readyEvent: null,
41
delay: 500,
42
misMatchThreshold: 0.1,
43
onReadyScript: null,
44
onBeforeScript: null
45
}, {
46
label: 'Lists',
47
url: 'http://localhost:3000',
48
hideSelectors: [],
49
removeSelectors: [],
50
selectors: ['#lists .example'],
51
readyEvent: null,
52
delay: 500,
53
misMatchThreshold: 0.1,
54
onReadyScript: null,
55
onBeforeScript: null
56
}, {
57
label: 'Forms',
58
url: 'http://localhost:3000',
59
hideSelectors: [],
60
removeSelectors: [],
61
selectors: ['#forms .example'],
62
readyEvent: null,
63
delay: 500,
64
misMatchThreshold: 0.1,
65
onReadyScript: null,
66
onBeforeScript: null
67
}, {
68
label: 'Tables',
69
url: 'http://localhost:3000',
70
hideSelectors: [],
71
removeSelectors: [],
72
selectors: ['#tables .example'],
73
readyEvent: null,
74
delay: 500,
75
misMatchThreshold: 0.1,
76
onReadyScript: null,
77
onBeforeScript: null
78
}, {
79
label: 'Grids',
80
url: 'http://localhost:3000',
81
hideSelectors: [],
82
removeSelectors: [],
83
selectors: ['#grids .example'],
84
readyEvent: null,
85
delay: 500,
86
misMatchThreshold: 0.1,
87
onReadyScript: null,
88
onBeforeScript: null
89
}, {
90
label: 'Codes',
91
url: 'http://localhost:3000',
92
hideSelectors: [],
93
removeSelectors: [],
94
selectors: ['#codes .example'],
95
readyEvent: null,
96
delay: 500,
97
misMatchThreshold: 0.1,
98
onReadyScript: null,
99
onBeforeScript: null
100
}, {
101
label: 'Utilities',
102
url: 'http://localhost:3000',
103
hideSelectors: [],
104
removeSelectors: [],
105
selectors: ['#utilities .example'],
106
readyEvent: null,
107
delay: 500,
108
misMatchThreshold: 0.1,
109
onReadyScript: null,
110
onBeforeScript: null
111
}],
112
paths: {
113
bitmaps_reference: 'test/regression',
114
bitmaps_test: 'node_modules/backstopjs/.tmp/bitmaps_test',
115
casper_scripts: 'node_modules/backstopjs/.tmp/casper_scripts',
116
html_report: 'node_modules/backstopjs/.tmp/html_report',
117
ci_report: 'node_modules/backstopjs/.tmp/ci_report'
118
},
119
engine: 'phantomjs',
120
report: [
121
'browser',
122
'CLI',
123
'CI'
124
],
125
casperFlags: [],
126
debug: false,
127
port: 3002
128
}
129
130
module.exports = config
131
132