@public-ui/visual-tests 2.2.11-rc.1 → 2.2.11-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/visual-tests",
3
- "version": "2.2.11-rc.1",
3
+ "version": "2.2.11-rc.3",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -25,18 +25,18 @@
25
25
  "kolibri-visual-test": "src/index.js"
26
26
  },
27
27
  "dependencies": {
28
- "@playwright/test": "1.49.1",
28
+ "@playwright/test": "1.52.0",
29
29
  "axe-playwright": "2.1.0",
30
- "portfinder": "1.0.35",
30
+ "portfinder": "1.0.37",
31
31
  "serve": "14.2.4",
32
- "@public-ui/sample-react": "2.2.11-rc.1"
32
+ "@public-ui/sample-react": "2.2.11-rc.3"
33
33
  },
34
34
  "devDependencies": {
35
- "@babel/eslint-parser": "7.26.10",
36
- "@babel/plugin-syntax-import-attributes": "7.26.0",
37
- "@babel/preset-env": "7.26.9",
35
+ "@babel/eslint-parser": "7.27.1",
36
+ "@babel/plugin-syntax-import-attributes": "7.27.1",
37
+ "@babel/preset-env": "7.27.2",
38
38
  "eslint": "8.57.1",
39
- "knip": "5.46.0",
39
+ "knip": "5.56.0",
40
40
  "prettier": "3.5.3"
41
41
  },
