doc-detective-common 3.1.1 → 3.1.2-dev.2

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 (64) hide show
  1. package/dist/schemas/config_v3.schema.json +215 -0
  2. package/dist/schemas/report_v3.schema.json +170 -0
  3. package/dist/schemas/resolvedTests_v3.schema.json +385 -0
  4. package/dist/schemas/spec_v3.schema.json +170 -0
  5. package/dist/schemas/step_v3.schema.json +85 -0
  6. package/dist/schemas/test_v3.schema.json +170 -0
  7. package/package.json +3 -3
  8. package/src/schemas/build/checkLink_v2.schema.json +81 -0
  9. package/src/schemas/build/checkLink_v3.schema.json +92 -0
  10. package/src/schemas/build/click_v3.schema.json +77 -0
  11. package/src/schemas/build/config_v2.schema.json +1079 -0
  12. package/src/schemas/build/config_v3.schema.json +550 -0
  13. package/src/schemas/build/context_v2.schema.json +135 -0
  14. package/src/schemas/build/context_v3.schema.json +229 -0
  15. package/src/schemas/build/find_v2.schema.json +168 -0
  16. package/src/schemas/build/find_v3.schema.json +128 -0
  17. package/src/schemas/build/goTo_v2.schema.json +63 -0
  18. package/src/schemas/build/goTo_v3.schema.json +63 -0
  19. package/src/schemas/build/httpRequest_v2.schema.json +321 -0
  20. package/src/schemas/build/httpRequest_v3.schema.json +385 -0
  21. package/src/schemas/build/loadVariables_v3.schema.json +10 -0
  22. package/src/schemas/build/moveTo_v2.schema.json +99 -0
  23. package/src/schemas/build/openApi_v2.schema.json +76 -0
  24. package/src/schemas/build/openApi_v3.schema.json +161 -0
  25. package/src/schemas/build/record_v3.schema.json +70 -0
  26. package/src/schemas/build/report_v3.schema.json +53 -0
  27. package/src/schemas/build/resolvedTests_v3.schema.json +238 -0
  28. package/src/schemas/build/runCode_v2.schema.json +201 -0
  29. package/src/schemas/build/runCode_v3.schema.json +138 -0
  30. package/src/schemas/build/runShell_v2.schema.json +189 -0
  31. package/src/schemas/build/runShell_v3.schema.json +156 -0
  32. package/src/schemas/build/saveScreenshot_v2.schema.json +150 -0
  33. package/src/schemas/build/screenshot_v3.schema.json +178 -0
  34. package/src/schemas/build/setVariables_v2.schema.json +39 -0
  35. package/src/schemas/build/spec_v2.schema.json +199 -0
  36. package/src/schemas/build/spec_v3.schema.json +213 -0
  37. package/src/schemas/build/startRecording_v2.schema.json +57 -0
  38. package/src/schemas/build/step_v3.schema.json +581 -0
  39. package/src/schemas/build/stopRecord_v3.schema.json +15 -0
  40. package/src/schemas/build/stopRecording_v2.schema.json +33 -0
  41. package/src/schemas/build/test_v2.schema.json +244 -0
  42. package/src/schemas/build/test_v3.schema.json +292 -0
  43. package/src/schemas/build/typeKeys_v2.schema.json +72 -0
  44. package/src/schemas/build/type_v3.schema.json +84 -0
  45. package/src/schemas/build/wait_v2.schema.json +42 -0
  46. package/src/schemas/build/wait_v3.schema.json +37 -0
  47. package/src/schemas/output_schemas/config_v3.schema.json +215 -0
  48. package/src/schemas/output_schemas/report_v3.schema.json +170 -0
  49. package/src/schemas/output_schemas/resolvedTests_v3.schema.json +385 -0
  50. package/src/schemas/output_schemas/spec_v3.schema.json +170 -0
  51. package/src/schemas/output_schemas/step_v3.schema.json +85 -0
  52. package/src/schemas/output_schemas/test_v3.schema.json +170 -0
  53. package/src/schemas/schemas.json +1195 -0
  54. package/src/schemas/src_schemas/config_v3.schema.json +40 -0
  55. package/src/schemas/src_schemas/step_v3.schema.json +18 -0
  56. package/.coderabbit.yaml +0 -92
  57. package/.devcontainer/devcontainer.json +0 -37
  58. package/.github/FUNDING.yml +0 -14
  59. package/.github/workflows/auto-dev-release.yml +0 -178
  60. package/.github/workflows/npm-test.yml +0 -86
  61. package/dev/dev.js +0 -3
  62. package/docs/auto-dev-release.md +0 -195
  63. package/test/files.test.js +0 -107
  64. package/test/schema.test.js +0 -30
