doc-detective-common 3.4.1-dev.3 → 3.4.1-dev.4

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.
Files changed (48) hide show
  1. package/dist/schemas/checkLink_v3.schema.json +2 -2
  2. package/dist/schemas/click_v3.schema.json +4 -4
  3. package/dist/schemas/config_v3.schema.json +147 -121
  4. package/dist/schemas/find_v3.schema.json +41 -28
  5. package/dist/schemas/httpRequest_v3.schema.json +2 -2
  6. package/dist/schemas/report_v3.schema.json +144 -118
  7. package/dist/schemas/resolvedTests_v3.schema.json +291 -239
  8. package/dist/schemas/runCode_v3.schema.json +4 -4
  9. package/dist/schemas/runShell_v3.schema.json +4 -4
  10. package/dist/schemas/screenshot_v3.schema.json +6 -6
  11. package/dist/schemas/spec_v3.schema.json +144 -118
  12. package/dist/schemas/step_v3.schema.json +71 -58
  13. package/dist/schemas/test_v3.schema.json +143 -117
  14. package/dist/schemas/type_v3.schema.json +8 -8
  15. package/package.json +1 -1
  16. package/src/schemas/build/checkLink_v3.schema.json +1 -1
  17. package/src/schemas/build/click_v3.schema.json +2 -2
  18. package/src/schemas/build/find_v3.schema.json +15 -2
  19. package/src/schemas/build/httpRequest_v3.schema.json +1 -1
  20. package/src/schemas/build/runCode_v3.schema.json +2 -2
  21. package/src/schemas/build/runShell_v3.schema.json +2 -2
  22. package/src/schemas/build/screenshot_v3.schema.json +2 -2
  23. package/src/schemas/build/test_v3.schema.json +1 -1
  24. package/src/schemas/build/type_v3.schema.json +3 -3
  25. package/src/schemas/output_schemas/checkLink_v3.schema.json +2 -2
  26. package/src/schemas/output_schemas/click_v3.schema.json +4 -4
  27. package/src/schemas/output_schemas/config_v3.schema.json +147 -121
  28. package/src/schemas/output_schemas/find_v3.schema.json +41 -28
  29. package/src/schemas/output_schemas/httpRequest_v3.schema.json +2 -2
  30. package/src/schemas/output_schemas/report_v3.schema.json +144 -118
  31. package/src/schemas/output_schemas/resolvedTests_v3.schema.json +291 -239
  32. package/src/schemas/output_schemas/runCode_v3.schema.json +4 -4
  33. package/src/schemas/output_schemas/runShell_v3.schema.json +4 -4
  34. package/src/schemas/output_schemas/screenshot_v3.schema.json +6 -6
  35. package/src/schemas/output_schemas/spec_v3.schema.json +144 -118
  36. package/src/schemas/output_schemas/step_v3.schema.json +71 -58
  37. package/src/schemas/output_schemas/test_v3.schema.json +143 -117
  38. package/src/schemas/output_schemas/type_v3.schema.json +8 -8
  39. package/src/schemas/schemas.json +1011 -829
  40. package/src/schemas/src_schemas/checkLink_v3.schema.json +1 -1
  41. package/src/schemas/src_schemas/click_v3.schema.json +2 -2
  42. package/src/schemas/src_schemas/find_v3.schema.json +12 -2
  43. package/src/schemas/src_schemas/httpRequest_v3.schema.json +1 -1
  44. package/src/schemas/src_schemas/runCode_v3.schema.json +2 -2
  45. package/src/schemas/src_schemas/runShell_v3.schema.json +2 -2
  46. package/src/schemas/src_schemas/screenshot_v3.schema.json +2 -2
  47. package/src/schemas/src_schemas/test_v3.schema.json +1 -1
  48. package/src/schemas/src_schemas/type_v3.schema.json +3 -3