42
42
  "files": [
@@ -23,189 +23,866 @@ export const ROUTES = new Map();
23
23
  * - skip: boolean (Default: false)
24
24
  */
25
25
 
26
- ROUTES.set('abbr/basic');
27
- ROUTES.set('accordion/basic');
28
- ROUTES.set('accordion/headlines');
29
- ROUTES.set('alert/basic');
30
- ROUTES.set('alert/card-msg');
31
- ROUTES.set('alert/html');
32
- ROUTES.set('avatar/basic');
33
- ROUTES.set('badge/basic');
34
- ROUTES.set('badge/button');
35
- ROUTES.set('breadcrumb/basic');
36
- ROUTES.set('button-group/basic');
37
- ROUTES.set('button-link/basic');
38
- ROUTES.set('button-link/icons');
39
- ROUTES.set('button-link/image');
40
- ROUTES.set('button/basic');
41
- ROUTES.set('button/icons');
42
- ROUTES.set('button/width');
43
- ROUTES.set('button/access-key');
44
- ROUTES.set('button/baselined');
45
- ROUTES.set('button/short-key');
46
- ROUTES.set('card/basic');
47
- ROUTES.set('combobox/basic');
48
- ROUTES.set('details/basic');
26
+ ROUTES.set('abbr/basic', {
27
+ snapshot: {
28
+ zoom: {
29
+ skip: true,
30
+ },
31
+ },
32
+ });
33
+ ROUTES.set('accordion/basic', {
34
+ snapshot: {
35
+ zoom: {
36
+ skip: true,
37
+ },
38
+ },
39
+ });
40
+ ROUTES.set('accordion/headlines', {
41
+ snapshot: {
42
+ skip: true,
43
+ zoom: {
44
+ skip: true,
45
+ },
46
+ },
47
+ });
48
+ ROUTES.set('alert/basic', {
49
+ snapshot: {
50
+ zoom: {
51
+ skip: true,
52
+ },
53
+ },
54
+ });
55
+ ROUTES.set('alert/card-msg', {
56
+ snapshot: {
57
+ zoom: {
58
+ skip: true,
59
+ },
60
+ },
61
+ });
62
+ ROUTES.set('alert/html', {
63
+ snapshot: {
64
+ skip: true,
65
+ zoom: {
66
+ skip: true,
67
+ },
68
+ },
69
+ });
70
+ ROUTES.set('avatar/basic', {
71
+ snapshot: {
72
+ zoom: {
73
+ skip: true,
74
+ },
75
+ },
76
+ });
77
+ ROUTES.set('badge/basic', {
78
+ snapshot: {
79
+ skip: true,
80
+ },
81
+ });
82
+ ROUTES.set('badge/button', {
83
+ snapshot: {
84
+ skip: true,
85
+ },
86
+ });
87
+ ROUTES.set('breadcrumb/basic', {
88
+ snapshot: {
89
+ skip: true,
90
+ },
91
+ });
92
+ ROUTES.set('button-group/basic', {
93
+ snapshot: {
94
+ skip: true,
95
+ },
96
+ });
97
+ ROUTES.set('button-link/basic', {
98
+ snapshot: {
99
+ skip: true,
100
+ zoom: {
101
+ skip: true,
102
+ },
103
+ },
104
+ });
105
+ ROUTES.set('button-link/icons', {
106
+ snapshot: {
107
+ skip: true,
108
+ },
109
+ });
110
+ ROUTES.set('button-link/image', {
111
+ snapshot: {
112
+ skip: true,
113
+ zoom: {
114
+ skip: true,
115
+ },
116
+ },
117
+ });
118
+ ROUTES.set('button/basic', {
119
+ snapshot: {
120
+ zoom: {
121
+ skip: true,
122
+ },
123
+ },
124
+ });
125
+ ROUTES.set('button/icons', {
126
+ snapshot: {
127
+ skip: true,
128
+ zoom: {
129
+ skip: true,
130
+ },
131
+ },
132
+ });
133
+ ROUTES.set('button/width', {
134
+ snapshot: {
135
+ skip: true,
136
+ zoom: {
137
+ skip: true,
138
+ },
139
+ },
140
+ });
141
+ ROUTES.set('button/access-key', {
142
+ snapshot: {
143
+ skip: true,
144
+ zoom: {
145
+ skip: true,
146
+ },
147
+ },
148
+ });
149
+ ROUTES.set('button/baselined', {
150
+ snapshot: {
151
+ skip: true,
152
+ zoom: {
153
+ skip: true,
154
+ },
155
+ },
156
+ });
157
+ ROUTES.set('button/short-key', {
158
+ snapshot: {
159
+ zoom: {
160
+ skip: true,
161
+ },
162
+ },
163
+ });
164
+ ROUTES.set('card/basic', {
165
+ snapshot: {
166
+ zoom: {
167
+ skip: true,
168
+ },
169
+ },
170
+ });
171
+ ROUTES.set('combobox/basic', {
172
+ snapshot: {
173
+ skip: true,
174
+ },
175
+ });
176
+ ROUTES.set('details/basic', {
177
+ snapshot: {
178
+ zoom: {
179
+ skip: true,
180
+ },
181
+ },
182
+ });
49
183
  ROUTES.set('drawer/basic?align=left', {
50
184
  snapshot: {
51
- viewportSize: {
52
- width: 1920,
53
- height: 600,
185
+ viewportSize: {
186
+ width: 600,
187
+ height: 400,
188
+ },
189
+ zoom: {
190
+ skip: true,
191
+ },
192
+ },
193
+ });
194
+ ROUTES.set('drawer/basic?align=top', {
195
+ snapshot: {
196
+ viewportSize: {
197
+ width: 600,
198
+ height: 400,
199
+ },
200
+ zoom: {
201
+ skip: true,
202
+ },
203
+ },
204
+ });
205
+ ROUTES.set('drawer/basic?align=right', {
206
+ snapshot: {
207
+ skip: true,
208
+ zoom: {
209
+ skip: true,
210
+ },
211
+ },
212
+ });
213
+ ROUTES.set('drawer/basic?align=bottom', {
214
+ snapshot: {
215
+ skip: true,
216
+ zoom: {
217
+ skip: true,
218
+ },
219
+ },
220
+ });
221
+ ROUTES.set('form/basic', {
222
+ snapshot: {
223
+ skip: true,
224
+ zoom: {
225
+ skip: true,
226
+ },
227
+ },
228
+ });
229
+ ROUTES.set('form/error-list', {
230
+ snapshot: {
231
+ viewportSize: {
232
+ width: 500,
233
+ height: 600,
234
+ },
235
+ zoom: {
236
+ skip: true,
237
+ },
238
+ },
239
+ });
240
+ ROUTES.set('heading/badge', {
241
+ snapshot: {
242
+ skip: true,
243
+ zoom: {
244
+ skip: true,
245
+ },
246
+ },
247
+ });
248
+ ROUTES.set('heading/basic', {
249
+ snapshot: {
250
+ viewportSize: {
251
+ width: 250,
252
+ height: 300,
253
+ },
254
+ zoom: {
255
+ skip: true,
256
+ },
257
+ },
258
+ });
259
+ ROUTES.set('heading/paragraph', {
260
+ snapshot: {
261
+ skip: true,
262
+ zoom: {
263
+ skip: true,
264
+ },
265
+ },
266
+ });
267
+ ROUTES.set('icon/basic', {
268
+ snapshot: {
269
+ viewportSize: {
270
+ width: 60,
271
+ height: 80,
272
+ },
273
+ zoom: {
274
+ skip: true,
275
+ },
276
+ },
277
+ });
278
+ ROUTES.set('image/basic', {
279
+ snapshot: {
280
+ skip: true,
281
+ zoom: {
282
+ skip: true,
283
+ },
284
+ },
285
+ });
286
+ ROUTES.set('indented-text/basic', {
287
+ snapshot: {
288
+ zoom: {
289
+ skip: true,
290
+ },
291
+ },
292
+ });
293
+ ROUTES.set('input-checkbox/basic', {
294
+ axe: {
295
+ skipFailures: true,
296
+ },
297
+ snapshot: {
298
+ viewportSize: {
299
+ width: 500,
300
+ height: 100,
301
+ },
302
+ zoom: {
303
+ skip: true,
304
+ },
305
+ },
306
+ });
307
+ ROUTES.set('input-checkbox/button', {
308
+ axe: {
309
+ skipFailures: true,
310
+ },
311
+ snapshot: {
312
+ viewportSize: {
313
+ width: 500,
314
+ height: 100,
315
+ },
316
+ zoom: {
317
+ skip: true,
318
+ },
319
+ },
320
+ });
321
+ ROUTES.set('input-checkbox/switch', {
322
+ axe: {
323
+ skipFailures: true,
324
+ },
325
+ snapshot: {
326
+ viewportSize: {
327
+ width: 500,
328
+ height: 100,
329
+ },
330
+ zoom: {
331
+ skip: true,
332
+ },
333
+ },
334
+ });
335
+ ROUTES.set('input-color/basic', {
336
+ snapshot: {
337
+ viewportSize: {
338
+ width: 500,
339
+ height: 100,
340
+ },
341
+ zoom: {
342
+ skip: true,
343
+ },
344
+ },
345
+ });
346
+ ROUTES.set('input-date/basic', {
347
+ snapshot: {
348
+ viewportSize: {
349
+ width: 500,
350
+ height: 100,
351
+ },
352
+ zoom: {
353
+ skip: true,
354
+ },
355
+ },
356
+ });
357
+ ROUTES.set('input-email/basic', {
358
+ snapshot: {
359
+ viewportSize: {
360
+ width: 500,
361
+ height: 100,
362
+ },
363
+ zoom: {
364
+ skip: true,
365
+ },
366
+ },
367
+ });
368
+ ROUTES.set('input-file/basic', {
369
+ snapshot: {
370
+ viewportSize: {
371
+ width: 500,
372
+ height: 100,
373
+ },
374
+ zoom: {
375
+ skip: true,
376
+ },
377
+ },
378
+ });
379
+ ROUTES.set('input-number/basic', {
380
+ snapshot: {
381
+ viewportSize: {
382
+ width: 500,
383
+ height: 100,
384
+ },
385
+ zoom: {
386
+ skip: true,
387
+ },
388
+ },
389
+ });
390
+ ROUTES.set('input-password/basic', {
391
+ snapshot: {
392
+ viewportSize: {
393
+ width: 500,
394
+ height: 100,
395
+ },
396
+ zoom: {
397
+ skip: true,
398
+ },
399
+ },
400
+ });
401
+ ROUTES.set('input-password/show-password', {
402
+ snapshot: {
403
+ viewportSize: {
404
+ width: 500,
405
+ height: 100,
406
+ },
407
+ zoom: {
408
+ skip: true,
409
+ },
410
+ },
411
+ });
412
+ ROUTES.set('input-radio/basic', {
413
+ axe: {
414
+ skipFailures: true,
415
+ },
416
+ snapshot: {
417
+ viewportSize: {
418
+ width: 500,
419
+ height: 100,
420
+ },
421
+ zoom: {
422
+ skip: true,
423
+ },
424
+ },
425
+ });
426
+ ROUTES.set('input-radio/horizontal', {
427
+ snapshot: {
428
+ viewportSize: {
429
+ width: 500,
430
+ height: 100,
431
+ },
432
+ zoom: {
433
+ skip: true,
434
+ },
435
+ },
436
+ });
437
+ ROUTES.set('input-radio/object', {
438
+ snapshot: {
439
+ viewportSize: {
440
+ width: 500,
441
+ height: 100,
442
+ },
443
+ zoom: {
444
+ skip: true,
445
+ },
446
+ },
447
+ });
448
+ ROUTES.set('input-range/basic', {
449
+ snapshot: {
450
+ viewportSize: {
451
+ width: 500,
452
+ height: 100,
453
+ },
454
+ zoom: {
455
+ skip: true,
456
+ },
457
+ },
458
+ });
459
+ ROUTES.set('input-text/basic', {
460
+ axe: {
461
+ skipFailures: true,
462
+ },
463
+ snapshot: {
464
+ viewportSize: {
465
+ width: 500,
466
+ height: 100,
467
+ },
468
+ zoom: {
469
+ skip: true,
470
+ },
471
+ },
472
+ });
473
+ ROUTES.set('input-text/focus', {
474
+
475
+ });
476
+ ROUTES.set('kolibri/basic', {
477
+ snapshot: {
478
+ skip: true,
479
+ zoom: {
480
+ skip: true,
481
+ },
482
+ },
483
+ });
484
+ ROUTES.set('link-button/basic', {
485
+ snapshot: {
486
+ skip: true,
487
+ },
488
+ });
489
+ ROUTES.set('link-group/basic', {
490
+ snapshot: {
491
+ skip: true,
492
+ },
493
+ });
494
+ ROUTES.set('link-group/horizontal', {
495
+ snapshot: {
496
+ skip: true,
497
+ },
498
+ });
499
+ ROUTES.set('link/basic', {
500
+ snapshot: {
501
+ zoom: {
502
+ skip: true,
503
+ },
504
+ },
505
+ });
506
+ ROUTES.set('link/icons', {
507
+ snapshot: {
508
+ skip: true,
509
+ },
510
+ });
511
+ ROUTES.set('link/image', {
512
+ snapshot: {
513
+ skip: true,
514
+ zoom: {
515
+ skip: true,
516
+ },
517
+ },
518
+ });
519
+ ROUTES.set('link/target', {
520
+ snapshot: {
521
+ skip: true,
522
+ },
523
+ });
524
+ ROUTES.set('modal/basic', {
525
+ snapshot: {
526
+ skip: true,
527
+ zoom: {
528
+ skip: true,
529
+ },
530
+ },
531
+ });
532
+ ROUTES.set('modal/basic?show-modal=true', {
533
+ snapshot: {
534
+ viewportSize: {
535
+ width: 1920,
536
+ height: 600,
537
+ },
538
+ zoom: {
539
+ skip: true,
540
+ },
541
+ },
542
+ });
543
+ ROUTES.set('nav/aria-current', {
544
+ snapshot: {
545
+ skip: true,
546
+ zoom: {
547
+ skip: true,
548
+ },
549
+ },
550
+ });
551
+ ROUTES.set('nav/basic', {
552
+ snapshot: {
553
+ viewportSize: {
554
+ width: 400,
555
+ height: 100,
556
+ },
557
+ zoom: {
558
+ skip: true,
559
+ },
560
+ },
561
+ });
562
+ ROUTES.set('nav/horizontal', {
563
+ snapshot: {
564
+ zoom: {
565
+ skip: true,
566
+ },
567
+ },
568
+ });
569
+ ROUTES.set('pagination/basic', {
570
+ snapshot: {
571
+ zoom: {
572
+ skip: true,
573
+ },
574
+ },
575
+ });
576
+ ROUTES.set('progress/basic', {
577
+ snapshot: {
578
+ zoom: {
579
+ skip: true,
580
+ },
581
+ },
582
+ });
583
+ ROUTES.set('quote/basic', {
584
+ snapshot: {
585
+ skip: true,
586
+ },
587
+ });
588
+ ROUTES.set('quote/block', {
589
+ snapshot: {
590
+ zoom: {
591
+ skip: true,
592
+ },
593
+ },
594
+ });
595
+ ROUTES.set('select/basic', {
596
+ snapshot: {
597
+ viewportSize: {
598
+ width: 500,
599
+ height: 100,
600
+ },
601
+ zoom: {
602
+ skip: true,
603
+ },
604
+ },
605
+ });
606
+ ROUTES.set('skip-nav/basic', {
607
+ snapshot: {
608
+ skip: true,
609
+ zoom: {
610
+ skip: true,
611
+ },
612
+ },
613
+ });
614
+ ROUTES.set('spin/basic', {
615
+ snapshot: {
616
+ viewportSize: {
617
+ width: 100,
618
+ height: 100,
619
+ },
620
+ zoom: {
621
+ skip: true,
622
+ },
623
+ },
624
+ });
625
+ ROUTES.set('single-select/basic', {
626
+ axe: {
627
+ skipFailures: true,
628
+ },
629
+ snapshot: {
630
+ viewportSize: {
631
+ width: 500,
632
+ height: 100,
633
+ },
634
+ zoom: {
635
+ skip: true,
636
+ },
637
+ },
638
+ });
639
+ ROUTES.set('spin/custom', {
640
+ snapshot: {
641
+ viewportSize: {
642
+ width: 100,
643
+ height: 100,
644
+ },
645
+ zoom: {
646
+ skip: true,
647
+ },
648
+ },
649
+ });
650
+ ROUTES.set('spin/cycle', {
651
+ snapshot: {
652
+ viewportSize: {
653
+ width: 100,
654
+ height: 100,
655
+ },
656
+ zoom: {
657
+ skip: true,
658
+ },
659
+ },
660
+ });
661
+ ROUTES.set('split-button/basic', {
662
+ snapshot: {
663
+ viewportSize: {
664
+ width: 300,
665
+ height: 100,
666
+ },
667
+ zoom: {
668
+ skip: true,
669
+ },
670
+ },
671
+ });
672
+ ROUTES.set('table/column-alignment', {
673
+ snapshot: {
674
+ zoom: {
675
+ skip: true,
676
+ },
677
+ },
678
+ });
679
+ ROUTES.set('table/sort-data', {
680
+ snapshot: {
681
+ skip: true,
682
+ zoom: {
683
+ skip: true,
684
+ },
685
+ },
686
+ });
687
+ ROUTES.set('table/with-footer', {
688
+ snapshot: {
689
+ zoom: {
690
+ skip: true,
691
+ },
692
+ },
693
+ });
694
+ ROUTES.set('table/with-pagination', {
695
+ snapshot: {
696
+ zoom: {
697
+ skip: true,
698
+ },
699
+ },
700
+ });
701
+ ROUTES.set('table/pagination-position', {
702
+ snapshot: {
703
+ skip: true,
704
+ zoom: {
705
+ skip: true,
706
+ },
707
+ },
708
+ });
709
+ ROUTES.set('table/complex-headers', {
710
+ snapshot: {
711
+ zoom: {
712
+ skip: true,
713
+ },
714
+ },
715
+ });
716
+ ROUTES.set('table/stateful-with-selection', {
717
+ snapshot: {
718
+ zoom: {
719
+ skip: true,
720
+ },
721
+ },
722
+ });
723
+ ROUTES.set('table/stateful-with-single-selection', {
724
+ snapshot: {
725
+ zoom: {
726
+ skip: true,
54
727
  },
55
728
  },
56
729
  });
57
- ROUTES.set('drawer/basic?align=top', {
730
+ ROUTES.set('table/stateless-with-single-selection', {
58
731
  snapshot: {
59
- viewportSize: {
60
- width: 800,
61
- height: 600,
732
+ zoom: {
733
+ skip: true,
62
734
  },
63
735
  },
64
736
  });
65
- ROUTES.set('drawer/basic?align=right', {
737
+ ROUTES.set('table/stateless-with-selection', {
738
+ snapshot: {
739
+ zoom: {
740
+ skip: true,
741
+ },
742
+ },
743
+ });
744
+ ROUTES.set('table/stateless', {
745
+ snapshot: {
746
+ skip: true,
747
+ zoom: {
748
+ skip: true,
749
+ },
750
+ },
751
+ });
752
+ ROUTES.set('tabs/basic', {
753
+ snapshot: {
754
+ zoom: {
755
+ skip: true,
756
+ },
757
+ },
758
+ });
759
+ ROUTES.set('tabs/icons-only', {
66
760
  snapshot: {
67
761
  viewportSize: {
68
- width: 1920,
69
- height: 600,
762
+ width: 200,
763
+ height: 100,
764
+ },
765
+ zoom: {
766
+ skip: true,
70
767
  },
71
768
  },
72
769
  });
73
- ROUTES.set('drawer/basic?align=bottom', {
770
+ ROUTES.set('textarea/adjust-height', {
771
+ snapshot: {
772
+ zoom: {
773
+ skip: true,
774
+ },
775
+ },
776
+ });
777
+ ROUTES.set('textarea/basic', {
74
778
  snapshot: {
75
779
  viewportSize: {
76
- width: 800,
77
- height: 600,
780
+ width: 500,
781
+ height: 100,
782
+ },
783
+ zoom: {
784
+ skip: true,
78
785
  },
79
786
  },
80
787
  });
81
- ROUTES.set('form/basic');
82
- ROUTES.set('form/error-list');
83
- ROUTES.set('heading/badge');
84
- ROUTES.set('heading/basic');
85
- ROUTES.set('heading/paragraph');
86
- ROUTES.set('icon/basic');
87
- ROUTES.set('image/basic');
88
- ROUTES.set('indented-text/basic');
89
- ROUTES.set('input-checkbox/basic');
90
- ROUTES.set('input-checkbox/button');
91
- ROUTES.set('input-checkbox/switch');
92
- ROUTES.set('input-color/basic');
93
- ROUTES.set('input-date/basic');
94
- ROUTES.set('input-email/basic');
95
- ROUTES.set('input-file/basic');
96
- ROUTES.set('input-number/basic');
97
- ROUTES.set('input-password/basic');
98
- ROUTES.set('input-password/show-password');
99
- ROUTES.set('input-radio/basic');
100
- ROUTES.set('input-radio/horizontal');
101
- ROUTES.set('input-radio/object');
102
- ROUTES.set('input-range/basic');
103
- ROUTES.set('input-text/basic', {
104
- axe: {
105
- skipFailures: true,
788
+ ROUTES.set('textarea/resize', {
789
+ snapshot: {
790
+ skip: true,
791
+ zoom: {
792
+ skip: true,
793
+ },
106
794
  },
107
795
  });
108
- ROUTES.set('input-text/focus');
109
- ROUTES.set('kolibri/basic');
110
- ROUTES.set('link-button/basic');
111
- ROUTES.set('link-group/basic');
112
- ROUTES.set('link-group/horizontal');
113
- ROUTES.set('link/basic');
114
- ROUTES.set('link/icons');
115
- ROUTES.set('link/image');
116
- ROUTES.set('link/target');
117
- ROUTES.set('modal/basic');
118
- ROUTES.set('modal/basic?show-modal=true', {
796
+ ROUTES.set('textarea/rows', {
797
+ snapshot: {
798
+ skip: true,
799
+ zoom: {
800
+ skip: true,
801
+ },
802
+ },
803
+ });
804
+ ROUTES.set('textarea/with-counter', {
119
805
  snapshot: {
120
806
  viewportSize: {
121
- width: 1920,
122
- height: 600,
807
+ width: 200,
808
+ height: 100,
809
+ },
810
+ zoom: {
811
+ skip: true,
123
812
  },
124
813
  },
125
814
  });
126
-
127
- ROUTES.set('nav/aria-current');
128
- ROUTES.set('nav/basic');
129
- ROUTES.set('nav/horizontal');
130
- ROUTES.set('pagination/basic');
131
- ROUTES.set('progress/basic');
132
- ROUTES.set('quote/basic');
133
- ROUTES.set('quote/block');
134
- ROUTES.set('select/basic');
135
- ROUTES.set('skip-nav/basic');
136
- ROUTES.set('spin/basic');
137
- ROUTES.set('single-select/basic', {
138
- axe: {
139
- skipFailures: true,
815
+ ROUTES.set('toast/basic', {
816
+ snapshot: {
817
+ skip: true,
818
+ zoom: {
819
+ skip: true,
820
+ },
140
821
  },
141
822
  });
142
- ROUTES.set('spin/custom');
143
- ROUTES.set('spin/cycle');
144
- ROUTES.set('split-button/basic');
145
- ROUTES.set('table/column-alignment');
146
- ROUTES.set('table/sort-data');
147
- ROUTES.set('table/with-footer');
148
- ROUTES.set('table/with-pagination');
149
- ROUTES.set('table/pagination-position');
150
- ROUTES.set('table/complex-headers');
151
- ROUTES.set('table/stateful-with-selection');
152
- ROUTES.set('table/stateful-with-single-selection');
153
- ROUTES.set('table/stateless-with-single-selection');
154
- ROUTES.set('table/stateless-with-selection');
155
- ROUTES.set('table/stateless');
156
- ROUTES.set('tabs/basic');
157
- ROUTES.set('tabs/icons-only');
158
- ROUTES.set('textarea/adjust-height');
159
- ROUTES.set('textarea/basic');
160
- ROUTES.set('textarea/resize');
161
- ROUTES.set('textarea/rows');
162
- ROUTES.set('textarea/with-counter');
163
- ROUTES.set('toast/basic');
164
823
  ROUTES.set('toast/basic?type=info', {
165
824
  snapshot: {
166
825
  viewportSize: {
167
- width: 1920,
168
- height: 600,
826
+ width: 600,
827
+ height: 300,
828
+ },
829
+ zoom: {
830
+ skip: true,
169
831
  },
170
832
  },
171
833
  });
172
834
  ROUTES.set('toast/basic?type=success', {
173
835
  snapshot: {
174
836
  viewportSize: {
175
- width: 1920,
176
- height: 600,
837
+ width: 600,
838
+ height: 300,
839
+ },
840
+ zoom: {
841
+ skip: true,
177
842
  },
178
843
  },
179
844
  });
180
845
  ROUTES.set('toast/basic?type=warning', {
181
846
  snapshot: {
182
847
  viewportSize: {
183
- width: 1920,
184
- height: 600,
848
+ width: 600,
849
+ height: 300,
850
+ },
851
+ zoom: {
852
+ skip: true,
185
853
  },
186
854
  },
187
855
  });
188
856
  ROUTES.set('toast/basic?type=error', {
189
857
  snapshot: {
190
858
  viewportSize: {
191
- width: 1920,
192
- height: 600,
859
+ width: 600,
860
+ height: 300,
861
+ },
862
+ zoom: {
863
+ skip: true,
193
864
  },
194
865
  },
195
866
  });
196
867
  ROUTES.set('toast/basic?variant=msg', {
197
868
  snapshot: {
198
869
  viewportSize: {
199
- width: 1920,
200
- height: 600,
870
+ width: 600,
871
+ height: 300,
872
+ },
873
+ zoom: {
874
+ skip: true,
201
875
  },
202
876
  },
203
877
  });
204
878
  ROUTES.set('toast/basic?variant=card', {
205
879
  snapshot: {
206
880
  viewportSize: {
207
- width: 1920,
208
- height: 600,
881
+ width: 600,
882
+ height: 300,
883
+ },
884
+ zoom: {
885
+ skip: true,
209
886
  },
210
887
  },
211
888
  });
@@ -213,96 +890,400 @@ ROUTES.set('toast/basic?variant=card', {
213
890
  ROUTES.set('toast/basic?type=default&variant=msg', {
214
891
  snapshot: {
215
892
  viewportSize: {
216
- width: 1920,
217
- height: 600,
893
+ width: 600,
894
+ height: 300,
895
+ },
896
+ zoom: {
897
+ skip: true,
218
898
  },
219
899
  },
220
900
  });
221
901
  ROUTES.set('toast/basic?type=info&variant=msg', {
222
902
  snapshot: {
223
903
  viewportSize: {
224
- width: 1920,
225
- height: 600,
904
+ width: 600,
905
+ height: 300,
906
+ },
907
+ zoom: {
908
+ skip: true,
226
909
  },
227
910
  },
228
911
  });
229
912
  ROUTES.set('toast/basic?type=success&variant=msg', {
230
913
  snapshot: {
231
914
  viewportSize: {
232
- width: 1920,
233
- height: 600,
915
+ width: 600,
916
+ height: 300,
917
+ },
918
+ zoom: {
919
+ skip: true,
234
920
  },
235
921
  },
236
922
  });
237
923
  ROUTES.set('toast/basic?type=warning&variant=msg', {
238
924
  snapshot: {
239
925
  viewportSize: {
240
- width: 1920,
241
- height: 600,
926
+ width: 600,
927
+ height: 300,
928
+ },
929
+ zoom: {
930
+ skip: true,
242
931
  },
243
932
  },
244
933
  });
245
934
  ROUTES.set('toast/basic?type=error&variant=msg', {
246
935
  snapshot: {
247
936
  viewportSize: {
248
- width: 1920,
249
- height: 600,
937
+ width: 600,
938
+ height: 300,
939
+ },
940
+ zoom: {
941
+ skip: true,
250
942
  },
251
943
  },
252
944
  });
253
945
 
254
- ROUTES.set('toolbar/basic');
255
- ROUTES.set('toolbar/disabled');
946
+ ROUTES.set('toolbar/basic', {
947
+ snapshot: {
948
+ viewportSize: {
949
+ width: 300,
950
+ height: 100,
951
+ },
952
+ zoom: {
953
+ skip: true,
954
+ },
955
+ },
956
+ });
957
+ ROUTES.set('toolbar/disabled', {
958
+ snapshot: {
959
+ viewportSize: {
960
+ width: 300,
961
+ height: 100,
962
+ },
963
+ zoom: {
964
+ skip: true,
965
+ },
966
+ },
967
+ });
256
968
  ROUTES.set('tree/basic/home', {
257
969
  axe: {
258
970
  skipFailures: true,
259
971
  },
972
+ snapshot: {
973
+ viewportSize: {
974
+ width: 300,
975
+ height: 100,
976
+ },
977
+ zoom: {
978
+ skip: true,
979
+ },
980
+ },
981
+ });
982
+ ROUTES.set('version/basic', {
983
+ snapshot: {
984
+ viewportSize: {
985
+ width: 100,
986
+ height: 100,
987
+ },
988
+ zoom: {
989
+ skip: true,
990
+ },
991
+ },
992
+ });
993
+ ROUTES.set('version/context', {
994
+ snapshot: {
995
+ skip: true,
996
+ zoom: {
997
+ skip: true,
998
+ },
999
+ },
1000
+ });
1001
+ ROUTES.set('scenarios/appointment-form', {
1002
+ axe: {
1003
+ skipFailures: true,
1004
+ },
1005
+ snapshot: {
1006
+ skip: true,
1007
+ zoom: {
1008
+ skip: true,
1009
+ },
1010
+ },
260
1011
  });
261
- ROUTES.set('version/basic');
262
- ROUTES.set('version/context');
263
- ROUTES.set('scenarios/appointment-form');
264
1012
  ROUTES.set('scenarios/static-form', {
265
1013
  axe: {
266
1014
  skipFailures: true,
267
1015
  },
1016
+ snapshot: {
1017
+ skip: true,
1018
+ zoom: {
1019
+ skip: true,
1020
+ },
1021
+ },
1022
+ });
1023
+ ROUTES.set('scenarios/disabled-interactive-scenario', {
1024
+ axe: {
1025
+ skipFailures: true,
1026
+ },
1027
+ snapshot: {
1028
+ skip: true,
1029
+ zoom: {
1030
+ skip: true,
1031
+ },
1032
+ },
268
1033
  });
269
- ROUTES.set('scenarios/disabled-interactive-scenario');
270
1034
  ROUTES.set('scenarios/same-height-of-all-interactive-elements', {
271
1035
  axe: {
272
1036
  skipFailures: true,
273
1037
  },
274
1038
  snapshot: {
275
- viewportSize: {
276
- width: 4000,
277
- height: 0,
1039
+ skip: true,
1040
+ zoom: {
1041
+ skip: true,
278
1042
  },
279
1043
  },
280
1044
  });
281
1045
 
282
1046
  /* Focus tests */
283
- ROUTES.set('scenarios/focus-elements?component=accordion');
284
- ROUTES.set('scenarios/focus-elements?component=button');
285
- ROUTES.set('scenarios/focus-elements?component=buttonLink');
286
- ROUTES.set('scenarios/focus-elements?component=combobox');
287
- ROUTES.set('scenarios/focus-elements?component=details');
288
- ROUTES.set('scenarios/focus-elements?component=inputCheckbox');
289
- ROUTES.set('scenarios/focus-elements?component=inputColor');
290
- ROUTES.set('scenarios/focus-elements?component=inputDate');
291
- ROUTES.set('scenarios/focus-elements?component=inputEmail');
292
- ROUTES.set('scenarios/focus-elements?component=inputFile');
293
- ROUTES.set('scenarios/focus-elements?component=inputFileMultiple');
294
- ROUTES.set('scenarios/focus-elements?component=inputNumber');
295
- ROUTES.set('scenarios/focus-elements?component=inputPassword');
296
- ROUTES.set('scenarios/focus-elements?component=inputRadio');
297
- ROUTES.set('scenarios/focus-elements?component=inputRange');
298
- ROUTES.set('scenarios/focus-elements?component=inputText');
299
- ROUTES.set('scenarios/focus-elements?component=link');
300
- ROUTES.set('scenarios/focus-elements?component=linkButton');
301
- ROUTES.set('scenarios/focus-elements?component=select');
302
- ROUTES.set('scenarios/focus-elements?component=selectMultiple');
1047
+ ROUTES.set('scenarios/focus-elements?component=accordion', {
1048
+ snapshot: {
1049
+ viewportSize: {
1050
+ width: 300,
1051
+ height: 100,
1052
+ },
1053
+ zoom: {
1054
+ skip: true,
1055
+ },
1056
+ },
1057
+ });
1058
+ ROUTES.set('scenarios/focus-elements?component=button', {
1059
+ snapshot: {
1060
+ viewportSize: {
1061
+ width: 300,
1062
+ height: 100,
1063
+ },
1064
+ zoom: {
1065
+ skip: true,
1066
+ },
1067
+ },
1068
+ });
1069
+ ROUTES.set('scenarios/focus-elements?component=buttonLink', {
1070
+ snapshot: {
1071
+ viewportSize: {
1072
+ width: 300,
1073
+ height: 100,
1074
+ },
1075
+ zoom: {
1076
+ skip: true,
1077
+ },
1078
+ },
1079
+ });
1080
+ ROUTES.set('scenarios/focus-elements?component=combobox', {
1081
+ snapshot: {
1082
+ viewportSize: {
1083
+ width: 300,
1084
+ height: 100,
1085
+ },
1086
+ zoom: {
1087
+ skip: true,
1088
+ },
1089
+ },
1090
+ });
1091
+ ROUTES.set('scenarios/focus-elements?component=details', {
1092
+ snapshot: {
1093
+ viewportSize: {
1094
+ width: 300,
1095
+ height: 100,
1096
+ },
1097
+ zoom: {
1098
+ skip: true,
1099
+ },
1100
+ },
1101
+ });
1102
+ ROUTES.set('scenarios/focus-elements?component=inputCheckbox', {
1103
+ snapshot: {
1104
+ viewportSize: {
1105
+ width: 300,
1106
+ height: 100,
1107
+ },
1108
+ zoom: {
1109
+ skip: true,
1110
+ },
1111
+ },
1112
+ });
1113
+ ROUTES.set('scenarios/focus-elements?component=inputColor', {
1114
+ snapshot: {
1115
+ viewportSize: {
1116
+ width: 300,
1117
+ height: 100,
1118
+ },
1119
+ zoom: {
1120
+ skip: true,
1121
+ },
1122
+ },
1123
+ });
1124
+ ROUTES.set('scenarios/focus-elements?component=inputDate', {
1125
+ snapshot: {
1126
+ viewportSize: {
1127
+ width: 300,
1128
+ height: 100,
1129
+ },
1130
+ zoom: {
1131
+ skip: true,
1132
+ },
1133
+ },
1134
+ });
1135
+ ROUTES.set('scenarios/focus-elements?component=inputEmail', {
1136
+ snapshot: {
1137
+ viewportSize: {
1138
+ width: 300,
1139
+ height: 100,
1140
+ },
1141
+ zoom: {
1142
+ skip: true,
1143
+ },
1144
+ },
1145
+ });
1146
+ ROUTES.set('scenarios/focus-elements?component=inputFile', {
1147
+ snapshot: {
1148
+ viewportSize: {
1149
+ width: 300,
1150
+ height: 100,
1151
+ },
1152
+ zoom: {
1153
+ skip: true,
1154
+ },
1155
+ },
1156
+ });
1157
+ ROUTES.set('scenarios/focus-elements?component=inputFileMultiple', {
1158
+ snapshot: {
1159
+ viewportSize: {
1160
+ width: 300,
1161
+ height: 100,
1162
+ },
1163
+ zoom: {
1164
+ skip: true,
1165
+ },
1166
+ },
1167
+ });
1168
+ ROUTES.set('scenarios/focus-elements?component=inputNumber', {
1169
+ snapshot: {
1170
+ viewportSize: {
1171
+ width: 300,
1172
+ height: 100,
1173
+ },
1174
+ zoom: {
1175
+ skip: true,
1176
+ },
1177
+ },
1178
+ });
1179
+ ROUTES.set('scenarios/focus-elements?component=inputPassword', {
1180
+ snapshot: {
1181
+ viewportSize: {
1182
+ width: 300,
1183
+ height: 100,
1184
+ },
1185
+ zoom: {
1186
+ skip: true,
1187
+ },
1188
+ },
1189
+ });
1190
+ ROUTES.set('scenarios/focus-elements?component=inputRadio', {
1191
+ snapshot: {
1192
+ viewportSize: {
1193
+ width: 300,
1194
+ height: 100,
1195
+ },
1196
+ zoom: {
1197
+ skip: true,
1198
+ },
1199
+ },
1200
+ });
1201
+ ROUTES.set('scenarios/focus-elements?component=inputRange', {
1202
+ snapshot: {
1203
+ viewportSize: {
1204
+ width: 300,
1205
+ height: 100,
1206
+ },
1207
+ zoom: {
1208
+ skip: true,
1209
+ },
1210
+ },
1211
+ });
1212
+ ROUTES.set('scenarios/focus-elements?component=inputText', {
1213
+ snapshot: {
1214
+ viewportSize: {
1215
+ width: 300,
1216
+ height: 100,
1217
+ },
1218
+ zoom: {
1219
+ skip: true,
1220
+ },
1221
+ },
1222
+ });
1223
+ ROUTES.set('scenarios/focus-elements?component=link', {
1224
+ snapshot: {
1225
+ viewportSize: {
1226
+ width: 300,
1227
+ height: 100,
1228
+ },
1229
+ zoom: {
1230
+ skip: true,
1231
+ },
1232
+ },
1233
+ });
1234
+ ROUTES.set('scenarios/focus-elements?component=linkButton', {
1235
+ snapshot: {
1236
+ viewportSize: {
1237
+ width: 300,
1238
+ height: 100,
1239
+ },
1240
+ zoom: {
1241
+ skip: true,
1242
+ },
1243
+ },
1244
+ });
1245
+ ROUTES.set('scenarios/focus-elements?component=select', {
1246
+ snapshot: {
1247
+ viewportSize: {
1248
+ width: 300,
1249
+ height: 100,
1250
+ },
1251
+ zoom: {
1252
+ skip: true,
1253
+ },
1254
+ },
1255
+ });
1256
+ ROUTES.set('scenarios/focus-elements?component=selectMultiple', {
1257
+ snapshot: {
1258
+ viewportSize: {
1259
+ width: 300,
1260
+ height: 100,
1261
+ },
1262
+ zoom: {
1263
+ skip: true,
1264
+ },
1265
+ },
1266
+ });
303
1267
  ROUTES.set('scenarios/focus-elements?component=singleSelect', {
304
1268
  axe: {
305
1269
  skipFailures: true,
306
1270
  },
1271
+ viewportSize: {
1272
+ width: 300,
1273
+ height: 100,
1274
+ },
1275
+ zoom: {
1276
+ skip: true,
1277
+ },
1278
+ });
1279
+ ROUTES.set('scenarios/focus-elements?component=textarea', {
1280
+ snapshot: {
1281
+ viewportSize: {
1282
+ width: 300,
1283
+ height: 100,
1284
+ },
1285
+ zoom: {
1286
+ skip: true,
1287
+ },
1288
+ },
307
1289
  });
308
- ROUTES.set('scenarios/focus-elements?component=textarea');