@@ -823,6 +823,11 @@
823
823
  }
824
824
  },
825
825
  "title": "Variables (step)"
826
+ },
827
+ "breakpoint": {
828
+ "type": "boolean",
829
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
830
+ "default": false
826
831
  }
827
832
  },
828
833
  "title": "Common"
@@ -870,6 +875,11 @@
870
875
  }
871
876
  },
872
877
  "title": "Variables (step)"
878
+ },
879
+ "breakpoint": {
880
+ "type": "boolean",
881
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
882
+ "default": false
873
883
  }
874
884
  }
875
885
  },
@@ -925,6 +935,11 @@
925
935
  }
926
936
  },
927
937
  "title": "Variables (step)"
938
+ },
939
+ "breakpoint": {
940
+ "type": "boolean",
941
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
942
+ "default": false
928
943
  }
929
944
  },
930
945
  "title": "Common"
@@ -1136,6 +1151,11 @@
1136
1151
  }
1137
1152
  },
1138
1153
  "title": "Variables (step)"
1154
+ },
1155
+ "breakpoint": {
1156
+ "type": "boolean",
1157
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
1158
+ "default": false
1139
1159
  }
1140
1160
  },
1141
1161
  "title": "Common"
@@ -1318,6 +1338,11 @@
1318
1338
  }
1319
1339
  },
1320
1340
  "title": "Variables (step)"
1341
+ },
1342
+ "breakpoint": {
1343
+ "type": "boolean",
1344
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
1345
+ "default": false
1321
1346
  }
1322
1347
  },
1323
1348
  "title": "Common"
@@ -2114,6 +2139,11 @@
2114
2139
  }
2115
2140
  },
2116
2141
  "title": "Variables (step)"
2142
+ },
2143
+ "breakpoint": {
2144
+ "type": "boolean",
2145
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
2146
+ "default": false
2117
2147
  }
2118
2148
  },
2119
2149
  "title": "Common"
@@ -2271,6 +2301,11 @@
2271
2301
  }
2272
2302
  },
2273
2303
  "title": "Variables (step)"
2304
+ },
2305
+ "breakpoint": {
2306
+ "type": "boolean",
2307
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
2308
+ "default": false
2274
2309
  }
2275
2310
  },
2276
2311
  "title": "Common"
@@ -3269,6 +3304,11 @@
3269
3304
  }
3270
3305
  },
3271
3306
  "title": "Variables (step)"
3307
+ },
3308
+ "breakpoint": {
3309
+ "type": "boolean",
3310
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
3311
+ "default": false
3272
3312
  }
3273
3313
  },
3274
3314
  "title": "Common"
@@ -3571,6 +3611,11 @@
3571
3611
  }
3572
3612
  },
3573
3613
  "title": "Variables (step)"
3614
+ },
3615
+ "breakpoint": {
3616
+ "type": "boolean",
3617
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
3618
+ "default": false
3574
3619
  }
3575
3620
  },
3576
3621
  "title": "Common"
@@ -3859,6 +3904,11 @@
3859
3904
  }
3860
3905
  },
3861
3906
  "title": "Variables (step)"
3907
+ },
3908
+ "breakpoint": {
3909
+ "type": "boolean",
3910
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
3911
+ "default": false
3862
3912
  }
3863
3913
  },
3864
3914
  "title": "Common"
@@ -4075,6 +4125,11 @@
4075
4125
  }
4076
4126
  },
4077
4127
  "title": "Variables (step)"
4128
+ },
4129
+ "breakpoint": {
4130
+ "type": "boolean",
4131
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
4132
+ "default": false
4078
4133
  }
4079
4134
  },
4080
4135
  "title": "Common"
@@ -4518,6 +4573,11 @@
4518
4573
  }
4519
4574
  },
4520
4575
  "title": "Variables (step)"
4576
+ },
4577
+ "breakpoint": {
4578
+ "type": "boolean",
4579
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
4580
+ "default": false
4521
4581
  }
4522
4582
  },
4523
4583
  "title": "Common"
@@ -4685,6 +4745,11 @@
4685
4745
  }
4686
4746
  },
4687
4747
  "title": "Variables (step)"
4748
+ },
4749
+ "breakpoint": {
4750
+ "type": "boolean",
4751
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
4752
+ "default": false
4688
4753
  }
4689
4754
  },
4690
4755
  "title": "Common"
@@ -4765,6 +4830,11 @@
4765
4830
  }
