You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/marketplace-management/src/components/ui/apps/__tests__/__snapshots__/app-referrals-confirm.test.tsx.snap
+231-4
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,9 @@ exports[`ReferralsConfirmationSelection should render component with props and l
9
9
<mock-styled.p
10
10
classname="mock-css."
11
11
>
12
-
This app has requested to read ‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
12
+
This app has requested to
13
+
read
14
+
‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
13
15
</mock-styled.p>
14
16
<mock-styled.div>
15
17
<mock-styled.div
@@ -46,7 +48,9 @@ exports[`ReferralsConfirmationSelection should render component with props and l
46
48
<mock-styled.p
47
49
classname="mock-css."
48
50
>
49
-
This app has requested to read ‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
51
+
This app has requested to
52
+
read
53
+
‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
50
54
</mock-styled.p>
51
55
<mock-styled.div>
52
56
<mock-styled.div
@@ -140,7 +144,9 @@ exports[`ReferralsConfirmationSelection should render component with props with
140
144
<mock-styled.p
141
145
classname="mock-css."
142
146
>
143
-
This app has requested to read ‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
147
+
This app has requested to
148
+
read
149
+
‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
144
150
</mock-styled.p>
145
151
<mock-styled.div>
146
152
<mock-styled.div
@@ -219,7 +225,228 @@ exports[`ReferralsConfirmationSelection should render component with props with
219
225
<mock-styled.p
220
226
classname="mock-css."
221
227
>
222
-
This app has requested to read ‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
228
+
This app has requested to
229
+
read
230
+
‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
231
+
</mock-styled.p>
232
+
<mock-styled.div>
233
+
<mock-styled.div
234
+
classname="mock-css.
235
+
margin-bottom: 0.75rem;
236
+
"
237
+
>
238
+
<mock-styled.input
239
+
checked="true"
240
+
classname=""
241
+
id="test-static-id"
242
+
type="checkbox"
243
+
/>
244
+
<mock-styled.label
245
+
htmlfor="test-static-id"
246
+
>
247
+
Install for selected referrals only
248
+
</mock-styled.label>
249
+
</mock-styled.div>
250
+
</mock-styled.div>
251
+
<mock-styled.div>
252
+
<mock-styled.div>
253
+
<mock-styled.input
254
+
id="select-referrals-to-install"
255
+
/>
256
+
<mock-styled.div
257
+
classname="mock-css.
258
+
margin-bottom: 1.25rem;
259
+
"
260
+
>
261
+
<mock-styled.span
262
+
classname="mock-css.
263
+
margin-left: 0.375rem;
264
+
mock-css. mock-css.
265
+
font-size: 1.5rem;
266
+
"
267
+
>
268
+
<svg />
269
+
</mock-styled.span>
270
+
<p>
271
+
Select at least one referral or un-tick the above checkbox to select all
272
+
</p>
273
+
</mock-styled.div>
274
+
<mock-styled.div
275
+
classname="mock-css.
276
+
margin-bottom: 1.25rem;
277
+
"
278
+
>
279
+
<mock-styled.input
280
+
id="test-static-id"
281
+
type="checkbox"
282
+
/>
283
+
<mock-styled.label
284
+
classname="mock-css."
285
+
htmlfor="test-static-id"
286
+
>
287
+
JTS - Testimonial
288
+
</mock-styled.label>
289
+
<mock-styled.input
290
+
id="test-static-id"
291
+
type="checkbox"
292
+
/>
293
+
<mock-styled.label
294
+
classname="mock-css."
295
+
htmlfor="test-static-id"
296
+
>
297
+
JRV - Removals
298
+
</mock-styled.label>
299
+
</mock-styled.div>
300
+
</mock-styled.div>
301
+
</mock-styled.div>
302
+
</div>,
303
+
"debug": [Function],
304
+
"findAllByAltText": [Function],
305
+
"findAllByDisplayValue": [Function],
306
+
"findAllByLabelText": [Function],
307
+
"findAllByPlaceholderText": [Function],
308
+
"findAllByRole": [Function],
309
+
"findAllByTestId": [Function],
310
+
"findAllByText": [Function],
311
+
"findAllByTitle": [Function],
312
+
"findByAltText": [Function],
313
+
"findByDisplayValue": [Function],
314
+
"findByLabelText": [Function],
315
+
"findByPlaceholderText": [Function],
316
+
"findByRole": [Function],
317
+
"findByTestId": [Function],
318
+
"findByText": [Function],
319
+
"findByTitle": [Function],
320
+
"getAllByAltText": [Function],
321
+
"getAllByDisplayValue": [Function],
322
+
"getAllByLabelText": [Function],
323
+
"getAllByPlaceholderText": [Function],
324
+
"getAllByRole": [Function],
325
+
"getAllByTestId": [Function],
326
+
"getAllByText": [Function],
327
+
"getAllByTitle": [Function],
328
+
"getByAltText": [Function],
329
+
"getByDisplayValue": [Function],
330
+
"getByLabelText": [Function],
331
+
"getByPlaceholderText": [Function],
332
+
"getByRole": [Function],
333
+
"getByTestId": [Function],
334
+
"getByText": [Function],
335
+
"getByTitle": [Function],
336
+
"queryAllByAltText": [Function],
337
+
"queryAllByDisplayValue": [Function],
338
+
"queryAllByLabelText": [Function],
339
+
"queryAllByPlaceholderText": [Function],
340
+
"queryAllByRole": [Function],
341
+
"queryAllByTestId": [Function],
342
+
"queryAllByText": [Function],
343
+
"queryAllByTitle": [Function],
344
+
"queryByAltText": [Function],
345
+
"queryByDisplayValue": [Function],
346
+
"queryByLabelText": [Function],
347
+
"queryByPlaceholderText": [Function],
348
+
"queryByRole": [Function],
349
+
"queryByTestId": [Function],
350
+
"queryByText": [Function],
351
+
"queryByTitle": [Function],
352
+
"rerender": [Function],
353
+
"unmount": [Function],
354
+
}
355
+
`;
356
+
357
+
exports[`ReferralsConfirmationSelection should render component with read and write with both scopes on app 1`] =`
358
+
{
359
+
"asFragment": [Function],
360
+
"baseElement": <body>
361
+
<div>
362
+
<mock-styled.div />
363
+
<mock-styled.p
364
+
classname="mock-css."
365
+
>
366
+
This app has requested to
367
+
read and write
368
+
‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
369
+
</mock-styled.p>
370
+
<mock-styled.div>
371
+
<mock-styled.div
372
+
classname="mock-css.
373
+
margin-bottom: 0.75rem;
374
+
"
375
+
>
376
+
<mock-styled.input
377
+
checked="true"
378
+
classname=""
379
+
id="test-static-id"
380
+
type="checkbox"
381
+
/>
382
+
<mock-styled.label
383
+
htmlfor="test-static-id"
384
+
>
385
+
Install for selected referrals only
386
+
</mock-styled.label>
387
+
</mock-styled.div>
388
+
</mock-styled.div>
389
+
<mock-styled.div>
390
+
<mock-styled.div>
391
+
<mock-styled.input
392
+
id="select-referrals-to-install"
393
+
/>
394
+
<mock-styled.div
395
+
classname="mock-css.
396
+
margin-bottom: 1.25rem;
397
+
"
398
+
>
399
+
<mock-styled.span
400
+
classname="mock-css.
401
+
margin-left: 0.375rem;
402
+
mock-css. mock-css.
403
+
font-size: 1.5rem;
404
+
"
405
+
>
406
+
<svg />
407
+
</mock-styled.span>
408
+
<p>
409
+
Select at least one referral or un-tick the above checkbox to select all
410
+
</p>
411
+
</mock-styled.div>
412
+
<mock-styled.div
413
+
classname="mock-css.
414
+
margin-bottom: 1.25rem;
415
+
"
416
+
>
417
+
<mock-styled.input
418
+
id="test-static-id"
419
+
type="checkbox"
420
+
/>
421
+
<mock-styled.label
422
+
classname="mock-css."
423
+
htmlfor="test-static-id"
424
+
>
425
+
JTS - Testimonial
426
+
</mock-styled.label>
427
+
<mock-styled.input
428
+
id="test-static-id"
429
+
type="checkbox"
430
+
/>
431
+
<mock-styled.label
432
+
classname="mock-css."
433
+
htmlfor="test-static-id"
434
+
>
435
+
JRV - Removals
436
+
</mock-styled.label>
437
+
</mock-styled.div>
438
+
</mock-styled.div>
439
+
</mock-styled.div>
440
+
</div>
441
+
</body>,
442
+
"container": <div>
443
+
<mock-styled.div />
444
+
<mock-styled.p
445
+
classname="mock-css."
446
+
>
447
+
This app has requested to
448
+
read and write
449
+
‘Referral’ data. Before installation please select the referral types that this app will have access to. This defaults to ‘All Referral Types’, unless selected below.
0 commit comments