Skip to content

Commit 6bf9653

Browse files
committed
update snapshots
WIP ? WIP? add .gitginore
1 parent 441f3ca commit 6bf9653

File tree

15 files changed

+93
-39
lines changed

15 files changed

+93
-39
lines changed

packages/integration-tests/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test-results

packages/integration-tests/suites/replay/privacy-block/template.html renamed to packages/integration-tests/suites/replay/privacyBlock/template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="icon" type="image/png" href="assets/icon/favicon.png"/>
5+
<link rel="icon" type="image/png" href="file://assets/icon/favicon.png"/>
66
</head>
77
<body>
88
<button aria-label="Click me" onclick="console.log('Test log')">Click me</button>

packages/integration-tests/suites/replay/privacy-block/test.ts-snapshots/privacy-chromium.json renamed to packages/integration-tests/suites/replay/privacyBlock/test.ts-snapshots/privacy-webkit.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
"attributes": {
289289
"class": "nested-hide",
290290
"rr_width": "1264px",
291-
"rr_height": "18.5px"
291+
"rr_height": "18px"
292292
},
293293
"childNodes": [],
294294
"id": 40

packages/integration-tests/suites/replay/privacy/test.ts-snapshots/privacy.json renamed to packages/integration-tests/suites/replay/privacyBlock/test.ts-snapshots/privacy.json