4766
4831
  },
4767
4832
  "title": "Variables (step)"
4833
+ },
4834
+ "breakpoint": {
4835
+ "type": "boolean",
4836
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
4837
+ "default": false
4768
4838
  }
4769
4839
  },
4770
4840
  "title": "Common"
@@ -4840,6 +4910,11 @@
4840
4910
  }
4841
4911
  },
4842
4912
  "title": "Variables (step)"
4913
+ },
4914
+ "breakpoint": {
4915
+ "type": "boolean",
4916
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
4917
+ "default": false
4843
4918
  }
4844
4919
  },
4845
4920
  "title": "Common"
@@ -5242,6 +5317,16 @@
5242
5317
  }
5243
5318
  }
5244
5319
  }
5320
+ },
5321
+ {
5322
+ "stepId": "breakpoint-example",
5323
+ "description": "Step with breakpoint enabled",
5324
+ "goTo": "https://www.example.com",
5325
+ "breakpoint": true
5326
+ },
5327
+ {
5328
+ "checkLink": "https://www.google.com",
5329
+ "breakpoint": false
5245
5330
  }
5246
5331
  ]
5247
5332
  }
@@ -5744,6 +5829,18 @@
5744
5829
  },
5745
5830
  "title": "Telemetry options"
5746
5831
  },
5832
+ "concurrentRunners": {
5833
+ "type": [
5834
+ "integer",
5835
+ "boolean"
5836
+ ],
5837
+ "default": 1,
5838
+ "minimum": 1,
5839
+ "description": "Number of concurrent test runners. Set to true to use CPU core count (capped at 4).",
5840
+ "not": {
5841
+ "const": false
5842
+ }
5843
+ },
5747
5844
  "environment": {
5748
5845
  "type": "object",
5749
5846
  "description": "Environment information for the system running Doc Detective.",
@@ -5778,6 +5875,21 @@
5778
5875
  }
5779
5876
  },
5780
5877
  "title": "Environment details"
5878
+ },
5879
+ "debug": {
5880
+ "description": "Enable debugging mode. `true` allows pausing on breakpoints, waiting for user input before continuing. `stepThrough` pauses at every step, waiting for user input before continuing. `false` disables all debugging.",
5881
+ "anyOf": [
5882
+ {
5883
+ "type": "boolean"
5884
+ },
5885
+ {
5886
+ "type": "string",
5887
+ "enum": [
5888
+ "stepThrough"
5889
+ ]
5890
+ }
5891
+ ],
5892
+ "default": false
5781
5893
  }
5782
5894
  },
5783
5895
  "components": {
@@ -5947,6 +6059,11 @@
5947
6059
  }
5948
6060
  },
5949
6061
  "title": "Variables (step)"
6062
+ },
6063
+ "breakpoint": {
6064
+ "type": "boolean",
6065
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
6066
+ "default": false
5950
6067
  }
5951
6068
  },
5952
6069
  "title": "Common"
@@ -5994,6 +6111,11 @@
5994
6111
  }
5995
6112
  },
5996
6113
  "title": "Variables (step)"
6114
+ },
6115
+ "breakpoint": {
6116
+ "type": "boolean",
6117
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
6118
+ "default": false
5997
6119
  }
5998
6120
  }
5999
6121
  },
@@ -6049,6 +6171,11 @@
6049
6171
  }
6050
6172
  },
6051
6173
  "title": "Variables (step)"
6174
+ },
6175
+ "breakpoint": {
6176
+ "type": "boolean",
6177
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
6178
+ "default": false
6052
6179
  }
6053
6180
  },
6054
6181
  "title": "Common"
@@ -6260,6 +6387,11 @@
6260
6387
  }
6261
6388
  },
6262
6389
  "title": "Variables (step)"
6390
+ },
6391
+ "breakpoint": {
6392
+ "type": "boolean",
6393
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
6394
+ "default": false
6263
6395
  }
6264
6396
  },
6265
6397
  "title": "Common"
@@ -6442,6 +6574,11 @@
6442
6574
  }
6443
6575
  },
6444
6576
  "title": "Variables (step)"
6577
+ },
6578
+ "breakpoint": {
6579
+ "type": "boolean",
6580
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
6581
+ "default": false
6445
6582
  }
6446
6583
  },
6447
6584
  "title": "Common"
@@ -7238,6 +7375,11 @@
7238
7375
  }
7239
7376
  },
7240
7377
  "title": "Variables (step)"
7378
+ },
7379
+ "breakpoint": {
7380
+ "type": "boolean",
7381
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
7382
+ "default": false
7241
7383
  }
