File tree 12 files changed +146
-67
lines changed
packages/browser-integration-tests/suites/replay 12 files changed +146
-67
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="utf-8 " />
5
5
</ head >
6
6
< body >
7
- < div role ="button " id ="error " class ="btn btn-error " aria-label ="An Error "> An Error</ div >
7
+ < div role ="button " id ="error " class ="btn btn-error " aria-label ="An Error in aria-label "> An Error</ div >
8
8
< button title ="Button title ">
9
9
< img id ="img " alt ="Alt Text " />
10
10
</ button >
Original file line number Diff line number Diff line change @@ -112,12 +112,12 @@ sentryTest(
112
112
expect . arrayContaining ( [
113
113
{
114
114
...expectedClickBreadcrumb ,
115
- message : 'body > div#error.btn.btn-error[aria-label="An Error"]' ,
115
+ message : 'body > div#error.btn.btn-error[aria-label="An Error in aria-label "]' ,
116
116
data : {
117
117
nodeId : expect . any ( Number ) ,
118
118
node : {
119
119
attributes : {
120
- 'aria-label' : '** *****' ,
120
+ 'aria-label' : '** ***** ** ********** ' ,
121
121
class : 'btn btn-error' ,
122
122
id : 'error' ,
123
123
role : 'button' ,
Original file line number Diff line number Diff line change 11
11
< input placeholder ="Placeholder should be masked " />
12
12
< div title ="Title should be masked "> Title should be masked</ div >
13
13
< svg style ="width:200px;height:200px " viewBox ="0 0 80 80 "> < path d =""/> < area /> < rect /> </ svg >
14
+ < div data-sentry-block >
15
+ < div > This should be blocked</ div >
16
+ </ div >
14
17
< svg style ="width:200px;height:200px " viewBox ="0 0 80 80 " data-sentry-unblock > < path d =""/> < area /> < rect /> </ svg >
15
18
< img style ="width:100px;height:100px " src ="file:///none.png " />
16
19
< img data-sentry-unblock style ="width:100px;height:100px " src ="file:///none.png " />
Original file line number Diff line number Diff line change 194
194
"textContent" : " \n " ,
195
195
"id" : 28
196
196
},
197
+ {
198
+ "type" : 2 ,
199
+ "tagName" : " div" ,
200
+ "attributes" : {
201
+ "rr_width" : " [1250-1300]px" ,
202
+ "rr_height" : " [0-50]px"
203
+ },
204
+ "childNodes" : [],
205
+ "id" : 29
206
+ },
207
+ {
208
+ "type" : 3 ,
209
+ "textContent" : " \n " ,
210
+ "id" : 30
211
+ },
197
212
{
198
213
"type" : 2 ,
199
214
"tagName" : " svg" ,
211
226
},
212
227
"childNodes" : [],
213
228
"isSVG" : true ,
214
- "id" : 30
229
+ "id" : 32
215
230
},
216
231
{
217
232
"type" : 2 ,
218
233
"tagName" : " area" ,
219
234
"attributes" : {},
220
235
"childNodes" : [],
221
236
"isSVG" : true ,
222
- "id" : 31
237
+ "id" : 33
223
238
},
224
239
{
225
240
"type" : 2 ,
226
241
"tagName" : " rect" ,
227
242
"attributes" : {},
228
243
"childNodes" : [],
229
244
"isSVG" : true ,
230
- "id" : 32
245
+ "id" : 34
231
246
}
232
247
],
233
248
"isSVG" : true ,
234
- "id" : 29
249
+ "id" : 31
235
250
},
236
251
{
237
252
"type" : 3 ,
238
253
"textContent" : " \n " ,
239
- "id" : 33
254
+ "id" : 35
240
255
},
241
256
{
242
257
"type" : 2 ,
246
261
"src" : " file:///none.png"
247
262
},
248
263
"childNodes" : [],
249
- "id" : 34
264
+ "id" : 36
250
265
},
251
266
{
252
267
"type" : 3 ,
253
268
"textContent" : " \n " ,
254
- "id" : 35
269
+ "id" : 37
255
270
},
256
271
{
257
272
"type" : 2 ,
262
277
"src" : " file:///none.png"
263
278
},
264
279
"childNodes" : [],
265
- "id" : 36
280
+ "id" : 38
266
281
},
267
282
{
268
283
"type" : 3 ,
269
284
"textContent" : " \n " ,
270
- "id" : 37
285
+ "id" : 39
271
286
},
272
287
{
273
288
"type" : 2 ,
277
292
"rr_height" : " [0-50]px"
278
293
},
279
294
"childNodes" : [],
280
- "id" : 38
295
+ "id" : 40
281
296
},
282
297
{
283
298
"type" : 3 ,
284
299
"textContent" : " \n " ,
285
- "id" : 39
300
+ "id" : 41
286
301
},
287
302
{
288
303
"type" : 2 ,
293
308
"rr_height" : " [0-50]px"
294
309
},
295
310
"childNodes" : [],
296
- "id" : 40
311
+ "id" : 42
297
312
},
298
313
{
299
314
"type" : 3 ,
300
315
"textContent" : " \n " ,
301
- "id" : 41
316
+ "id" : 43
302
317
},
303
318
{
304
319
"type" : 3 ,
305
320
"textContent" : " \n\n " ,
306
- "id" : 42
321
+ "id" : 44
307
322
}
308
323
],
309
324
"id" : 8
Original file line number Diff line number Diff line change 194
194
"textContent" : " \n " ,
195
195
"id" : 28
196
196
},
197
+ {
198
+ "type" : 2 ,
199
+ "tagName" : " div" ,
200
+ "attributes" : {
201
+ "rr_width" : " [1250-1300]px" ,
202
+ "rr_height" : " [0-50]px"
203
+ },
204
+ "childNodes" : [],
205
+ "id" : 29
206
+ },
207
+ {
208
+ "type" : 3 ,
209
+ "textContent" : " \n " ,
210
+ "id" : 30
211
+ },
197
212
{
198
213
"type" : 2 ,
199
214
"tagName" : " svg" ,
211
226
},
212
227
"childNodes" : [],
213
228
"isSVG" : true ,
214
- "id" : 30
229
+ "id" : 32
215
230
},
216
231
{
217
232
"type" : 2 ,
218
233
"tagName" : " area" ,
219
234
"attributes" : {},
220
235
"childNodes" : [],
221
236
"isSVG" : true ,
222
- "id" : 31
237
+ "id" : 33
223
238
},
224
239
{
225
240
"type" : 2 ,
226
241
"tagName" : " rect" ,
227
242
"attributes" : {},
228
243
"childNodes" : [],
229
244
"isSVG" : true ,
230
- "id" : 32
245
+ "id" : 34
231
246
}
232
247
],
233
248
"isSVG" : true ,
234
- "id" : 29
249
+ "id" : 31
235
250
},
236
251
{
237
252
"type" : 3 ,
238
253
"textContent" : " \n " ,
239
- "id" : 33
254
+ "id" : 35
240
255
},
241
256
{
242
257
"type" : 2 ,
246
261
"src" : " file:///none.png"
247
262
},
248
263
"childNodes" : [],
249
- "id" : 34
264
+ "id" : 36
250
265
},
251
266
{
252
267
"type" : 3 ,
253
268
"textContent" : " \n " ,
254
- "id" : 35
269
+ "id" : 37
255
270
},
256
271
{
257
272
"type" : 2 ,
262
277
"src" : " file:///none.png"
263
278
},
264
279
"childNodes" : [],
265
- "id" : 36
280
+ "id" : 38
266
281
},
267
282
{
268
283
"type" : 3 ,
269
284
"textContent" : " \n " ,
270
- "id" : 37
285
+ "id" : 39
271
286
},
272
287
{
273
288
"type" : 2 ,
277
292
"rr_height" : " [0-50]px"
278
293
},
279
294
"childNodes" : [],
280
- "id" : 38
295
+ "id" : 40
281
296
},
282
297
{
283
298
"type" : 3 ,
284
299
"textContent" : " \n " ,
285
- "id" : 39
300
+ "id" : 41
286
301
},
287
302
{
288
303
"type" : 2 ,
293
308
"rr_height" : " [0-50]px"
294
309
},
295
310
"childNodes" : [],
296
- "id" : 40
311
+ "id" : 42
297
312
},
298
313
{
299
314
"type" : 3 ,
300
315
"textContent" : " \n " ,
301
- "id" : 41
316
+ "id" : 43
302
317
},
303
318
{
304
319
"type" : 3 ,
305
320
"textContent" : " \n\n " ,
306
- "id" : 42
321
+ "id" : 44
307
322
}
308
323
],
309
324
"id" : 8
Original file line number Diff line number Diff line change 9
9
< div > This should be masked by default</ div >
10
10
< div data-sentry-unmask > This should be unmasked due to data attribute</ div >
11
11
< input placeholder ="Placeholder should be masked " />
12
+ < input data-sentry-unmask placeholder ="Placeholder can be unmasked " />
12
13
< div title ="Title should be masked "> Title should be masked</ div >
13
14
< svg style ="width:200px;height:200px " viewBox ="0 0 80 80 "> < path d =""/> < area /> < rect /> </ svg >
14
15
< svg style ="width:200px;height:200px " viewBox ="0 0 80 80 " data-sentry-unblock > < path d =""/> < area /> < rect /> </ svg >
You can’t perform that action at this time.
0 commit comments