@public-ui/visual-tests 3.0.7-d0e38f2b24188b03316351f07d939c4524a2fd81.0 → 3.0.7-rc.5
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 +5 -5
- package/tests/sample-app.routes.js +74 -131
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/visual-tests",
|
|
3
|
-
"version": "3.0.7-
|
|
3
|
+
"version": "3.0.7-rc.5",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,19 +28,19 @@
|
|
|
28
28
|
"axe-playwright": "2.2.2",
|
|
29
29
|
"portfinder": "1.0.38",
|
|
30
30
|
"serve": "14.2.5",
|
|
31
|
-
"@public-ui/sample-react": "3.0.7-
|
|
31
|
+
"@public-ui/sample-react": "3.0.7-rc.5"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/eslint-parser": "7.28.4",
|
|
35
35
|
"@babel/plugin-syntax-import-attributes": "7.27.1",
|
|
36
36
|
"@babel/preset-env": "7.28.3",
|
|
37
|
-
"@playwright/test": "1.
|
|
37
|
+
"@playwright/test": "1.56.0",
|
|
38
38
|
"eslint": "8.57.1",
|
|
39
|
-
"knip": "5.
|
|
39
|
+
"knip": "5.65.0",
|
|
40
40
|
"prettier": "3.6.2"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@playwright/test": "1.
|
|
43
|
+
"@playwright/test": "1.56.0"
|
|
44
44
|
},
|
|
45
45
|
"files": [
|
|
46
46
|
"playwright.config.js",
|
|
@@ -160,6 +160,10 @@ ROUTES.set('button/baselined', {
|
|
|
160
160
|
});
|
|
161
161
|
ROUTES.set('button/short-key', {
|
|
162
162
|
snapshot: {
|
|
163
|
+
viewportSize: {
|
|
164
|
+
width: 800,
|
|
165
|
+
height: 434,
|
|
166
|
+
},
|
|
163
167
|
zoom: {
|
|
164
168
|
skip: true,
|
|
165
169
|
},
|
|
@@ -561,13 +565,6 @@ ROUTES.set('nav/basic', {
|
|
|
561
565
|
},
|
|
562
566
|
},
|
|
563
567
|
});
|
|
564
|
-
ROUTES.set('nav/horizontal', {
|
|
565
|
-
snapshot: {
|
|
566
|
-
zoom: {
|
|
567
|
-
skip: true,
|
|
568
|
-
},
|
|
569
|
-
},
|
|
570
|
-
});
|
|
571
568
|
ROUTES.set('pagination/basic', {
|
|
572
569
|
snapshot: {
|
|
573
570
|
zoom: {
|
|
@@ -673,6 +670,10 @@ ROUTES.set('split-button/basic', {
|
|
|
673
670
|
});
|
|
674
671
|
ROUTES.set('table/horizontal-scrollbar', {
|
|
675
672
|
snapshot: {
|
|
673
|
+
viewportSize: {
|
|
674
|
+
width: 800,
|
|
675
|
+
height: 800,
|
|
676
|
+
},
|
|
676
677
|
zoom: {
|
|
677
678
|
skip: true,
|
|
678
679
|
},
|
|
@@ -680,6 +681,10 @@ ROUTES.set('table/horizontal-scrollbar', {
|
|
|
680
681
|
});
|
|
681
682
|
ROUTES.set('table/column-alignment', {
|
|
682
683
|
snapshot: {
|
|
684
|
+
viewportSize: {
|
|
685
|
+
width: 800,
|
|
686
|
+
height: 400,
|
|
687
|
+
},
|
|
683
688
|
zoom: {
|
|
684
689
|
skip: true,
|
|
685
690
|
},
|
|
@@ -687,6 +692,10 @@ ROUTES.set('table/column-alignment', {
|
|
|
687
692
|
});
|
|
688
693
|
ROUTES.set('table/sort-data', {
|
|
689
694
|
snapshot: {
|
|
695
|
+
viewportSize: {
|
|
696
|
+
width: 800,
|
|
697
|
+
height: 400,
|
|
698
|
+
},
|
|
690
699
|
skip: true,
|
|
691
700
|
zoom: {
|
|
692
701
|
skip: true,
|
|
@@ -695,6 +704,10 @@ ROUTES.set('table/sort-data', {
|
|
|
695
704
|
});
|
|
696
705
|
ROUTES.set('table/with-footer', {
|
|
697
706
|
snapshot: {
|
|
707
|
+
viewportSize: {
|
|
708
|
+
width: 800,
|
|
709
|
+
height: 360,
|
|
710
|
+
},
|
|
698
711
|
zoom: {
|
|
699
712
|
skip: true,
|
|
700
713
|
},
|
|
@@ -702,6 +715,10 @@ ROUTES.set('table/with-footer', {
|
|
|
702
715
|
});
|
|
703
716
|
ROUTES.set('table/with-pagination', {
|
|
704
717
|
snapshot: {
|
|
718
|
+
viewportSize: {
|
|
719
|
+
width: 800,
|
|
720
|
+
height: 740,
|
|
721
|
+
},
|
|
705
722
|
zoom: {
|
|
706
723
|
skip: true,
|
|
707
724
|
},
|
|
@@ -709,6 +726,10 @@ ROUTES.set('table/with-pagination', {
|
|
|
709
726
|
});
|
|
710
727
|
ROUTES.set('table/pagination-position', {
|
|
711
728
|
snapshot: {
|
|
729
|
+
viewportSize: {
|
|
730
|
+
width: 800,
|
|
731
|
+
height: 400,
|
|
732
|
+
},
|
|
712
733
|
skip: true,
|
|
713
734
|
zoom: {
|
|
714
735
|
skip: true,
|
|
@@ -717,6 +738,10 @@ ROUTES.set('table/pagination-position', {
|
|
|
717
738
|
});
|
|
718
739
|
ROUTES.set('table/complex-headers', {
|
|
719
740
|
snapshot: {
|
|
741
|
+
viewportSize: {
|
|
742
|
+
width: 800,
|
|
743
|
+
height: 400,
|
|
744
|
+
},
|
|
720
745
|
zoom: {
|
|
721
746
|
skip: true,
|
|
722
747
|
},
|
|
@@ -724,6 +749,10 @@ ROUTES.set('table/complex-headers', {
|
|
|
724
749
|
});
|
|
725
750
|
ROUTES.set('table/non-hidable-columns', {
|
|
726
751
|
snapshot: {
|
|
752
|
+
viewportSize: {
|
|
753
|
+
width: 800,
|
|
754
|
+
height: 235,
|
|
755
|
+
},
|
|
727
756
|
zoom: {
|
|
728
757
|
skip: true,
|
|
729
758
|
},
|
|
@@ -731,6 +760,10 @@ ROUTES.set('table/non-hidable-columns', {
|
|
|
731
760
|
});
|
|
732
761
|
ROUTES.set('table/stateful-with-selection', {
|
|
733
762
|
snapshot: {
|
|
763
|
+
viewportSize: {
|
|
764
|
+
width: 800,
|
|
765
|
+
height: 509,
|
|
766
|
+
},
|
|
734
767
|
zoom: {
|
|
735
768
|
skip: true,
|
|
736
769
|
},
|
|
@@ -738,20 +771,32 @@ ROUTES.set('table/stateful-with-selection', {
|
|
|
738
771
|
});
|
|
739
772
|
ROUTES.set('table/stateful-with-single-selection', {
|
|
740
773
|
snapshot: {
|
|
774
|
+
viewportSize: {
|
|
775
|
+
width: 800,
|
|
776
|
+
height: 370,
|
|
777
|
+
},
|
|
741
778
|
zoom: {
|
|
742
779
|
skip: true,
|
|
743
780
|
},
|
|
744
781
|
},
|
|
745
782
|
});
|
|
746
|
-
ROUTES.set('table/stateless-with-
|
|
783
|
+
ROUTES.set('table/stateless-with-selection', {
|
|
747
784
|
snapshot: {
|
|
785
|
+
viewportSize: {
|
|
786
|
+
width: 800,
|
|
787
|
+
height: 495,
|
|
788
|
+
},
|
|
748
789
|
zoom: {
|
|
749
790
|
skip: true,
|
|
750
791
|
},
|
|
751
792
|
},
|
|
752
793
|
});
|
|
753
|
-
ROUTES.set('table/stateless-with-selection', {
|
|
794
|
+
ROUTES.set('table/stateless-with-single-selection', {
|
|
754
795
|
snapshot: {
|
|
796
|
+
viewportSize: {
|
|
797
|
+
width: 800,
|
|
798
|
+
height: 370,
|
|
799
|
+
},
|
|
755
800
|
zoom: {
|
|
756
801
|
skip: true,
|
|
757
802
|
},
|
|
@@ -759,12 +804,30 @@ ROUTES.set('table/stateless-with-selection', {
|
|
|
759
804
|
});
|
|
760
805
|
ROUTES.set('table/stateless', {
|
|
761
806
|
snapshot: {
|
|
807
|
+
viewportSize: {
|
|
808
|
+
width: 800,
|
|
809
|
+
height: 400,
|
|
810
|
+
},
|
|
762
811
|
skip: true,
|
|
763
812
|
zoom: {
|
|
764
813
|
skip: true,
|
|
765
814
|
},
|
|
766
815
|
},
|
|
767
816
|
});
|
|
817
|
+
ROUTES.set('table/sticky-header', {
|
|
818
|
+
axe: {
|
|
819
|
+
skipFailures: true,
|
|
820
|
+
},
|
|
821
|
+
snapshot: {
|
|
822
|
+
viewportSize: {
|
|
823
|
+
width: 1300,
|
|
824
|
+
height: 1000,
|
|
825
|
+
},
|
|
826
|
+
zoom: {
|
|
827
|
+
skip: true,
|
|
828
|
+
},
|
|
829
|
+
},
|
|
830
|
+
});
|
|
768
831
|
ROUTES.set('tabs/basic', {
|
|
769
832
|
snapshot: {
|
|
770
833
|
zoom: {
|
|
@@ -838,137 +901,17 @@ ROUTES.set('textarea/with-counter', {
|
|
|
838
901
|
},
|
|
839
902
|
},
|
|
840
903
|
});
|
|
841
|
-
ROUTES.set('toast/
|
|
842
|
-
snapshot: {
|
|
843
|
-
skip: true,
|
|
844
|
-
zoom: {
|
|
845
|
-
skip: true,
|
|
846
|
-
},
|
|
847
|
-
},
|
|
848
|
-
});
|
|
849
|
-
ROUTES.set('toast/basic?type=info', {
|
|
850
|
-
snapshot: {
|
|
851
|
-
viewportSize: {
|
|
852
|
-
width: 600,
|
|
853
|
-
height: 300,
|
|
854
|
-
},
|
|
855
|
-
zoom: {
|
|
856
|
-
skip: true,
|
|
857
|
-
},
|
|
858
|
-
},
|
|
859
|
-
});
|
|
860
|
-
ROUTES.set('toast/basic?type=success', {
|
|
861
|
-
snapshot: {
|
|
862
|
-
viewportSize: {
|
|
863
|
-
width: 600,
|
|
864
|
-
height: 300,
|
|
865
|
-
},
|
|
866
|
-
zoom: {
|
|
867
|
-
skip: true,
|
|
868
|
-
},
|
|
869
|
-
},
|
|
870
|
-
});
|
|
871
|
-
ROUTES.set('toast/basic?type=warning', {
|
|
872
|
-
snapshot: {
|
|
873
|
-
viewportSize: {
|
|
874
|
-
width: 600,
|
|
875
|
-
height: 300,
|
|
876
|
-
},
|
|
877
|
-
zoom: {
|
|
878
|
-
skip: true,
|
|
879
|
-
},
|
|
880
|
-
},
|
|
881
|
-
});
|
|
882
|
-
ROUTES.set('toast/basic?type=error', {
|
|
883
|
-
snapshot: {
|
|
884
|
-
viewportSize: {
|
|
885
|
-
width: 600,
|
|
886
|
-
height: 300,
|
|
887
|
-
},
|
|
888
|
-
zoom: {
|
|
889
|
-
skip: true,
|
|
890
|
-
},
|
|
891
|
-
},
|
|
892
|
-
});
|
|
893
|
-
ROUTES.set('toast/basic?variant=msg', {
|
|
894
|
-
snapshot: {
|
|
895
|
-
viewportSize: {
|
|
896
|
-
width: 600,
|
|
897
|
-
height: 300,
|
|
898
|
-
},
|
|
899
|
-
zoom: {
|
|
900
|
-
skip: true,
|
|
901
|
-
},
|
|
902
|
-
},
|
|
903
|
-
});
|
|
904
|
-
ROUTES.set('toast/basic?variant=card', {
|
|
905
|
-
snapshot: {
|
|
906
|
-
viewportSize: {
|
|
907
|
-
width: 600,
|
|
908
|
-
height: 300,
|
|
909
|
-
},
|
|
910
|
-
zoom: {
|
|
911
|
-
skip: true,
|
|
912
|
-
},
|
|
913
|
-
},
|
|
914
|
-
});
|
|
915
|
-
|
|
916
|
-
ROUTES.set('toast/basic?type=default&variant=msg', {
|
|
917
|
-
snapshot: {
|
|
918
|
-
viewportSize: {
|
|
919
|
-
width: 600,
|
|
920
|
-
height: 300,
|
|
921
|
-
},
|
|
922
|
-
zoom: {
|
|
923
|
-
skip: true,
|
|
924
|
-
},
|
|
925
|
-
},
|
|
926
|
-
});
|
|
927
|
-
ROUTES.set('toast/basic?type=info&variant=msg', {
|
|
904
|
+
ROUTES.set('toast/configurator', {
|
|
928
905
|
snapshot: {
|
|
929
906
|
viewportSize: {
|
|
930
907
|
width: 600,
|
|
931
|
-
height:
|
|
908
|
+
height: 750,
|
|
932
909
|
},
|
|
933
910
|
zoom: {
|
|
934
911
|
skip: true,
|
|
935
912
|
},
|
|
936
913
|
},
|
|
937
914
|
});
|
|
938
|
-
ROUTES.set('toast/basic?type=success&variant=msg', {
|
|
939
|
-
snapshot: {
|
|
940
|
-
viewportSize: {
|
|
941
|
-
width: 600,
|
|
942
|
-
height: 300,
|
|
943
|
-
},
|
|
944
|
-
zoom: {
|
|
945
|
-
skip: true,
|
|
946
|
-
},
|
|
947
|
-
},
|
|
948
|
-
});
|
|
949
|
-
ROUTES.set('toast/basic?type=warning&variant=msg', {
|
|
950
|
-
snapshot: {
|
|
951
|
-
viewportSize: {
|
|
952
|
-
width: 600,
|
|
953
|
-
height: 300,
|
|
954
|
-
},
|
|
955
|
-
zoom: {
|
|
956
|
-
skip: true,
|
|
957
|
-
},
|
|
958
|
-
},
|
|
959
|
-
});
|
|
960
|
-
ROUTES.set('toast/basic?type=error&variant=msg', {
|
|
961
|
-
snapshot: {
|
|
962
|
-
viewportSize: {
|
|
963
|
-
width: 600,
|
|
964
|
-
height: 300,
|
|
965
|
-
},
|
|
966
|
-
zoom: {
|
|
967
|
-
skip: true,
|
|
968
|
-
},
|
|
969
|
-
},
|
|
970
|
-
});
|
|
971
|
-
|
|
972
915
|
ROUTES.set('toolbar/basic', {
|
|
973
916
|
snapshot: {
|
|
974
917
|
viewportSize: {
|