7242
7384
  },
7243
7385
  "title": "Common"
@@ -7395,6 +7537,11 @@
7395
7537
  }
7396
7538
  },
7397
7539
  "title": "Variables (step)"
7540
+ },
7541
+ "breakpoint": {
7542
+ "type": "boolean",
7543
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
7544
+ "default": false
7398
7545
  }
7399
7546
  },
7400
7547
  "title": "Common"
@@ -8393,6 +8540,11 @@
8393
8540
  }
8394
8541
  },
8395
8542
  "title": "Variables (step)"
8543
+ },
8544
+ "breakpoint": {
8545
+ "type": "boolean",
8546
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
8547
+ "default": false
8396
8548
  }
8397
8549
  },
8398
8550
  "title": "Common"
@@ -8695,6 +8847,11 @@
8695
8847
  }
8696
8848
  },
8697
8849
  "title": "Variables (step)"
8850
+ },
8851
+ "breakpoint": {
8852
+ "type": "boolean",
8853
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
8854
+ "default": false
8698
8855
  }
8699
8856
  },
8700
8857
  "title": "Common"
@@ -8983,6 +9140,11 @@
8983
9140
  }
8984
9141
  },
8985
9142
  "title": "Variables (step)"
9143
+ },
9144
+ "breakpoint": {
9145
+ "type": "boolean",
9146
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
9147
+ "default": false
8986
9148
  }
8987
9149
  },
8988
9150
  "title": "Common"
@@ -9199,6 +9361,11 @@
9199
9361
  }
9200
9362
  },
9201
9363
  "title": "Variables (step)"
9364
+ },
9365
+ "breakpoint": {
9366
+ "type": "boolean",
9367
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
9368
+ "default": false
9202
9369
  }
9203
9370
  },
9204
9371
  "title": "Common"
@@ -9642,6 +9809,11 @@
9642
9809
  }
9643
9810
  },
9644
9811
  "title": "Variables (step)"
9812
+ },
9813
+ "breakpoint": {
9814
+ "type": "boolean",
9815
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
9816
+ "default": false
9645
9817
  }
9646
9818
  },
9647
9819
  "title": "Common"
@@ -9809,6 +9981,11 @@
9809
9981
  }
9810
9982
  },
9811
9983
  "title": "Variables (step)"
9984
+ },
9985
+ "breakpoint": {
9986
+ "type": "boolean",
9987
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
9988
+ "default": false
9812
9989
  }
9813
9990
  },
9814
9991
  "title": "Common"
@@ -9889,6 +10066,11 @@
9889
10066
  }
9890
10067
  },
9891
10068
  "title": "Variables (step)"
10069
+ },
10070
+ "breakpoint": {
10071
+ "type": "boolean",
10072
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
10073
+ "default": false
9892
10074
  }
9893
10075
  },
9894
10076
  "title": "Common"
@@ -9964,6 +10146,11 @@
9964
10146
  }
9965
10147
  },
9966
10148
  "title": "Variables (step)"
10149
+ },
10150
+ "breakpoint": {
10151
+ "type": "boolean",
10152
+ "description": "Whether or not this step should act as a breakpoint when debugging is enabled. When `true`, execution will pause at this step when debug mode is enabled.",
10153
+ "default": false
9967
10154
  }
9968
10155
  },
9969
10156
  "title": "Common"
@@ -10366,6 +10553,16 @@
10366
10553
  }
10367
10554
  }
10368
10555
  }
10556
+ },
10557
+ {
10558
+ "stepId": "breakpoint-example",
10559
+ "description": "Step with breakpoint enabled",
10560
+ "goTo": "https://www.example.com",
10561
+ "breakpoint": true
10562
+ },
10563
+ {
10564
+ "checkLink": "https://www.google.com",
10565
+ "breakpoint": false
10369
10566
  }
10370
10567
  ]
10371
10568
  }
@@ -10588,6 +10785,24 @@
10588
10785
  "platform": "windows",
10589
10786
  "arch": "x64"
10590
10787
  }
10788
+ },
10789
+ {
10790
+ "concurrentRunners": 1
10791
+ },
10792
+ {
10793
+ "concurrentRunners": true
10794
+ },
10795
+ {
10796
+ "concurrentRunners": 4
10797
+ },
10798
+ {
10799
+ "debug": false
10800
+ },
10801
+ {
10802
+ "debug": true
10803
+ },
10804
+ {
10805
+ "debug": "stepThrough"
10591
10806
  }
10592
10807
  ]
10593
10808
  }