Lines changed: 89 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,24 @@
2727
},
2828
"childNodes": [],
2929
"id": 5
30+
},
31+
{
32+
"type": 2,
33+
"tagName": "link",
34+
"attributes": {
35+
"rr_width": "0px",
36+
"rr_height": "0px"
37+
},
38+
"childNodes": [],
39+
"id": 6
3040
}
3141
],
3242
"id": 4
3343
},
3444
{
3545
"type": 3,
3646
"textContent": "\n ",
37-
"id": 6
47+
"id": 7
3848
},
3949
{
4050
"type": 2,
@@ -44,7 +54,7 @@
4454
{
4555
"type": 3,
4656
"textContent": "\n ",
47-
"id": 8
57+
"id": 9
4858
},
4959
{
5060
"type": 2,
@@ -57,15 +67,15 @@
5767
{
5868
"type": 3,
5969
"textContent": "***** **",
60-
"id": 10
70+
"id": 11
6171
}
6272
],
63-
"id": 9
73+
"id": 10
6474
},
6575
{
6676
"type": 3,
6777
"textContent": "\n ",
68-
"id": 11
78+
"id": 12
6979
},
7080
{
7181
"type": 2,
@@ -75,15 +85,15 @@
7585
{
7686
"type": 3,
7787
"textContent": "**** ****** ** ****** ** *******",
78-
"id": 13
88+
"id": 14
7989
}
8090
],
81-
"id": 12
91+
"id": 13
8292
},
8393
{
8494
"type": 3,
8595
"textContent": "\n ",
86-
"id": 14
96+
"id": 15
8797
},
8898
{
8999
"type": 2,
@@ -95,15 +105,15 @@
95105
{
96106
"type": 3,
97107
"textContent": "This should be unmasked due to data attribute",
98-
"id": 16
108+
"id": 17
99109
}
100110
],
101-
"id": 15
111+
"id": 16
102112
},
103113
{
104114
"type": 3,
105115
"textContent": "\n ",
106-
"id": 17
116+
"id": 18
107117
},
108118
{
109119
"type": 2,
@@ -112,12 +122,12 @@
112122
"placeholder": "*********** ****** ** ******"
113123
},
114124
"childNodes": [],
115-
"id": 18
125+
"id": 19
116126
},
117127
{
118128
"type": 3,
119129
"textContent": "\n ",
120-
"id": 19
130+
"id": 20
121131
},
122132
{
123133
"type": 2,
@@ -129,31 +139,58 @@
129139
{
130140
"type": 3,
131141
"textContent": "***** ****** ** ******",
132-
"id": 21
142+
"id": 22
133143
}
134144
],
135-
"id": 20
145+
"id": 21
136146
},
137147
{
138148
"type": 3,
139149
"textContent": "\n ",
140-
"id": 22
150+
"id": 23
141151
},
142152
{
143153
"type": 2,
144154
"tagName": "svg",
145155
"attributes": {
146-
"rr_width": "200px",
147-
"rr_height": "200px"
156+
"style": "width:200px;height:200px",
157+
"viewBox": "0 0 80 80"
148158
},
149-
"childNodes": [],
159+
"childNodes": [
160+
{
161+
"type": 2,
162+
"tagName": "path",
163+
"attributes": {
164+
"d": ""
165+
},
166+
"childNodes": [],
167+
"isSVG": true,
168+
"id": 25
169+
},
170+
{
171+
"type": 2,
172+
"tagName": "area",
173+
"attributes": {},
174+
"childNodes": [],
175+
"isSVG": true,
176+
"id": 26
177+
},
178+
{
179+
"type": 2,
180+
"tagName": "rect",
181+
"attributes": {},
182+
"childNodes": [],
183+
"isSVG": true,
184+
"id": 27
185+
}
186+
],
150187
"isSVG": true,
151-
"id": 23
188+
"id": 24
152189
},
153190
{
154191
"type": 3,
155192
"textContent": "\n ",
156-
"id": 24
193+
"id": 28
157194
},
158195
{
159196
"type": 2,
@@ -172,47 +209,47 @@
172209
},
173210
"childNodes": [],
174211
"isSVG": true,
175-
"id": 26
212+
"id": 30
176213
},
177214
{
178215
"type": 2,
179216
"tagName": "area",
180217
"attributes": {},
181218
"childNodes": [],
182219
"isSVG": true,
183-
"id": 27
220+
"id": 31
184221
},
185222
{
186223
"type": 2,
187224
"tagName": "rect",
188225
"attributes": {},
189226
"childNodes": [],
190227
"isSVG": true,
191-
"id": 28
228+
"id": 32
192229
}
193230
],
194231
"isSVG": true,
195-
"id": 25
232+
"id": 29
196233
},
197234
{
198235
"type": 3,
199236
"textContent": "\n ",
200-
"id": 29
237+
"id": 33
201238
},
202239
{
203240
"type": 2,
204241
"tagName": "img",
205242
"attributes": {
206-
"rr_width": "100px",
207-
"rr_height": "100px"
243+
"style": "width:100px;height:100px",
244+
"src": "file:///none.png"
208245
},
209246
"childNodes": [],
210-
"id": 30
247+
"id": 34
211248
},
212249
{
213250
"type": 3,
214251
"textContent": "\n ",
215-
"id": 31
252+
"id": 35
216253
},
217254
{
218255
"type": 2,
@@ -223,12 +260,12 @@
223260
"src": "file:///none.png"
224261
},
225262
"childNodes": [],
226-
"id": 32
263+
"id": 36
227264
},
228265
{
229266
"type": 3,
230267
"textContent": "\n ",
231-
"id": 33
268+
"id": 37
232269
},
233270
{
234271
"type": 2,
@@ -238,20 +275,36 @@
238275
"rr_height": "30px"
239276
},
240277
"childNodes": [],
241-
"id": 34
278+
"id": 38
279+
},
280+
{
281+
"type": 3,
282+
"textContent": "\n ",
283+
"id": 39
284+
},
285+
{
286+
"type": 2,
287+
"tagName": "div",
288+
"attributes": {
289+
"class": "nested-hide",
290+
"rr_width": "1264px",
291+
"rr_height": "18px"
292+
},
293+
"childNodes": [],
294+
"id": 40
242295
},
243296
{
244297
"type": 3,
245298
"textContent": "\n ",
246-
"id": 35
299+
"id": 41
247300
},
248301
{
249302
"type": 3,
250303
"textContent": "\n\n",
251-
"id": 36
304+
"id": 42
252305
}
253306
],
254-
"id": 7
307+
"id": 8
255308
}
256309
],
257310
"id": 3

packages/integration-tests/suites/replay/default-privacy/test.ts-snapshots/privacy.json renamed to packages/integration-tests/suites/replay/privacyDefault/test.ts-snapshots/privacy.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"attributes": {
3535
"rel": "icon",
3636
"type": "image/png",
37-
"href": "file:///Users/francesco/git/sentry-javascript/packages/integration-tests/suites/replay/default-privacy/dist/assets/icon/favicon.png"
37+
"href": "file://assets/icon/favicon.png"
3838
},
3939
"childNodes": [],
4040
"id": 6

0 commit comments

Comments
 (0)