@@ -227,7 +227,7 @@
227
227
  {
228
228
  "type": "array",
229
229
  "items": {
230
- "oneOf": [
230
+ "anyOf": [
231
231
  {
232
232
  "type": "integer"
233
233
  }
@@ -290,7 +290,7 @@
290
290
  {
291
291
  "type": "array",
292
292
  "items": {
293
- "oneOf": [
293
+ "anyOf": [
294
294
  {
295
295
  "type": "integer"
296
296
  }
@@ -474,7 +474,7 @@
474
474
  "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
475
475
  },
476
476
  "elementClass": {
477
- "oneOf": [
477
+ "anyOf": [
478
478
  {
479
479
  "type": "string"
480
480
  },
@@ -491,7 +491,7 @@
491
491
  "type": "object",
492
492
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
493
493
  "additionalProperties": {
494
- "oneOf": [
494
+ "anyOf": [
495
495
  {
496
496
  "type": "string"
497
497
  },
@@ -597,7 +597,7 @@
597
597
  "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
598
598
  },
599
599
  "elementClass": {
600
- "oneOf": [
600
+ "anyOf": [
601
601
  {
602
602
  "type": "string"
603
603
  },
@@ -614,7 +614,7 @@
614
614
  "type": "object",
615
615
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
616
616
  "additionalProperties": {
617
- "oneOf": [
617
+ "anyOf": [
618
618
  {
619
619
  "type": "string"
620
620
  },
@@ -789,7 +789,7 @@
789
789
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
790
790
  },
791
791
  "elementClass": {
792
- "oneOf": [
792
+ "anyOf": [
793
793
  {
794
794
  "type": "string"
795
795
  },
@@ -806,7 +806,7 @@
806
806
  "type": "object",
807
807
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
808
808
  "additionalProperties": {
809
- "oneOf": [
809
+ "anyOf": [
810
810
  {
811
811
  "type": "string"
812
812
  },
@@ -913,7 +913,7 @@
913
913
  "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
914
914
  },
915
915
  "elementClass": {
916
- "oneOf": [
916
+ "anyOf": [
917
917
  {
918
918
  "type": "string"
919
919
  },
@@ -930,7 +930,7 @@
930
930
  "type": "object",
931
931
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
932
932
  "additionalProperties": {
933
- "oneOf": [
933
+ "anyOf": [
934
934
  {
935
935
  "type": "string"
936
936
  },
@@ -1036,7 +1036,7 @@
1036
1036
  "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
1037
1037
  },
1038
1038
  "elementClass": {
1039
- "oneOf": [
1039
+ "anyOf": [
1040
1040
  {
1041
1041
  "type": "string"
1042
1042
  },
@@ -1053,7 +1053,7 @@
1053
1053
  "type": "object",
1054
1054
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1055
1055
  "additionalProperties": {
1056
- "oneOf": [
1056
+ "anyOf": [
1057
1057
  {
1058
1058
  "type": "string"
1059
1059
  },
@@ -1123,7 +1123,7 @@
1123
1123
  {
1124
1124
  "type": "array",
1125
1125
  "items": {
1126
- "oneOf": [
1126
+ "anyOf": [
1127
1127
  {
1128
1128
  "type": "string"
1129
1129
  }
@@ -1146,7 +1146,7 @@
1146
1146
  {
1147
1147
  "type": "array",
1148
1148
  "items": {
1149
- "oneOf": [
1149
+ "anyOf": [
1150
1150
  {
1151
1151
  "type": "string"
1152
1152
  }
@@ -1177,7 +1177,7 @@
1177
1177
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
1178
1178
  },
1179
1179
  "elementClass": {
1180
- "oneOf": [
1180
+ "anyOf": [
1181
1181
  {
1182
1182
  "type": "string"
1183
1183
  },
@@ -1194,7 +1194,7 @@
1194
1194
  "type": "object",
1195
1195
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1196
1196
  "additionalProperties": {
1197
- "oneOf": [
1197
+ "anyOf": [
1198
1198
  {
1199
1199
  "type": "string"
1200
1200
  },
@@ -1230,7 +1230,7 @@
1230
1230
  {
1231
1231
  "type": "array",
1232
1232
  "items": {
1233
- "oneOf": [
1233
+ "anyOf": [
1234
1234
  {
1235
1235
  "type": "string"
1236
1236
  }
@@ -1253,7 +1253,7 @@
1253
1253
  {
1254
1254
  "type": "array",
1255
1255
  "items": {
1256
- "oneOf": [
1256
+ "anyOf": [
1257
1257
  {
1258
1258
  "type": "string"
1259
1259
  }
@@ -1284,7 +1284,7 @@
1284
1284
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
1285
1285
  },
1286
1286
  "elementClass": {
1287
- "oneOf": [
1287
+ "anyOf": [
1288
1288
  {
1289
1289
  "type": "string"
1290
1290
  },
@@ -1301,7 +1301,7 @@
1301
1301
  "type": "object",
1302
1302
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1303
1303
  "additionalProperties": {
1304
- "oneOf": [
1304
+ "anyOf": [
1305
1305
  {
1306
1306
  "type": "string"
1307
1307
  },
@@ -1438,7 +1438,7 @@
1438
1438
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
1439
1439
  },
1440
1440
  "elementClass": {
1441
- "oneOf": [
1441
+ "anyOf": [
1442
1442
  {
1443
1443
  "type": "string"
1444
1444
  },
@@ -1455,7 +1455,7 @@
1455
1455
  "type": "object",
1456
1456
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1457
1457
  "additionalProperties": {
1458
- "oneOf": [
1458
+ "anyOf": [
1459
1459
  {
1460
1460
  "type": "string"
1461
1461
  },
@@ -1562,7 +1562,7 @@
1562
1562
  "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
1563
1563
  },
1564
1564
  "elementClass": {
1565
- "oneOf": [
1565
+ "anyOf": [
1566
1566
  {
1567
1567
  "type": "string"
1568
1568
  },
@@ -1579,7 +1579,7 @@
1579
1579
  "type": "object",
1580
1580
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1581
1581
  "additionalProperties": {
1582
- "oneOf": [
1582
+ "anyOf": [
1583
1583
  {
1584
1584
  "type": "string"
1585
1585
  },
@@ -1685,7 +1685,7 @@
1685
1685
  "description": "data-testid attribute of the element to click. Supports exact match or regex pattern using /pattern/ syntax."
1686
1686
  },
1687
1687
  "elementClass": {
1688
- "oneOf": [
1688
+ "anyOf": [
1689
1689
  {
1690
1690
  "type": "string"
1691
1691
  },
@@ -1702,7 +1702,7 @@
1702
1702
  "type": "object",
1703
1703
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1704
1704
  "additionalProperties": {
1705
- "oneOf": [
1705
+ "anyOf": [
1706
1706
  {
1707
1707
  "type": "string"
1708
1708
  },
@@ -1772,7 +1772,7 @@
1772
1772
  {
1773
1773
  "type": "array",
1774
1774
  "items": {
1775
- "oneOf": [
1775
+ "anyOf": [
1776
1776
  {
1777
1777
  "type": "string"
1778
1778
  }
@@ -1795,7 +1795,7 @@
1795
1795
  {
1796
1796
  "type": "array",
1797
1797
  "items": {
1798
- "oneOf": [
1798
+ "anyOf": [
1799
1799
  {
1800
1800
  "type": "string"
1801
1801
  }
@@ -1826,7 +1826,7 @@
1826
1826
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
1827
1827
  },
1828
1828
  "elementClass": {
1829
- "oneOf": [
1829
+ "anyOf": [
1830
1830
  {
1831
1831
  "type": "string"
1832
1832
  },
@@ -1843,7 +1843,7 @@
1843
1843
  "type": "object",
1844
1844
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1845
1845
  "additionalProperties": {
1846
- "oneOf": [
1846
+ "anyOf": [
1847
1847
  {
1848
1848
  "type": "string"
1849
1849
  },
@@ -1879,7 +1879,7 @@
1879
1879
  {
1880
1880
  "type": "array",
1881
1881
  "items": {
1882
- "oneOf": [
1882
+ "anyOf": [
1883
1883
  {
1884
1884
  "type": "string"
1885
1885
  }
@@ -1902,7 +1902,7 @@
1902
1902
  {
1903
1903
  "type": "array",
1904
1904
  "items": {
1905
- "oneOf": [
1905
+ "anyOf": [
1906
1906
  {
1907
1907
  "type": "string"
1908
1908
  }
@@ -1933,7 +1933,7 @@
1933
1933
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
1934
1934
  },
1935
1935
  "elementClass": {
1936
- "oneOf": [
1936
+ "anyOf": [
1937
1937
  {
1938
1938
  "type": "string"
1939
1939
  },
@@ -1950,7 +1950,7 @@
1950
1950
  "type": "object",
1951
1951
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
1952
1952
  "additionalProperties": {
1953
- "oneOf": [
1953
+ "anyOf": [
1954
1954
  {
1955
1955
  "type": "string"
1956
1956
  },
@@ -2053,6 +2053,19 @@
2053
2053
  ],
2054
2054
  "inputDelay": 100
2055
2055
  }
2056
+ },
2057
+ {
2058
+ "elementId": "/^user-[0-9]+$/",
2059
+ "elementClass": [
2060
+ "admin",
2061
+ "/^level-[1-5]$/"
2062
+ ],
2063
+ "elementAttribute": {
2064
+ "data-active": true,
2065
+ "data-score": "/^[0-9]+$/"
2066
+ },
2067
+ "timeout": 8000,
2068
+ "moveTo": false
2056
2069
  }
2057
2070
  ]
2058
2071
  }
@@ -2522,7 +2535,7 @@
2522
2535
  "description": "Accepted status codes. If the specified URL returns a code other than what is specified here, the action fails.",
2523
2536
  "type": "array",
2524
2537
  "items": {
2525
- "oneOf": [
2538
+ "anyOf": [
2526
2539
  {
2527
2540
  "type": "integer"
2528
2541
  }
@@ -2921,7 +2934,7 @@
2921
2934
  "description": "Accepted status codes. If the specified URL returns a code other than what is specified here, the action fails.",
2922
2935
  "type": "array",
2923
2936
  "items": {
2924
- "oneOf": [
2937
+ "anyOf": [
2925
2938
  {
2926
2939
  "type": "integer"
2927
2940
  }
@@ -3382,7 +3395,7 @@
3382
3395
  "type": "array",
3383
3396
  "description": "Arguments for the command.",
3384
3397
  "items": {
3385
- "oneOf": [
3398
+ "anyOf": [
3386
3399
  {
3387
3400
  "type": "string"
3388
3401
  }
@@ -3399,7 +3412,7 @@
3399
3412
  "type": "array",
3400
3413
  "description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
3401
3414
  "items": {
3402
- "oneOf": [
3415
+ "anyOf": [
3403
3416
  {
3404
3417
  "type": "integer"
3405
3418
  }
@@ -3472,7 +3485,7 @@
3472
3485
  "type": "array",
3473
3486
  "description": "Arguments for the command.",
3474
3487
  "items": {
3475
- "oneOf": [
3488
+ "anyOf": [
3476
3489
  {
3477
3490
  "type": "string"
3478
3491
  }
@@ -3489,7 +3502,7 @@
3489
3502
  "type": "array",
3490
3503
  "description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
3491
3504
  "items": {
3492
- "oneOf": [
3505
+ "anyOf": [
3493
3506
  {
3494
3507
  "type": "integer"
3495
3508
  }
@@ -3690,7 +3703,7 @@
3690
3703
  "type": "array",
3691
3704
  "description": "Arguments for the command.",
3692
3705
  "items": {
3693
- "oneOf": [
3706
+ "anyOf": [
3694
3707
  {
3695
3708
  "type": "string"
3696
3709
  }
@@ -3707,7 +3720,7 @@
3707
3720
  "type": "array",
3708
3721
  "description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
3709
3722
  "items": {
3710
- "oneOf": [
3723
+ "anyOf": [
3711
3724
  {
3712
3725
  "type": "integer"
3713
3726
  }
@@ -3781,7 +3794,7 @@
3781
3794
  "type": "array",
3782
3795
  "description": "Arguments for the command.",
3783
3796
  "items": {
3784
- "oneOf": [
3797
+ "anyOf": [
3785
3798
  {
3786
3799
  "type": "string"
3787
3800
  }
@@ -3798,7 +3811,7 @@
3798
3811
  "type": "array",
3799
3812
  "description": "Expected exit codes of the command. If the command's actual exit code isn't in this list, the step fails.",
3800
3813
  "items": {
3801
- "oneOf": [
3814
+ "anyOf": [
3802
3815
  {
3803
3816
  "type": "integer"
3804
3817
  }
@@ -3969,7 +3982,7 @@
3969
3982
  {
3970
3983
  "type": "array",
3971
3984
  "items": {
3972
- "oneOf": [
3985
+ "anyOf": [
3973
3986
  {
3974
3987
  "type": "string"
3975
3988
  }
@@ -3992,7 +4005,7 @@
3992
4005
  {
3993
4006
  "type": "array",
3994
4007
  "items": {
3995
- "oneOf": [
4008
+ "anyOf": [
3996
4009
  {
3997
4010
  "type": "string"
3998
4011
  }
@@ -4023,7 +4036,7 @@
4023
4036
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
4024
4037
  },
4025
4038
  "elementClass": {
4026
- "oneOf": [
4039
+ "anyOf": [
4027
4040
  {
4028
4041
  "type": "string"
4029
4042
  },
@@ -4040,7 +4053,7 @@
4040
4053
  "type": "object",
4041
4054
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
4042
4055
  "additionalProperties": {
4043
- "oneOf": [
4056
+ "anyOf": [
4044
4057
  {
4045
4058
  "type": "string"
4046
4059
  },
@@ -4076,7 +4089,7 @@
4076
4089
  {
4077
4090
  "type": "array",
4078
4091
  "items": {
4079
- "oneOf": [
4092
+ "anyOf": [
4080
4093
  {
4081
4094
  "type": "string"
4082
4095
  }
@@ -4099,7 +4112,7 @@
4099
4112
  {
4100
4113
  "type": "array",
4101
4114
  "items": {
4102
- "oneOf": [
4115
+ "anyOf": [
4103
4116
  {
4104
4117
  "type": "string"
4105
4118
  }
@@ -4130,7 +4143,7 @@
4130
4143
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
4131
4144
  },
4132
4145
  "elementClass": {
4133
- "oneOf": [
4146
+ "anyOf": [
4134
4147
  {
4135
4148
  "type": "string"
4136
4149
  },
@@ -4147,7 +4160,7 @@
4147
4160
  "type": "object",
4148
4161
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
4149
4162
  "additionalProperties": {
4150
- "oneOf": [
4163
+ "anyOf": [
4151
4164
  {
4152
4165
  "type": "string"
4153
4166
  },
@@ -4387,7 +4400,7 @@
4387
4400
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
4388
4401
  },
4389
4402
  "elementClass": {
4390
- "oneOf": [
4403
+ "anyOf": [
4391
4404
  {
4392
4405
  "type": "string"
4393
4406
  },
@@ -4404,7 +4417,7 @@
4404
4417
  "type": "object",
4405
4418
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
4406
4419
  "additionalProperties": {
4407
- "oneOf": [
4420
+ "anyOf": [
4408
4421
  {
4409
4422
  "type": "string"
4410
4423
  },
@@ -4583,7 +4596,7 @@
4583
4596
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
4584
4597
  },
4585
4598
  "elementClass": {
4586
- "oneOf": [
4599
+ "anyOf": [
4587
4600
  {
4588
4601
  "type": "string"
4589
4602
  },
@@ -4600,7 +4613,7 @@
4600
4613
  "type": "object",
4601
4614
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
4602
4615
  "additionalProperties": {
4603
- "oneOf": [
4616
+ "anyOf": [
4604
4617
  {
4605
4618
  "type": "string"
4606
4619
  },
@@ -4718,7 +4731,7 @@
4718
4731
  "description": "data-testid attribute of the element to find. Supports exact match or regex pattern using /pattern/ syntax."
4719
4732
  },
4720
4733
  "elementClass": {
4721
- "oneOf": [
4734
+ "anyOf": [
4722
4735
  {
4723
4736
  "type": "string"
4724
4737
  },
@@ -4735,7 +4748,7 @@
4735
4748
  "type": "object",
4736
4749
  "description": "Object of attribute key-value pairs that the element must have. Values can be strings (supporting /pattern/ regex), numbers, or booleans. Boolean true matches attribute presence, false matches absence.",
4737
4750
  "additionalProperties": {
4738
- "oneOf": [
4751
+ "anyOf": [
4739
4752
  {
4740
4753
  "type": "string"
4741
4754
  },