doc-detective 4.8.0 → 4.9.0

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 (46) hide show
  1. package/dist/common/src/detectTests.d.ts +16 -1
  2. package/dist/common/src/detectTests.d.ts.map +1 -1
  3. package/dist/common/src/detectTests.js +93 -14
  4. package/dist/common/src/detectTests.js.map +1 -1
  5. package/dist/common/src/schemas/schemas.json +1700 -4
  6. package/dist/common/src/types/generated/config_v3.d.ts +5 -1
  7. package/dist/common/src/types/generated/config_v3.d.ts.map +1 -1
  8. package/dist/common/src/types/generated/report_v3.d.ts +12 -0
  9. package/dist/common/src/types/generated/report_v3.d.ts.map +1 -1
  10. package/dist/common/src/types/generated/resolvedTests_v3.d.ts +9 -1
  11. package/dist/common/src/types/generated/resolvedTests_v3.d.ts.map +1 -1
  12. package/dist/common/src/types/generated/spec_v3.d.ts +4 -0
  13. package/dist/common/src/types/generated/spec_v3.d.ts.map +1 -1
  14. package/dist/common/src/types/generated/step_v3.d.ts +64 -0
  15. package/dist/common/src/types/generated/step_v3.d.ts.map +1 -1
  16. package/dist/common/src/types/generated/test_v3.d.ts +132 -0
  17. package/dist/common/src/types/generated/test_v3.d.ts.map +1 -1
  18. package/dist/core/detectTests.d.ts +7 -1
  19. package/dist/core/detectTests.d.ts.map +1 -1
  20. package/dist/core/detectTests.js +53 -10
  21. package/dist/core/detectTests.js.map +1 -1
  22. package/dist/core/resolveTests.d.ts.map +1 -1
  23. package/dist/core/resolveTests.js +54 -6
  24. package/dist/core/resolveTests.js.map +1 -1
  25. package/dist/core/tests.d.ts +6 -1
  26. package/dist/core/tests.d.ts.map +1 -1
  27. package/dist/core/tests.js +141 -7
  28. package/dist/core/tests.js.map +1 -1
  29. package/dist/core/utils.d.ts +2 -1
  30. package/dist/core/utils.d.ts.map +1 -1
  31. package/dist/core/utils.js +51 -3
  32. package/dist/core/utils.js.map +1 -1
  33. package/dist/hints/context.d.ts +1 -0
  34. package/dist/hints/context.d.ts.map +1 -1
  35. package/dist/hints/context.js +8 -0
  36. package/dist/hints/context.js.map +1 -1
  37. package/dist/hints/hints.d.ts.map +1 -1
  38. package/dist/hints/hints.js +20 -0
  39. package/dist/hints/hints.js.map +1 -1
  40. package/dist/hints/types.d.ts +6 -0
  41. package/dist/hints/types.d.ts.map +1 -1
  42. package/dist/index.cjs +1916 -36
  43. package/dist/utils.d.ts.map +1 -1
  44. package/dist/utils.js +87 -2
  45. package/dist/utils.js.map +1 -1
  46. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -548,7 +548,7 @@ var init_schemas = __esm({
548
548
  default: "."
549
549
  },
550
550
  reporters: {
551
- description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`. Custom reporters registered via `registerReporter()` can also be referenced by name.",
551
+ description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (enabled by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json`, beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. Custom reporters registered via `registerReporter()` can also be referenced by name.",
552
552
  type: "array",
553
553
  items: {
554
554
  type: "string",
@@ -556,7 +556,8 @@ var init_schemas = __esm({
556
556
  },
557
557
  default: [
558
558
  "terminal",
559
- "json"
559
+ "json",
560
+ "runFolder"
560
561
  ]
561
562
  },
562
563
  specFilter: {
@@ -1409,6 +1410,13 @@ var init_schemas = __esm({
1409
1410
  ],
1410
1411
  additionalProperties: false,
1411
1412
  title: "Source Location"
1413
+ },
1414
+ autoScreenshot: {
1415
+ type: "string",
1416
+ minLength: 1,
1417
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
1418
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
1419
+ readOnly: true
1412
1420
  }
1413
1421
  },
1414
1422
  title: "Common"
@@ -1462,6 +1470,13 @@ var init_schemas = __esm({
1462
1470
  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.",
1463
1471
  default: false
1464
1472
  },
1473
+ autoScreenshot: {
1474
+ type: "string",
1475
+ minLength: 1,
1476
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
1477
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
1478
+ readOnly: true
1479
+ },
1465
1480
  location: {
1466
1481
  type: "object",
1467
1482
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -1579,6 +1594,13 @@ var init_schemas = __esm({
1579
1594
  ],
1580
1595
  additionalProperties: false,
1581
1596
  title: "Source Location"
1597
+ },
1598
+ autoScreenshot: {
1599
+ type: "string",
1600
+ minLength: 1,
1601
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
1602
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
1603
+ readOnly: true
1582
1604
  }
1583
1605
  },
1584
1606
  title: "Common"
@@ -1887,6 +1909,13 @@ var init_schemas = __esm({
1887
1909
  ],
1888
1910
  additionalProperties: false,
1889
1911
  title: "Source Location"
1912
+ },
1913
+ autoScreenshot: {
1914
+ type: "string",
1915
+ minLength: 1,
1916
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
1917
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
1918
+ readOnly: true
1890
1919
  }
1891
1920
  },
1892
1921
  title: "Common"
@@ -2239,6 +2268,13 @@ var init_schemas = __esm({
2239
2268
  ],
2240
2269
  additionalProperties: false,
2241
2270
  title: "Source Location"
2271
+ },
2272
+ autoScreenshot: {
2273
+ type: "string",
2274
+ minLength: 1,
2275
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
2276
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
2277
+ readOnly: true
2242
2278
  }
2243
2279
  },
2244
2280
  title: "Common"
@@ -3688,6 +3724,13 @@ var init_schemas = __esm({
3688
3724
  ],
3689
3725
  additionalProperties: false,
3690
3726
  title: "Source Location"
3727
+ },
3728
+ autoScreenshot: {
3729
+ type: "string",
3730
+ minLength: 1,
3731
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
3732
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
3733
+ readOnly: true
3691
3734
  }
3692
3735
  },
3693
3736
  title: "Common"
@@ -4230,6 +4273,13 @@ var init_schemas = __esm({
4230
4273
  ],
4231
4274
  additionalProperties: false,
4232
4275
  title: "Source Location"
4276
+ },
4277
+ autoScreenshot: {
4278
+ type: "string",
4279
+ minLength: 1,
4280
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
4281
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
4282
+ readOnly: true
4233
4283
  }
4234
4284
  },
4235
4285
  title: "Common"
@@ -5324,6 +5374,13 @@ var init_schemas = __esm({
5324
5374
  ],
5325
5375
  additionalProperties: false,
5326
5376
  title: "Source Location"
5377
+ },
5378
+ autoScreenshot: {
5379
+ type: "string",
5380
+ minLength: 1,
5381
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
5382
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
5383
+ readOnly: true
5327
5384
  }
5328
5385
  },
5329
5386
  title: "Common"
@@ -5660,6 +5717,13 @@ var init_schemas = __esm({
5660
5717
  ],
5661
5718
  additionalProperties: false,
5662
5719
  title: "Source Location"
5720
+ },
5721
+ autoScreenshot: {
5722
+ type: "string",
5723
+ minLength: 1,
5724
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
5725
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
5726
+ readOnly: true
5663
5727
  }
5664
5728
  },
5665
5729
  title: "Common"
@@ -5982,6 +6046,13 @@ var init_schemas = __esm({
5982
6046
  ],
5983
6047
  additionalProperties: false,
5984
6048
  title: "Source Location"
6049
+ },
6050
+ autoScreenshot: {
6051
+ type: "string",
6052
+ minLength: 1,
6053
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
6054
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
6055
+ readOnly: true
5985
6056
  }
5986
6057
  },
5987
6058
  title: "Common"
@@ -6326,6 +6397,13 @@ var init_schemas = __esm({
6326
6397
  ],
6327
6398
  additionalProperties: false,
6328
6399
  title: "Source Location"
6400
+ },
6401
+ autoScreenshot: {
6402
+ type: "string",
6403
+ minLength: 1,
6404
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
6405
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
6406
+ readOnly: true
6329
6407
  }
6330
6408
  },
6331
6409
  title: "Common"
@@ -7113,6 +7191,13 @@ var init_schemas = __esm({
7113
7191
  ],
7114
7192
  additionalProperties: false,
7115
7193
  title: "Source Location"
7194
+ },
7195
+ autoScreenshot: {
7196
+ type: "string",
7197
+ minLength: 1,
7198
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
7199
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
7200
+ readOnly: true
7116
7201
  }
7117
7202
  },
7118
7203
  title: "Common"
@@ -7458,6 +7543,13 @@ var init_schemas = __esm({
7458
7543
  ],
7459
7544
  additionalProperties: false,
7460
7545
  title: "Source Location"
7546
+ },
7547
+ autoScreenshot: {
7548
+ type: "string",
7549
+ minLength: 1,
7550
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
7551
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
7552
+ readOnly: true
7461
7553
  }
7462
7554
  },
7463
7555
  title: "Common"
@@ -7659,6 +7751,13 @@ var init_schemas = __esm({
7659
7751
  ],
7660
7752
  additionalProperties: false,
7661
7753
  title: "Source Location"
7754
+ },
7755
+ autoScreenshot: {
7756
+ type: "string",
7757
+ minLength: 1,
7758
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
7759
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
7760
+ readOnly: true
7662
7761
  }
7663
7762
  },
7664
7763
  title: "Common"
@@ -7771,6 +7870,13 @@ var init_schemas = __esm({
7771
7870
  ],
7772
7871
  additionalProperties: false,
7773
7872
  title: "Source Location"
7873
+ },
7874
+ autoScreenshot: {
7875
+ type: "string",
7876
+ minLength: 1,
7877
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
7878
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
7879
+ readOnly: true
7774
7880
  }
7775
7881
  },
7776
7882
  title: "Common"
@@ -7880,6 +7986,13 @@ var init_schemas = __esm({
7880
7986
  ],
7881
7987
  additionalProperties: false,
7882
7988
  title: "Source Location"
7989
+ },
7990
+ autoScreenshot: {
7991
+ type: "string",
7992
+ minLength: 1,
7993
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
7994
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
7995
+ readOnly: true
7883
7996
  }
7884
7997
  },
7885
7998
  title: "Common"
@@ -8476,6 +8589,13 @@ var init_schemas = __esm({
8476
8589
  ],
8477
8590
  additionalProperties: false,
8478
8591
  title: "Source Location"
8592
+ },
8593
+ autoScreenshot: {
8594
+ type: "string",
8595
+ minLength: 1,
8596
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
8597
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
8598
+ readOnly: true
8479
8599
  }
8480
8600
  },
8481
8601
  title: "Common"
@@ -8804,6 +8924,13 @@ var init_schemas = __esm({
8804
8924
  ],
8805
8925
  additionalProperties: false,
8806
8926
  title: "Source Location"
8927
+ },
8928
+ autoScreenshot: {
8929
+ type: "string",
8930
+ minLength: 1,
8931
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
8932
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
8933
+ readOnly: true
8807
8934
  }
8808
8935
  },
8809
8936
  title: "Common"
@@ -9942,6 +10069,11 @@ var init_schemas = __esm({
9942
10069
  type: "boolean",
9943
10070
  default: false
9944
10071
  },
10072
+ autoScreenshot: {
10073
+ description: "If `true`, captures a screenshot after every step that runs in a browser, in addition to any explicit `screenshot` steps. Images are saved in the per-run artifact directory (`<output>/.doc-detective/run-<runId>/`) at paths derived from spec, test, and context IDs plus the step's order, action, and ID (for example, `screenshots/<specId>/<testId>/<contextId>/01-goTo-s4f2a91c.png`), so the same step lands on the same relative path in every run's folder for run-over-run comparison. Specs and tests can override this value with their own `autoScreenshot` fields (test level wins over spec level, which wins over config level). Equivalent to `--auto-screenshot` on the CLI.",
10074
+ type: "boolean",
10075
+ default: false
10076
+ },
9945
10077
  autoUpdate: {
9946
10078
  description: "If `true` (default), the CLI checks for a newer published `doc-detective` on startup and self-updates before running tests. Updates happen for global (`npm i -g`) and `npx` installs only \u2014 local installs (where `doc-detective` is a project dep) get an informational message instead, since auto-updating would mutate the user's lockfile. CI environments and the `DOC_DETECTIVE_SKIP_AUTO_UPDATE=1` env var also skip the check. Set to `false` to pin to the installed version. Equivalent to `--no-auto-update` on the CLI.",
9947
10079
  type: "boolean",
@@ -10159,6 +10291,13 @@ var init_schemas = __esm({
10159
10291
  ],
10160
10292
  additionalProperties: false,
10161
10293
  title: "Source Location"
10294
+ },
10295
+ autoScreenshot: {
10296
+ type: "string",
10297
+ minLength: 1,
10298
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
10299
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
10300
+ readOnly: true
10162
10301
  }
10163
10302
  },
10164
10303
  title: "Common"
@@ -10212,6 +10351,13 @@ var init_schemas = __esm({
10212
10351
  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.",
10213
10352
  default: false
10214
10353
  },
10354
+ autoScreenshot: {
10355
+ type: "string",
10356
+ minLength: 1,
10357
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
10358
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
10359
+ readOnly: true
10360
+ },
10215
10361
  location: {
10216
10362
  type: "object",
10217
10363
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -10329,6 +10475,13 @@ var init_schemas = __esm({
10329
10475
  ],
10330
10476
  additionalProperties: false,
10331
10477
  title: "Source Location"
10478
+ },
10479
+ autoScreenshot: {
10480
+ type: "string",
10481
+ minLength: 1,
10482
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
10483
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
10484
+ readOnly: true
10332
10485
  }
10333
10486
  },
10334
10487
  title: "Common"
@@ -10637,6 +10790,13 @@ var init_schemas = __esm({
10637
10790
  ],
10638
10791
  additionalProperties: false,
10639
10792
  title: "Source Location"
10793
+ },
10794
+ autoScreenshot: {
10795
+ type: "string",
10796
+ minLength: 1,
10797
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
10798
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
10799
+ readOnly: true
10640
10800
  }
10641
10801
  },
10642
10802
  title: "Common"
@@ -10989,6 +11149,13 @@ var init_schemas = __esm({
10989
11149
  ],
10990
11150
  additionalProperties: false,
10991
11151
  title: "Source Location"
11152
+ },
11153
+ autoScreenshot: {
11154
+ type: "string",
11155
+ minLength: 1,
11156
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
11157
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
11158
+ readOnly: true
10992
11159
  }
10993
11160
  },
10994
11161
  title: "Common"
@@ -12438,6 +12605,13 @@ var init_schemas = __esm({
12438
12605
  ],
12439
12606
  additionalProperties: false,
12440
12607
  title: "Source Location"
12608
+ },
12609
+ autoScreenshot: {
12610
+ type: "string",
12611
+ minLength: 1,
12612
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
12613
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
12614
+ readOnly: true
12441
12615
  }
12442
12616
  },
12443
12617
  title: "Common"
@@ -12980,6 +13154,13 @@ var init_schemas = __esm({
12980
13154
  ],
12981
13155
  additionalProperties: false,
12982
13156
  title: "Source Location"
13157
+ },
13158
+ autoScreenshot: {
13159
+ type: "string",
13160
+ minLength: 1,
13161
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
13162
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
13163
+ readOnly: true
12983
13164
  }
12984
13165
  },
12985
13166
  title: "Common"
@@ -14074,6 +14255,13 @@ var init_schemas = __esm({
14074
14255
  ],
14075
14256
  additionalProperties: false,
14076
14257
  title: "Source Location"
14258
+ },
14259
+ autoScreenshot: {
14260
+ type: "string",
14261
+ minLength: 1,
14262
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
14263
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
14264
+ readOnly: true
14077
14265
  }
14078
14266
  },
14079
14267
  title: "Common"
@@ -14410,6 +14598,13 @@ var init_schemas = __esm({
14410
14598
  ],
14411
14599
  additionalProperties: false,
14412
14600
  title: "Source Location"
14601
+ },
14602
+ autoScreenshot: {
14603
+ type: "string",
14604
+ minLength: 1,
14605
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
14606
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
14607
+ readOnly: true
14413
14608
  }
14414
14609
  },
14415
14610
  title: "Common"
@@ -14732,6 +14927,13 @@ var init_schemas = __esm({
14732
14927
  ],
14733
14928
  additionalProperties: false,
14734
14929
  title: "Source Location"
14930
+ },
14931
+ autoScreenshot: {
14932
+ type: "string",
14933
+ minLength: 1,
14934
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
14935
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
14936
+ readOnly: true
14735
14937
  }
14736
14938
  },
14737
14939
  title: "Common"
@@ -15076,6 +15278,13 @@ var init_schemas = __esm({
15076
15278
  ],
15077
15279
  additionalProperties: false,
15078
15280
  title: "Source Location"
15281
+ },
15282
+ autoScreenshot: {
15283
+ type: "string",
15284
+ minLength: 1,
15285
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
15286
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
15287
+ readOnly: true
15079
15288
  }
15080
15289
  },
15081
15290
  title: "Common"
@@ -15863,6 +16072,13 @@ var init_schemas = __esm({
15863
16072
  ],
15864
16073
  additionalProperties: false,
15865
16074
  title: "Source Location"
16075
+ },
16076
+ autoScreenshot: {
16077
+ type: "string",
16078
+ minLength: 1,
16079
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
16080
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
16081
+ readOnly: true
15866
16082
  }
15867
16083
  },
15868
16084
  title: "Common"
@@ -16208,6 +16424,13 @@ var init_schemas = __esm({
16208
16424
  ],
16209
16425
  additionalProperties: false,
16210
16426
  title: "Source Location"
16427
+ },
16428
+ autoScreenshot: {
16429
+ type: "string",
16430
+ minLength: 1,
16431
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
16432
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
16433
+ readOnly: true
16211
16434
  }
16212
16435
  },
16213
16436
  title: "Common"
@@ -16409,6 +16632,13 @@ var init_schemas = __esm({
16409
16632
  ],
16410
16633
  additionalProperties: false,
16411
16634
  title: "Source Location"
16635
+ },
16636
+ autoScreenshot: {
16637
+ type: "string",
16638
+ minLength: 1,
16639
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
16640
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
16641
+ readOnly: true
16412
16642
  }
16413
16643
  },
16414
16644
  title: "Common"
@@ -16521,6 +16751,13 @@ var init_schemas = __esm({
16521
16751
  ],
16522
16752
  additionalProperties: false,
16523
16753
  title: "Source Location"
16754
+ },
16755
+ autoScreenshot: {
16756
+ type: "string",
16757
+ minLength: 1,
16758
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
16759
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
16760
+ readOnly: true
16524
16761
  }
16525
16762
  },
16526
16763
  title: "Common"
@@ -16630,6 +16867,13 @@ var init_schemas = __esm({
16630
16867
  ],
16631
16868
  additionalProperties: false,
16632
16869
  title: "Source Location"
16870
+ },
16871
+ autoScreenshot: {
16872
+ type: "string",
16873
+ minLength: 1,
16874
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
16875
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
16876
+ readOnly: true
16633
16877
  }
16634
16878
  },
16635
16879
  title: "Common"
@@ -17226,6 +17470,13 @@ var init_schemas = __esm({
17226
17470
  ],
17227
17471
  additionalProperties: false,
17228
17472
  title: "Source Location"
17473
+ },
17474
+ autoScreenshot: {
17475
+ type: "string",
17476
+ minLength: 1,
17477
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
17478
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
17479
+ readOnly: true
17229
17480
  }
17230
17481
  },
17231
17482
  title: "Common"
@@ -17554,6 +17805,13 @@ var init_schemas = __esm({
17554
17805
  ],
17555
17806
  additionalProperties: false,
17556
17807
  title: "Source Location"
17808
+ },
17809
+ autoScreenshot: {
17810
+ type: "string",
17811
+ minLength: 1,
17812
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
17813
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
17814
+ readOnly: true
17557
17815
  }
17558
17816
  },
17559
17817
  title: "Common"
@@ -18278,6 +18536,10 @@ var init_schemas = __esm({
18278
18536
  specFilter: [
18279
18537
  "auth"
18280
18538
  ]
18539
+ },
18540
+ {
18541
+ autoScreenshot: true,
18542
+ output: "./test-results"
18281
18543
  }
18282
18544
  ]
18283
18545
  },
@@ -22501,7 +22763,7 @@ var init_schemas = __esm({
22501
22763
  default: "."
22502
22764
  },
22503
22765
  reporters: {
22504
- description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`. Custom reporters registered via `registerReporter()` can also be referenced by name.",
22766
+ description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (enabled by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json`, beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. Custom reporters registered via `registerReporter()` can also be referenced by name.",
22505
22767
  type: "array",
22506
22768
  items: {
22507
22769
  type: "string",
@@ -22509,7 +22771,8 @@ var init_schemas = __esm({
22509
22771
  },
22510
22772
  default: [
22511
22773
  "terminal",
22512
- "json"
22774
+ "json",
22775
+ "runFolder"
22513
22776
  ]
22514
22777
  },
22515
22778
  specFilter: {
@@ -23362,6 +23625,13 @@ var init_schemas = __esm({
23362
23625
  ],
23363
23626
  additionalProperties: false,
23364
23627
  title: "Source Location"
23628
+ },
23629
+ autoScreenshot: {
23630
+ type: "string",
23631
+ minLength: 1,
23632
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
23633
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
23634
+ readOnly: true
23365
23635
  }
23366
23636
  },
23367
23637
  title: "Common"
@@ -23415,6 +23685,13 @@ var init_schemas = __esm({
23415
23685
  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.",
23416
23686
  default: false
23417
23687
  },
23688
+ autoScreenshot: {
23689
+ type: "string",
23690
+ minLength: 1,
23691
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
23692
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
23693
+ readOnly: true
23694
+ },
23418
23695
  location: {
23419
23696
  type: "object",
23420
23697
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -23532,6 +23809,13 @@ var init_schemas = __esm({
23532
23809
  ],
23533
23810
  additionalProperties: false,
23534
23811
  title: "Source Location"
23812
+ },
23813
+ autoScreenshot: {
23814
+ type: "string",
23815
+ minLength: 1,
23816
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
23817
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
23818
+ readOnly: true
23535
23819
  }
23536
23820
  },
23537
23821
  title: "Common"
@@ -23840,6 +24124,13 @@ var init_schemas = __esm({
23840
24124
  ],
23841
24125
  additionalProperties: false,
23842
24126
  title: "Source Location"
24127
+ },
24128
+ autoScreenshot: {
24129
+ type: "string",
24130
+ minLength: 1,
24131
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
24132
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
24133
+ readOnly: true
23843
24134
  }
23844
24135
  },
23845
24136
  title: "Common"
@@ -24192,6 +24483,13 @@ var init_schemas = __esm({
24192
24483
  ],
24193
24484
  additionalProperties: false,
24194
24485
  title: "Source Location"
24486
+ },
24487
+ autoScreenshot: {
24488
+ type: "string",
24489
+ minLength: 1,
24490
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
24491
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
24492
+ readOnly: true
24195
24493
  }
24196
24494
  },
24197
24495
  title: "Common"
@@ -25641,6 +25939,13 @@ var init_schemas = __esm({
25641
25939
  ],
25642
25940
  additionalProperties: false,
25643
25941
  title: "Source Location"
25942
+ },
25943
+ autoScreenshot: {
25944
+ type: "string",
25945
+ minLength: 1,
25946
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
25947
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
25948
+ readOnly: true
25644
25949
  }
25645
25950
  },
25646
25951
  title: "Common"
@@ -26183,6 +26488,13 @@ var init_schemas = __esm({
26183
26488
  ],
26184
26489
  additionalProperties: false,
26185
26490
  title: "Source Location"
26491
+ },
26492
+ autoScreenshot: {
26493
+ type: "string",
26494
+ minLength: 1,
26495
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
26496
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
26497
+ readOnly: true
26186
26498
  }
26187
26499
  },
26188
26500
  title: "Common"
@@ -27277,6 +27589,13 @@ var init_schemas = __esm({
27277
27589
  ],
27278
27590
  additionalProperties: false,
27279
27591
  title: "Source Location"
27592
+ },
27593
+ autoScreenshot: {
27594
+ type: "string",
27595
+ minLength: 1,
27596
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
27597
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
27598
+ readOnly: true
27280
27599
  }
27281
27600
  },
27282
27601
  title: "Common"
@@ -27613,6 +27932,13 @@ var init_schemas = __esm({
27613
27932
  ],
27614
27933
  additionalProperties: false,
27615
27934
  title: "Source Location"
27935
+ },
27936
+ autoScreenshot: {
27937
+ type: "string",
27938
+ minLength: 1,
27939
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
27940
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
27941
+ readOnly: true
27616
27942
  }
27617
27943
  },
27618
27944
  title: "Common"
@@ -27935,6 +28261,13 @@ var init_schemas = __esm({
27935
28261
  ],
27936
28262
  additionalProperties: false,
27937
28263
  title: "Source Location"
28264
+ },
28265
+ autoScreenshot: {
28266
+ type: "string",
28267
+ minLength: 1,
28268
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
28269
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
28270
+ readOnly: true
27938
28271
  }
27939
28272
  },
27940
28273
  title: "Common"
@@ -28279,6 +28612,13 @@ var init_schemas = __esm({
28279
28612
  ],
28280
28613
  additionalProperties: false,
28281
28614
  title: "Source Location"
28615
+ },
28616
+ autoScreenshot: {
28617
+ type: "string",
28618
+ minLength: 1,
28619
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
28620
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
28621
+ readOnly: true
28282
28622
  }
28283
28623
  },
28284
28624
  title: "Common"
@@ -29066,6 +29406,13 @@ var init_schemas = __esm({
29066
29406
  ],
29067
29407
  additionalProperties: false,
29068
29408
  title: "Source Location"
29409
+ },
29410
+ autoScreenshot: {
29411
+ type: "string",
29412
+ minLength: 1,
29413
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
29414
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
29415
+ readOnly: true
29069
29416
  }
29070
29417
  },
29071
29418
  title: "Common"
@@ -29411,6 +29758,13 @@ var init_schemas = __esm({
29411
29758
  ],
29412
29759
  additionalProperties: false,
29413
29760
  title: "Source Location"
29761
+ },
29762
+ autoScreenshot: {
29763
+ type: "string",
29764
+ minLength: 1,
29765
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
29766
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
29767
+ readOnly: true
29414
29768
  }
29415
29769
  },
29416
29770
  title: "Common"
@@ -29612,6 +29966,13 @@ var init_schemas = __esm({
29612
29966
  ],
29613
29967
  additionalProperties: false,
29614
29968
  title: "Source Location"
29969
+ },
29970
+ autoScreenshot: {
29971
+ type: "string",
29972
+ minLength: 1,
29973
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
29974
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
29975
+ readOnly: true
29615
29976
  }
29616
29977
  },
29617
29978
  title: "Common"
@@ -29724,6 +30085,13 @@ var init_schemas = __esm({
29724
30085
  ],
29725
30086
  additionalProperties: false,
29726
30087
  title: "Source Location"
30088
+ },
30089
+ autoScreenshot: {
30090
+ type: "string",
30091
+ minLength: 1,
30092
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
30093
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
30094
+ readOnly: true
29727
30095
  }
29728
30096
  },
29729
30097
  title: "Common"
@@ -29833,6 +30201,13 @@ var init_schemas = __esm({
29833
30201
  ],
29834
30202
  additionalProperties: false,
29835
30203
  title: "Source Location"
30204
+ },
30205
+ autoScreenshot: {
30206
+ type: "string",
30207
+ minLength: 1,
30208
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
30209
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
30210
+ readOnly: true
29836
30211
  }
29837
30212
  },
29838
30213
  title: "Common"
@@ -30429,6 +30804,13 @@ var init_schemas = __esm({
30429
30804
  ],
30430
30805
  additionalProperties: false,
30431
30806
  title: "Source Location"
30807
+ },
30808
+ autoScreenshot: {
30809
+ type: "string",
30810
+ minLength: 1,
30811
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
30812
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
30813
+ readOnly: true
30432
30814
  }
30433
30815
  },
30434
30816
  title: "Common"
@@ -30757,6 +31139,13 @@ var init_schemas = __esm({
30757
31139
  ],
30758
31140
  additionalProperties: false,
30759
31141
  title: "Source Location"
31142
+ },
31143
+ autoScreenshot: {
31144
+ type: "string",
31145
+ minLength: 1,
31146
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
31147
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
31148
+ readOnly: true
30760
31149
  }
30761
31150
  },
30762
31151
  title: "Common"
@@ -31895,6 +32284,11 @@ var init_schemas = __esm({
31895
32284
  type: "boolean",
31896
32285
  default: false
31897
32286
  },
32287
+ autoScreenshot: {
32288
+ description: "If `true`, captures a screenshot after every step that runs in a browser, in addition to any explicit `screenshot` steps. Images are saved in the per-run artifact directory (`<output>/.doc-detective/run-<runId>/`) at paths derived from spec, test, and context IDs plus the step's order, action, and ID (for example, `screenshots/<specId>/<testId>/<contextId>/01-goTo-s4f2a91c.png`), so the same step lands on the same relative path in every run's folder for run-over-run comparison. Specs and tests can override this value with their own `autoScreenshot` fields (test level wins over spec level, which wins over config level). Equivalent to `--auto-screenshot` on the CLI.",
32289
+ type: "boolean",
32290
+ default: false
32291
+ },
31898
32292
  autoUpdate: {
31899
32293
  description: "If `true` (default), the CLI checks for a newer published `doc-detective` on startup and self-updates before running tests. Updates happen for global (`npm i -g`) and `npx` installs only \u2014 local installs (where `doc-detective` is a project dep) get an informational message instead, since auto-updating would mutate the user's lockfile. CI environments and the `DOC_DETECTIVE_SKIP_AUTO_UPDATE=1` env var also skip the check. Set to `false` to pin to the installed version. Equivalent to `--no-auto-update` on the CLI.",
31900
32294
  type: "boolean",
@@ -32112,6 +32506,13 @@ var init_schemas = __esm({
32112
32506
  ],
32113
32507
  additionalProperties: false,
32114
32508
  title: "Source Location"
32509
+ },
32510
+ autoScreenshot: {
32511
+ type: "string",
32512
+ minLength: 1,
32513
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
32514
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
32515
+ readOnly: true
32115
32516
  }
32116
32517
  },
32117
32518
  title: "Common"
@@ -32165,6 +32566,13 @@ var init_schemas = __esm({
32165
32566
  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.",
32166
32567
  default: false
32167
32568
  },
32569
+ autoScreenshot: {
32570
+ type: "string",
32571
+ minLength: 1,
32572
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
32573
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
32574
+ readOnly: true
32575
+ },
32168
32576
  location: {
32169
32577
  type: "object",
32170
32578
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -32282,6 +32690,13 @@ var init_schemas = __esm({
32282
32690
  ],
32283
32691
  additionalProperties: false,
32284
32692
  title: "Source Location"
32693
+ },
32694
+ autoScreenshot: {
32695
+ type: "string",
32696
+ minLength: 1,
32697
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
32698
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
32699
+ readOnly: true
32285
32700
  }
32286
32701
  },
32287
32702
  title: "Common"
@@ -32590,6 +33005,13 @@ var init_schemas = __esm({
32590
33005
  ],
32591
33006
  additionalProperties: false,
32592
33007
  title: "Source Location"
33008
+ },
33009
+ autoScreenshot: {
33010
+ type: "string",
33011
+ minLength: 1,
33012
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
33013
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
33014
+ readOnly: true
32593
33015
  }
32594
33016
  },
32595
33017
  title: "Common"
@@ -32942,6 +33364,13 @@ var init_schemas = __esm({
32942
33364
  ],
32943
33365
  additionalProperties: false,
32944
33366
  title: "Source Location"
33367
+ },
33368
+ autoScreenshot: {
33369
+ type: "string",
33370
+ minLength: 1,
33371
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
33372
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
33373
+ readOnly: true
32945
33374
  }
32946
33375
  },
32947
33376
  title: "Common"
@@ -34391,6 +34820,13 @@ var init_schemas = __esm({
34391
34820
  ],
34392
34821
  additionalProperties: false,
34393
34822
  title: "Source Location"
34823
+ },
34824
+ autoScreenshot: {
34825
+ type: "string",
34826
+ minLength: 1,
34827
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
34828
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
34829
+ readOnly: true
34394
34830
  }
34395
34831
  },
34396
34832
  title: "Common"
@@ -34933,6 +35369,13 @@ var init_schemas = __esm({
34933
35369
  ],
34934
35370
  additionalProperties: false,
34935
35371
  title: "Source Location"
35372
+ },
35373
+ autoScreenshot: {
35374
+ type: "string",
35375
+ minLength: 1,
35376
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
35377
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
35378
+ readOnly: true
34936
35379
  }
34937
35380
  },
34938
35381
  title: "Common"
@@ -36027,6 +36470,13 @@ var init_schemas = __esm({
36027
36470
  ],
36028
36471
  additionalProperties: false,
36029
36472
  title: "Source Location"
36473
+ },
36474
+ autoScreenshot: {
36475
+ type: "string",
36476
+ minLength: 1,
36477
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
36478
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
36479
+ readOnly: true
36030
36480
  }
36031
36481
  },
36032
36482
  title: "Common"
@@ -36363,6 +36813,13 @@ var init_schemas = __esm({
36363
36813
  ],
36364
36814
  additionalProperties: false,
36365
36815
  title: "Source Location"
36816
+ },
36817
+ autoScreenshot: {
36818
+ type: "string",
36819
+ minLength: 1,
36820
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
36821
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
36822
+ readOnly: true
36366
36823
  }
36367
36824
  },
36368
36825
  title: "Common"
@@ -36685,6 +37142,13 @@ var init_schemas = __esm({
36685
37142
  ],
36686
37143
  additionalProperties: false,
36687
37144
  title: "Source Location"
37145
+ },
37146
+ autoScreenshot: {
37147
+ type: "string",
37148
+ minLength: 1,
37149
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
37150
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
37151
+ readOnly: true
36688
37152
  }
36689
37153
  },
36690
37154
  title: "Common"
@@ -37029,6 +37493,13 @@ var init_schemas = __esm({
37029
37493
  ],
37030
37494
  additionalProperties: false,
37031
37495
  title: "Source Location"
37496
+ },
37497
+ autoScreenshot: {
37498
+ type: "string",
37499
+ minLength: 1,
37500
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
37501
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
37502
+ readOnly: true
37032
37503
  }
37033
37504
  },
37034
37505
  title: "Common"
@@ -37816,6 +38287,13 @@ var init_schemas = __esm({
37816
38287
  ],
37817
38288
  additionalProperties: false,
37818
38289
  title: "Source Location"
38290
+ },
38291
+ autoScreenshot: {
38292
+ type: "string",
38293
+ minLength: 1,
38294
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
38295
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
38296
+ readOnly: true
37819
38297
  }
37820
38298
  },
37821
38299
  title: "Common"
@@ -38161,6 +38639,13 @@ var init_schemas = __esm({
38161
38639
  ],
38162
38640
  additionalProperties: false,
38163
38641
  title: "Source Location"
38642
+ },
38643
+ autoScreenshot: {
38644
+ type: "string",
38645
+ minLength: 1,
38646
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
38647
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
38648
+ readOnly: true
38164
38649
  }
38165
38650
  },
38166
38651
  title: "Common"
@@ -38362,6 +38847,13 @@ var init_schemas = __esm({
38362
38847
  ],
38363
38848
  additionalProperties: false,
38364
38849
  title: "Source Location"
38850
+ },
38851
+ autoScreenshot: {
38852
+ type: "string",
38853
+ minLength: 1,
38854
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
38855
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
38856
+ readOnly: true
38365
38857
  }
38366
38858
  },
38367
38859
  title: "Common"
@@ -38474,6 +38966,13 @@ var init_schemas = __esm({
38474
38966
  ],
38475
38967
  additionalProperties: false,
38476
38968
  title: "Source Location"
38969
+ },
38970
+ autoScreenshot: {
38971
+ type: "string",
38972
+ minLength: 1,
38973
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
38974
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
38975
+ readOnly: true
38477
38976
  }
38478
38977
  },
38479
38978
  title: "Common"
@@ -38583,6 +39082,13 @@ var init_schemas = __esm({
38583
39082
  ],
38584
39083
  additionalProperties: false,
38585
39084
  title: "Source Location"
39085
+ },
39086
+ autoScreenshot: {
39087
+ type: "string",
39088
+ minLength: 1,
39089
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
39090
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
39091
+ readOnly: true
38586
39092
  }
38587
39093
  },
38588
39094
  title: "Common"
@@ -39179,6 +39685,13 @@ var init_schemas = __esm({
39179
39685
  ],
39180
39686
  additionalProperties: false,
39181
39687
  title: "Source Location"
39688
+ },
39689
+ autoScreenshot: {
39690
+ type: "string",
39691
+ minLength: 1,
39692
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
39693
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
39694
+ readOnly: true
39182
39695
  }
39183
39696
  },
39184
39697
  title: "Common"
@@ -39507,6 +40020,13 @@ var init_schemas = __esm({
39507
40020
  ],
39508
40021
  additionalProperties: false,
39509
40022
  title: "Source Location"
40023
+ },
40024
+ autoScreenshot: {
40025
+ type: "string",
40026
+ minLength: 1,
40027
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
40028
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
40029
+ readOnly: true
39510
40030
  }
39511
40031
  },
39512
40032
  title: "Common"
@@ -40231,6 +40751,10 @@ var init_schemas = __esm({
40231
40751
  specFilter: [
40232
40752
  "auth"
40233
40753
  ]
40754
+ },
40755
+ {
40756
+ autoScreenshot: true,
40757
+ output: "./test-results"
40234
40758
  }
40235
40759
  ]
40236
40760
  },
@@ -40835,6 +41359,10 @@ var init_schemas = __esm({
40835
41359
  ]
40836
41360
  }
40837
41361
  },
41362
+ autoScreenshot: {
41363
+ type: "boolean",
41364
+ description: "If `true`, captures a screenshot after every step in this spec's tests that runs in a browser. Overrides the config-level `autoScreenshot`; individual tests can override this value with their own `autoScreenshot`. When unset, defers to the config level."
41365
+ },
40838
41366
  tests: {
40839
41367
  description: "[Tests](test) to perform.",
40840
41368
  type: "array",
@@ -40864,6 +41392,10 @@ var init_schemas = __esm({
40864
41392
  description: "Whether or not to detect steps in input files based on markup regex.",
40865
41393
  default: true
40866
41394
  },
41395
+ autoScreenshot: {
41396
+ type: "boolean",
41397
+ description: "If `true`, captures a screenshot after every step in this test that runs in a browser. Overrides `autoScreenshot` set at the spec or config level. When unset, defers to the spec level, then the config level."
41398
+ },
40867
41399
  runOn: {
40868
41400
  type: "array",
40869
41401
  description: "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
@@ -41530,6 +42062,13 @@ var init_schemas = __esm({
41530
42062
  ],
41531
42063
  additionalProperties: false,
41532
42064
  title: "Source Location"
42065
+ },
42066
+ autoScreenshot: {
42067
+ type: "string",
42068
+ minLength: 1,
42069
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
42070
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
42071
+ readOnly: true
41533
42072
  }
41534
42073
  },
41535
42074
  title: "Common"
@@ -41583,6 +42122,13 @@ var init_schemas = __esm({
41583
42122
  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.",
41584
42123
  default: false
41585
42124
  },
42125
+ autoScreenshot: {
42126
+ type: "string",
42127
+ minLength: 1,
42128
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
42129
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
42130
+ readOnly: true
42131
+ },
41586
42132
  location: {
41587
42133
  type: "object",
41588
42134
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -41700,6 +42246,13 @@ var init_schemas = __esm({
41700
42246
  ],
41701
42247
  additionalProperties: false,
41702
42248
  title: "Source Location"
42249
+ },
42250
+ autoScreenshot: {
42251
+ type: "string",
42252
+ minLength: 1,
42253
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
42254
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
42255
+ readOnly: true
41703
42256
  }
41704
42257
  },
41705
42258
  title: "Common"
@@ -42008,6 +42561,13 @@ var init_schemas = __esm({
42008
42561
  ],
42009
42562
  additionalProperties: false,
42010
42563
  title: "Source Location"
42564
+ },
42565
+ autoScreenshot: {
42566
+ type: "string",
42567
+ minLength: 1,
42568
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
42569
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
42570
+ readOnly: true
42011
42571
  }
42012
42572
  },
42013
42573
  title: "Common"
@@ -42360,6 +42920,13 @@ var init_schemas = __esm({
42360
42920
  ],
42361
42921
  additionalProperties: false,
42362
42922
  title: "Source Location"
42923
+ },
42924
+ autoScreenshot: {
42925
+ type: "string",
42926
+ minLength: 1,
42927
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
42928
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
42929
+ readOnly: true
42363
42930
  }
42364
42931
  },
42365
42932
  title: "Common"
@@ -43809,6 +44376,13 @@ var init_schemas = __esm({
43809
44376
  ],
43810
44377
  additionalProperties: false,
43811
44378
  title: "Source Location"
44379
+ },
44380
+ autoScreenshot: {
44381
+ type: "string",
44382
+ minLength: 1,
44383
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
44384
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
44385
+ readOnly: true
43812
44386
  }
43813
44387
  },
43814
44388
  title: "Common"
@@ -44351,6 +44925,13 @@ var init_schemas = __esm({
44351
44925
  ],
44352
44926
  additionalProperties: false,
44353
44927
  title: "Source Location"
44928
+ },
44929
+ autoScreenshot: {
44930
+ type: "string",
44931
+ minLength: 1,
44932
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
44933
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
44934
+ readOnly: true
44354
44935
  }
44355
44936
  },
44356
44937
  title: "Common"
@@ -45445,6 +46026,13 @@ var init_schemas = __esm({
45445
46026
  ],
45446
46027
  additionalProperties: false,
45447
46028
  title: "Source Location"
46029
+ },
46030
+ autoScreenshot: {
46031
+ type: "string",
46032
+ minLength: 1,
46033
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
46034
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
46035
+ readOnly: true
45448
46036
  }
45449
46037
  },
45450
46038
  title: "Common"
@@ -45781,6 +46369,13 @@ var init_schemas = __esm({
45781
46369
  ],
45782
46370
  additionalProperties: false,
45783
46371
  title: "Source Location"
46372
+ },
46373
+ autoScreenshot: {
46374
+ type: "string",
46375
+ minLength: 1,
46376
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
46377
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
46378
+ readOnly: true
45784
46379
  }
45785
46380
  },
45786
46381
  title: "Common"
@@ -46103,6 +46698,13 @@ var init_schemas = __esm({
46103
46698
  ],
46104
46699
  additionalProperties: false,
46105
46700
  title: "Source Location"
46701
+ },
46702
+ autoScreenshot: {
46703
+ type: "string",
46704
+ minLength: 1,
46705
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
46706
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
46707
+ readOnly: true
46106
46708
  }
46107
46709
  },
46108
46710
  title: "Common"
@@ -46447,6 +47049,13 @@ var init_schemas = __esm({
46447
47049
  ],
46448
47050
  additionalProperties: false,
46449
47051
  title: "Source Location"
47052
+ },
47053
+ autoScreenshot: {
47054
+ type: "string",
47055
+ minLength: 1,
47056
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
47057
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
47058
+ readOnly: true
46450
47059
  }
46451
47060
  },
46452
47061
  title: "Common"
@@ -47234,6 +47843,13 @@ var init_schemas = __esm({
47234
47843
  ],
47235
47844
  additionalProperties: false,
47236
47845
  title: "Source Location"
47846
+ },
47847
+ autoScreenshot: {
47848
+ type: "string",
47849
+ minLength: 1,
47850
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
47851
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
47852
+ readOnly: true
47237
47853
  }
47238
47854
  },
47239
47855
  title: "Common"
@@ -47579,6 +48195,13 @@ var init_schemas = __esm({
47579
48195
  ],
47580
48196
  additionalProperties: false,
47581
48197
  title: "Source Location"
48198
+ },
48199
+ autoScreenshot: {
48200
+ type: "string",
48201
+ minLength: 1,
48202
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
48203
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
48204
+ readOnly: true
47582
48205
  }
47583
48206
  },
47584
48207
  title: "Common"
@@ -47780,6 +48403,13 @@ var init_schemas = __esm({
47780
48403
  ],
47781
48404
  additionalProperties: false,
47782
48405
  title: "Source Location"
48406
+ },
48407
+ autoScreenshot: {
48408
+ type: "string",
48409
+ minLength: 1,
48410
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
48411
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
48412
+ readOnly: true
47783
48413
  }
47784
48414
  },
47785
48415
  title: "Common"
@@ -47892,6 +48522,13 @@ var init_schemas = __esm({
47892
48522
  ],
47893
48523
  additionalProperties: false,
47894
48524
  title: "Source Location"
48525
+ },
48526
+ autoScreenshot: {
48527
+ type: "string",
48528
+ minLength: 1,
48529
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
48530
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
48531
+ readOnly: true
47895
48532
  }
47896
48533
  },
47897
48534
  title: "Common"
@@ -48001,6 +48638,13 @@ var init_schemas = __esm({
48001
48638
  ],
48002
48639
  additionalProperties: false,
48003
48640
  title: "Source Location"
48641
+ },
48642
+ autoScreenshot: {
48643
+ type: "string",
48644
+ minLength: 1,
48645
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
48646
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
48647
+ readOnly: true
48004
48648
  }
48005
48649
  },
48006
48650
  title: "Common"
@@ -48597,6 +49241,13 @@ var init_schemas = __esm({
48597
49241
  ],
48598
49242
  additionalProperties: false,
48599
49243
  title: "Source Location"
49244
+ },
49245
+ autoScreenshot: {
49246
+ type: "string",
49247
+ minLength: 1,
49248
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
49249
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
49250
+ readOnly: true
48600
49251
  }
48601
49252
  },
48602
49253
  title: "Common"
@@ -48925,6 +49576,13 @@ var init_schemas = __esm({
48925
49576
  ],
48926
49577
  additionalProperties: false,
48927
49578
  title: "Source Location"
49579
+ },
49580
+ autoScreenshot: {
49581
+ type: "string",
49582
+ minLength: 1,
49583
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
49584
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
49585
+ readOnly: true
48928
49586
  }
48929
49587
  },
48930
49588
  title: "Common"
@@ -49719,6 +50377,13 @@ var init_schemas = __esm({
49719
50377
  ],
49720
50378
  additionalProperties: false,
49721
50379
  title: "Source Location"
50380
+ },
50381
+ autoScreenshot: {
50382
+ type: "string",
50383
+ minLength: 1,
50384
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
50385
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
50386
+ readOnly: true
49722
50387
  }
49723
50388
  },
49724
50389
  title: "Common"
@@ -49772,6 +50437,13 @@ var init_schemas = __esm({
49772
50437
  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.",
49773
50438
  default: false
49774
50439
  },
50440
+ autoScreenshot: {
50441
+ type: "string",
50442
+ minLength: 1,
50443
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
50444
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
50445
+ readOnly: true
50446
+ },
49775
50447
  location: {
49776
50448
  type: "object",
49777
50449
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -49889,6 +50561,13 @@ var init_schemas = __esm({
49889
50561
  ],
49890
50562
  additionalProperties: false,
49891
50563
  title: "Source Location"
50564
+ },
50565
+ autoScreenshot: {
50566
+ type: "string",
50567
+ minLength: 1,
50568
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
50569
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
50570
+ readOnly: true
49892
50571
  }
49893
50572
  },
49894
50573
  title: "Common"
@@ -50197,6 +50876,13 @@ var init_schemas = __esm({
50197
50876
  ],
50198
50877
  additionalProperties: false,
50199
50878
  title: "Source Location"
50879
+ },
50880
+ autoScreenshot: {
50881
+ type: "string",
50882
+ minLength: 1,
50883
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
50884
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
50885
+ readOnly: true
50200
50886
  }
50201
50887
  },
50202
50888
  title: "Common"
@@ -50549,6 +51235,13 @@ var init_schemas = __esm({
50549
51235
  ],
50550
51236
  additionalProperties: false,
50551
51237
  title: "Source Location"
51238
+ },
51239
+ autoScreenshot: {
51240
+ type: "string",
51241
+ minLength: 1,
51242
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
51243
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
51244
+ readOnly: true
50552
51245
  }
50553
51246
  },
50554
51247
  title: "Common"
@@ -51998,6 +52691,13 @@ var init_schemas = __esm({
51998
52691
  ],
51999
52692
  additionalProperties: false,
52000
52693
  title: "Source Location"
52694
+ },
52695
+ autoScreenshot: {
52696
+ type: "string",
52697
+ minLength: 1,
52698
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
52699
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
52700
+ readOnly: true
52001
52701
  }
52002
52702
  },
52003
52703
  title: "Common"
@@ -52540,6 +53240,13 @@ var init_schemas = __esm({
52540
53240
  ],
52541
53241
  additionalProperties: false,
52542
53242
  title: "Source Location"
53243
+ },
53244
+ autoScreenshot: {
53245
+ type: "string",
53246
+ minLength: 1,
53247
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
53248
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
53249
+ readOnly: true
52543
53250
  }
52544
53251
  },
52545
53252
  title: "Common"
@@ -53634,6 +54341,13 @@ var init_schemas = __esm({
53634
54341
  ],
53635
54342
  additionalProperties: false,
53636
54343
  title: "Source Location"
54344
+ },
54345
+ autoScreenshot: {
54346
+ type: "string",
54347
+ minLength: 1,
54348
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
54349
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
54350
+ readOnly: true
53637
54351
  }
53638
54352
  },
53639
54353
  title: "Common"
@@ -53970,6 +54684,13 @@ var init_schemas = __esm({
53970
54684
  ],
53971
54685
  additionalProperties: false,
53972
54686
  title: "Source Location"
54687
+ },
54688
+ autoScreenshot: {
54689
+ type: "string",
54690
+ minLength: 1,
54691
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
54692
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
54693
+ readOnly: true
53973
54694
  }
53974
54695
  },
53975
54696
  title: "Common"
@@ -54292,6 +55013,13 @@ var init_schemas = __esm({
54292
55013
  ],
54293
55014
  additionalProperties: false,
54294
55015
  title: "Source Location"
55016
+ },
55017
+ autoScreenshot: {
55018
+ type: "string",
55019
+ minLength: 1,
55020
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
55021
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
55022
+ readOnly: true
54295
55023
  }
54296
55024
  },
54297
55025
  title: "Common"
@@ -54636,6 +55364,13 @@ var init_schemas = __esm({
54636
55364
  ],
54637
55365
  additionalProperties: false,
54638
55366
  title: "Source Location"
55367
+ },
55368
+ autoScreenshot: {
55369
+ type: "string",
55370
+ minLength: 1,
55371
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
55372
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
55373
+ readOnly: true
54639
55374
  }
54640
55375
  },
54641
55376
  title: "Common"
@@ -55423,6 +56158,13 @@ var init_schemas = __esm({
55423
56158
  ],
55424
56159
  additionalProperties: false,
55425
56160
  title: "Source Location"
56161
+ },
56162
+ autoScreenshot: {
56163
+ type: "string",
56164
+ minLength: 1,
56165
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
56166
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
56167
+ readOnly: true
55426
56168
  }
55427
56169
  },
55428
56170
  title: "Common"
@@ -55768,6 +56510,13 @@ var init_schemas = __esm({
55768
56510
  ],
55769
56511
  additionalProperties: false,
55770
56512
  title: "Source Location"
56513
+ },
56514
+ autoScreenshot: {
56515
+ type: "string",
56516
+ minLength: 1,
56517
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
56518
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
56519
+ readOnly: true
55771
56520
  }
55772
56521
  },
55773
56522
  title: "Common"
@@ -55969,6 +56718,13 @@ var init_schemas = __esm({
55969
56718
  ],
55970
56719
  additionalProperties: false,
55971
56720
  title: "Source Location"
56721
+ },
56722
+ autoScreenshot: {
56723
+ type: "string",
56724
+ minLength: 1,
56725
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
56726
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
56727
+ readOnly: true
55972
56728
  }
55973
56729
  },
55974
56730
  title: "Common"
@@ -56081,6 +56837,13 @@ var init_schemas = __esm({
56081
56837
  ],
56082
56838
  additionalProperties: false,
56083
56839
  title: "Source Location"
56840
+ },
56841
+ autoScreenshot: {
56842
+ type: "string",
56843
+ minLength: 1,
56844
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
56845
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
56846
+ readOnly: true
56084
56847
  }
56085
56848
  },
56086
56849
  title: "Common"
@@ -56190,6 +56953,13 @@ var init_schemas = __esm({
56190
56953
  ],
56191
56954
  additionalProperties: false,
56192
56955
  title: "Source Location"
56956
+ },
56957
+ autoScreenshot: {
56958
+ type: "string",
56959
+ minLength: 1,
56960
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
56961
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
56962
+ readOnly: true
56193
56963
  }
56194
56964
  },
56195
56965
  title: "Common"
@@ -56786,6 +57556,13 @@ var init_schemas = __esm({
56786
57556
  ],
56787
57557
  additionalProperties: false,
56788
57558
  title: "Source Location"
57559
+ },
57560
+ autoScreenshot: {
57561
+ type: "string",
57562
+ minLength: 1,
57563
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
57564
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
57565
+ readOnly: true
56789
57566
  }
56790
57567
  },
56791
57568
  title: "Common"
@@ -57114,6 +57891,13 @@ var init_schemas = __esm({
57114
57891
  ],
57115
57892
  additionalProperties: false,
57116
57893
  title: "Source Location"
57894
+ },
57895
+ autoScreenshot: {
57896
+ type: "string",
57897
+ minLength: 1,
57898
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
57899
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
57900
+ readOnly: true
57117
57901
  }
57118
57902
  },
57119
57903
  title: "Common"
@@ -58322,6 +59106,16 @@ var init_schemas = __esm({
58322
59106
  type: "string",
58323
59107
  description: "Unique identifier for the test specification."
58324
59108
  },
59109
+ runId: {
59110
+ type: "string",
59111
+ description: "Identifier for the run that produced this report, derived from the run's start timestamp. Matches the run's artifact folder name (`run-<runId>`). System-populated.",
59112
+ readOnly: true
59113
+ },
59114
+ runDir: {
59115
+ type: "string",
59116
+ description: "Absolute path to the run's artifact folder (`<output>/.doc-detective/run-<runId>/`), where the `runFolder` reporter archives results and `autoScreenshot` images are saved. Step-level `autoScreenshot` paths in the report are relative to this folder. System-populated.",
59117
+ readOnly: true
59118
+ },
58325
59119
  specs: {
58326
59120
  description: "Test specifications that were performed.",
58327
59121
  type: "array",
@@ -58923,6 +59717,10 @@ var init_schemas = __esm({
58923
59717
  ]
58924
59718
  }
58925
59719
  },
59720
+ autoScreenshot: {
59721
+ type: "boolean",
59722
+ description: "If `true`, captures a screenshot after every step in this spec's tests that runs in a browser. Overrides the config-level `autoScreenshot`; individual tests can override this value with their own `autoScreenshot`. When unset, defers to the config level."
59723
+ },
58926
59724
  tests: {
58927
59725
  description: "[Tests](test) to perform.",
58928
59726
  type: "array",
@@ -58952,6 +59750,10 @@ var init_schemas = __esm({
58952
59750
  description: "Whether or not to detect steps in input files based on markup regex.",
58953
59751
  default: true
58954
59752
  },
59753
+ autoScreenshot: {
59754
+ type: "boolean",
59755
+ description: "If `true`, captures a screenshot after every step in this test that runs in a browser. Overrides `autoScreenshot` set at the spec or config level. When unset, defers to the spec level, then the config level."
59756
+ },
58955
59757
  runOn: {
58956
59758
  type: "array",
58957
59759
  description: "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
@@ -59618,6 +60420,13 @@ var init_schemas = __esm({
59618
60420
  ],
59619
60421
  additionalProperties: false,
59620
60422
  title: "Source Location"
60423
+ },
60424
+ autoScreenshot: {
60425
+ type: "string",
60426
+ minLength: 1,
60427
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
60428
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
60429
+ readOnly: true
59621
60430
  }
59622
60431
  },
59623
60432
  title: "Common"
@@ -59671,6 +60480,13 @@ var init_schemas = __esm({
59671
60480
  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.",
59672
60481
  default: false
59673
60482
  },
60483
+ autoScreenshot: {
60484
+ type: "string",
60485
+ minLength: 1,
60486
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
60487
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
60488
+ readOnly: true
60489
+ },
59674
60490
  location: {
59675
60491
  type: "object",
59676
60492
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -59788,6 +60604,13 @@ var init_schemas = __esm({
59788
60604
  ],
59789
60605
  additionalProperties: false,
59790
60606
  title: "Source Location"
60607
+ },
60608
+ autoScreenshot: {
60609
+ type: "string",
60610
+ minLength: 1,
60611
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
60612
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
60613
+ readOnly: true
59791
60614
  }
59792
60615
  },
59793
60616
  title: "Common"
@@ -60096,6 +60919,13 @@ var init_schemas = __esm({
60096
60919
  ],
60097
60920
  additionalProperties: false,
60098
60921
  title: "Source Location"
60922
+ },
60923
+ autoScreenshot: {
60924
+ type: "string",
60925
+ minLength: 1,
60926
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
60927
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
60928
+ readOnly: true
60099
60929
  }
60100
60930
  },
60101
60931
  title: "Common"
@@ -60448,6 +61278,13 @@ var init_schemas = __esm({
60448
61278
  ],
60449
61279
  additionalProperties: false,
60450
61280
  title: "Source Location"
61281
+ },
61282
+ autoScreenshot: {
61283
+ type: "string",
61284
+ minLength: 1,
61285
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
61286
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
61287
+ readOnly: true
60451
61288
  }
60452
61289
  },
60453
61290
  title: "Common"
@@ -61897,6 +62734,13 @@ var init_schemas = __esm({
61897
62734
  ],
61898
62735
  additionalProperties: false,
61899
62736
  title: "Source Location"
62737
+ },
62738
+ autoScreenshot: {
62739
+ type: "string",
62740
+ minLength: 1,
62741
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
62742
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
62743
+ readOnly: true
61900
62744
  }
61901
62745
  },
61902
62746
  title: "Common"
@@ -62439,6 +63283,13 @@ var init_schemas = __esm({
62439
63283
  ],
62440
63284
  additionalProperties: false,
62441
63285
  title: "Source Location"
63286
+ },
63287
+ autoScreenshot: {
63288
+ type: "string",
63289
+ minLength: 1,
63290
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
63291
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
63292
+ readOnly: true
62442
63293
  }
62443
63294
  },
62444
63295
  title: "Common"
@@ -63533,6 +64384,13 @@ var init_schemas = __esm({
63533
64384
  ],
63534
64385
  additionalProperties: false,
63535
64386
  title: "Source Location"
64387
+ },
64388
+ autoScreenshot: {
64389
+ type: "string",
64390
+ minLength: 1,
64391
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
64392
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
64393
+ readOnly: true
63536
64394
  }
63537
64395
  },
63538
64396
  title: "Common"
@@ -63869,6 +64727,13 @@ var init_schemas = __esm({
63869
64727
  ],
63870
64728
  additionalProperties: false,
63871
64729
  title: "Source Location"
64730
+ },
64731
+ autoScreenshot: {
64732
+ type: "string",
64733
+ minLength: 1,
64734
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
64735
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
64736
+ readOnly: true
63872
64737
  }
63873
64738
  },
63874
64739
  title: "Common"
@@ -64191,6 +65056,13 @@ var init_schemas = __esm({
64191
65056
  ],
64192
65057
  additionalProperties: false,
64193
65058
  title: "Source Location"
65059
+ },
65060
+ autoScreenshot: {
65061
+ type: "string",
65062
+ minLength: 1,
65063
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
65064
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
65065
+ readOnly: true
64194
65066
  }
64195
65067
  },
64196
65068
  title: "Common"
@@ -64535,6 +65407,13 @@ var init_schemas = __esm({
64535
65407
  ],
64536
65408
  additionalProperties: false,
64537
65409
  title: "Source Location"
65410
+ },
65411
+ autoScreenshot: {
65412
+ type: "string",
65413
+ minLength: 1,
65414
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
65415
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
65416
+ readOnly: true
64538
65417
  }
64539
65418
  },
64540
65419
  title: "Common"
@@ -65322,6 +66201,13 @@ var init_schemas = __esm({
65322
66201
  ],
65323
66202
  additionalProperties: false,
65324
66203
  title: "Source Location"
66204
+ },
66205
+ autoScreenshot: {
66206
+ type: "string",
66207
+ minLength: 1,
66208
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
66209
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
66210
+ readOnly: true
65325
66211
  }
65326
66212
  },
65327
66213
  title: "Common"
@@ -65667,6 +66553,13 @@ var init_schemas = __esm({
65667
66553
  ],
65668
66554
  additionalProperties: false,
65669
66555
  title: "Source Location"
66556
+ },
66557
+ autoScreenshot: {
66558
+ type: "string",
66559
+ minLength: 1,
66560
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
66561
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
66562
+ readOnly: true
65670
66563
  }
65671
66564
  },
65672
66565
  title: "Common"
@@ -65868,6 +66761,13 @@ var init_schemas = __esm({
65868
66761
  ],
65869
66762
  additionalProperties: false,
65870
66763
  title: "Source Location"
66764
+ },
66765
+ autoScreenshot: {
66766
+ type: "string",
66767
+ minLength: 1,
66768
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
66769
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
66770
+ readOnly: true
65871
66771
  }
65872
66772
  },
65873
66773
  title: "Common"
@@ -65980,6 +66880,13 @@ var init_schemas = __esm({
65980
66880
  ],
65981
66881
  additionalProperties: false,
65982
66882
  title: "Source Location"
66883
+ },
66884
+ autoScreenshot: {
66885
+ type: "string",
66886
+ minLength: 1,
66887
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
66888
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
66889
+ readOnly: true
65983
66890
  }
65984
66891
  },
65985
66892
  title: "Common"
@@ -66089,6 +66996,13 @@ var init_schemas = __esm({
66089
66996
  ],
66090
66997
  additionalProperties: false,
66091
66998
  title: "Source Location"
66999
+ },
67000
+ autoScreenshot: {
67001
+ type: "string",
67002
+ minLength: 1,
67003
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
67004
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
67005
+ readOnly: true
66092
67006
  }
66093
67007
  },
66094
67008
  title: "Common"
@@ -66685,6 +67599,13 @@ var init_schemas = __esm({
66685
67599
  ],
66686
67600
  additionalProperties: false,
66687
67601
  title: "Source Location"
67602
+ },
67603
+ autoScreenshot: {
67604
+ type: "string",
67605
+ minLength: 1,
67606
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
67607
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
67608
+ readOnly: true
66688
67609
  }
66689
67610
  },
66690
67611
  title: "Common"
@@ -67013,6 +67934,13 @@ var init_schemas = __esm({
67013
67934
  ],
67014
67935
  additionalProperties: false,
67015
67936
  title: "Source Location"
67937
+ },
67938
+ autoScreenshot: {
67939
+ type: "string",
67940
+ minLength: 1,
67941
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
67942
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
67943
+ readOnly: true
67016
67944
  }
67017
67945
  },
67018
67946
  title: "Common"
@@ -67807,6 +68735,13 @@ var init_schemas = __esm({
67807
68735
  ],
67808
68736
  additionalProperties: false,
67809
68737
  title: "Source Location"
68738
+ },
68739
+ autoScreenshot: {
68740
+ type: "string",
68741
+ minLength: 1,
68742
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
68743
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
68744
+ readOnly: true
67810
68745
  }
67811
68746
  },
67812
68747
  title: "Common"
@@ -67860,6 +68795,13 @@ var init_schemas = __esm({
67860
68795
  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.",
67861
68796
  default: false
67862
68797
  },
68798
+ autoScreenshot: {
68799
+ type: "string",
68800
+ minLength: 1,
68801
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
68802
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
68803
+ readOnly: true
68804
+ },
67863
68805
  location: {
67864
68806
  type: "object",
67865
68807
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -67977,6 +68919,13 @@ var init_schemas = __esm({
67977
68919
  ],
67978
68920
  additionalProperties: false,
67979
68921
  title: "Source Location"
68922
+ },
68923
+ autoScreenshot: {
68924
+ type: "string",
68925
+ minLength: 1,
68926
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
68927
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
68928
+ readOnly: true
67980
68929
  }
67981
68930
  },
67982
68931
  title: "Common"
@@ -68285,6 +69234,13 @@ var init_schemas = __esm({
68285
69234
  ],
68286
69235
  additionalProperties: false,
68287
69236
  title: "Source Location"
69237
+ },
69238
+ autoScreenshot: {
69239
+ type: "string",
69240
+ minLength: 1,
69241
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
69242
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
69243
+ readOnly: true
68288
69244
  }
68289
69245
  },
68290
69246
  title: "Common"
@@ -68637,6 +69593,13 @@ var init_schemas = __esm({
68637
69593
  ],
68638
69594
  additionalProperties: false,
68639
69595
  title: "Source Location"
69596
+ },
69597
+ autoScreenshot: {
69598
+ type: "string",
69599
+ minLength: 1,
69600
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
69601
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
69602
+ readOnly: true
68640
69603
  }
68641
69604
  },
68642
69605
  title: "Common"
@@ -70086,6 +71049,13 @@ var init_schemas = __esm({
70086
71049
  ],
70087
71050
  additionalProperties: false,
70088
71051
  title: "Source Location"
71052
+ },
71053
+ autoScreenshot: {
71054
+ type: "string",
71055
+ minLength: 1,
71056
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
71057
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
71058
+ readOnly: true
70089
71059
  }
70090
71060
  },
70091
71061
  title: "Common"
@@ -70628,6 +71598,13 @@ var init_schemas = __esm({
70628
71598
  ],
70629
71599
  additionalProperties: false,
70630
71600
  title: "Source Location"
71601
+ },
71602
+ autoScreenshot: {
71603
+ type: "string",
71604
+ minLength: 1,
71605
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
71606
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
71607
+ readOnly: true
70631
71608
  }
70632
71609
  },
70633
71610
  title: "Common"
@@ -71722,6 +72699,13 @@ var init_schemas = __esm({
71722
72699
  ],
71723
72700
  additionalProperties: false,
71724
72701
  title: "Source Location"
72702
+ },
72703
+ autoScreenshot: {
72704
+ type: "string",
72705
+ minLength: 1,
72706
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
72707
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
72708
+ readOnly: true
71725
72709
  }
71726
72710
  },
71727
72711
  title: "Common"
@@ -72058,6 +73042,13 @@ var init_schemas = __esm({
72058
73042
  ],
72059
73043
  additionalProperties: false,
72060
73044
  title: "Source Location"
73045
+ },
73046
+ autoScreenshot: {
73047
+ type: "string",
73048
+ minLength: 1,
73049
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
73050
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
73051
+ readOnly: true
72061
73052
  }
72062
73053
  },
72063
73054
  title: "Common"
@@ -72380,6 +73371,13 @@ var init_schemas = __esm({
72380
73371
  ],
72381
73372
  additionalProperties: false,
72382
73373
  title: "Source Location"
73374
+ },
73375
+ autoScreenshot: {
73376
+ type: "string",
73377
+ minLength: 1,
73378
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
73379
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
73380
+ readOnly: true
72383
73381
  }
72384
73382
  },
72385
73383
  title: "Common"
@@ -72724,6 +73722,13 @@ var init_schemas = __esm({
72724
73722
  ],
72725
73723
  additionalProperties: false,
72726
73724
  title: "Source Location"
73725
+ },
73726
+ autoScreenshot: {
73727
+ type: "string",
73728
+ minLength: 1,
73729
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
73730
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
73731
+ readOnly: true
72727
73732
  }
72728
73733
  },
72729
73734
  title: "Common"
@@ -73511,6 +74516,13 @@ var init_schemas = __esm({
73511
74516
  ],
73512
74517
  additionalProperties: false,
73513
74518
  title: "Source Location"
74519
+ },
74520
+ autoScreenshot: {
74521
+ type: "string",
74522
+ minLength: 1,
74523
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
74524
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
74525
+ readOnly: true
73514
74526
  }
73515
74527
  },
73516
74528
  title: "Common"
@@ -73856,6 +74868,13 @@ var init_schemas = __esm({
73856
74868
  ],
73857
74869
  additionalProperties: false,
73858
74870
  title: "Source Location"
74871
+ },
74872
+ autoScreenshot: {
74873
+ type: "string",
74874
+ minLength: 1,
74875
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
74876
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
74877
+ readOnly: true
73859
74878
  }
73860
74879
  },
73861
74880
  title: "Common"
@@ -74057,6 +75076,13 @@ var init_schemas = __esm({
74057
75076
  ],
74058
75077
  additionalProperties: false,
74059
75078
  title: "Source Location"
75079
+ },
75080
+ autoScreenshot: {
75081
+ type: "string",
75082
+ minLength: 1,
75083
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
75084
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
75085
+ readOnly: true
74060
75086
  }
74061
75087
  },
74062
75088
  title: "Common"
@@ -74169,6 +75195,13 @@ var init_schemas = __esm({
74169
75195
  ],
74170
75196
  additionalProperties: false,
74171
75197
  title: "Source Location"
75198
+ },
75199
+ autoScreenshot: {
75200
+ type: "string",
75201
+ minLength: 1,
75202
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
75203
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
75204
+ readOnly: true
74172
75205
  }
74173
75206
  },
74174
75207
  title: "Common"
@@ -74278,6 +75311,13 @@ var init_schemas = __esm({
74278
75311
  ],
74279
75312
  additionalProperties: false,
74280
75313
  title: "Source Location"
75314
+ },
75315
+ autoScreenshot: {
75316
+ type: "string",
75317
+ minLength: 1,
75318
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
75319
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
75320
+ readOnly: true
74281
75321
  }
74282
75322
  },
74283
75323
  title: "Common"
@@ -74874,6 +75914,13 @@ var init_schemas = __esm({
74874
75914
  ],
74875
75915
  additionalProperties: false,
74876
75916
  title: "Source Location"
75917
+ },
75918
+ autoScreenshot: {
75919
+ type: "string",
75920
+ minLength: 1,
75921
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
75922
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
75923
+ readOnly: true
74877
75924
  }
74878
75925
  },
74879
75926
  title: "Common"
@@ -75202,6 +76249,13 @@ var init_schemas = __esm({
75202
76249
  ],
75203
76250
  additionalProperties: false,
75204
76251
  title: "Source Location"
76252
+ },
76253
+ autoScreenshot: {
76254
+ type: "string",
76255
+ minLength: 1,
76256
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
76257
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
76258
+ readOnly: true
75205
76259
  }
75206
76260
  },
75207
76261
  title: "Common"
@@ -78399,6 +79453,10 @@ var init_schemas = __esm({
78399
79453
  ]
78400
79454
  }
78401
79455
  },
79456
+ autoScreenshot: {
79457
+ type: "boolean",
79458
+ description: "If `true`, captures a screenshot after every step in this spec's tests that runs in a browser. Overrides the config-level `autoScreenshot`; individual tests can override this value with their own `autoScreenshot`. When unset, defers to the config level."
79459
+ },
78402
79460
  tests: {
78403
79461
  description: "[Tests](test) to perform.",
78404
79462
  type: "array",
@@ -78428,6 +79486,10 @@ var init_schemas = __esm({
78428
79486
  description: "Whether or not to detect steps in input files based on markup regex.",
78429
79487
  default: true
78430
79488
  },
79489
+ autoScreenshot: {
79490
+ type: "boolean",
79491
+ description: "If `true`, captures a screenshot after every step in this test that runs in a browser. Overrides `autoScreenshot` set at the spec or config level. When unset, defers to the spec level, then the config level."
79492
+ },
78431
79493
  runOn: {
78432
79494
  type: "array",
78433
79495
  description: "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
@@ -79094,6 +80156,13 @@ var init_schemas = __esm({
79094
80156
  ],
79095
80157
  additionalProperties: false,
79096
80158
  title: "Source Location"
80159
+ },
80160
+ autoScreenshot: {
80161
+ type: "string",
80162
+ minLength: 1,
80163
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
80164
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
80165
+ readOnly: true
79097
80166
  }
79098
80167
  },
79099
80168
  title: "Common"
@@ -79147,6 +80216,13 @@ var init_schemas = __esm({
79147
80216
  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.",
79148
80217
  default: false
79149
80218
  },
80219
+ autoScreenshot: {
80220
+ type: "string",
80221
+ minLength: 1,
80222
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
80223
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
80224
+ readOnly: true
80225
+ },
79150
80226
  location: {
79151
80227
  type: "object",
79152
80228
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -79264,6 +80340,13 @@ var init_schemas = __esm({
79264
80340
  ],
79265
80341
  additionalProperties: false,
79266
80342
  title: "Source Location"
80343
+ },
80344
+ autoScreenshot: {
80345
+ type: "string",
80346
+ minLength: 1,
80347
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
80348
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
80349
+ readOnly: true
79267
80350
  }
79268
80351
  },
79269
80352
  title: "Common"
@@ -79572,6 +80655,13 @@ var init_schemas = __esm({
79572
80655
  ],
79573
80656
  additionalProperties: false,
79574
80657
  title: "Source Location"
80658
+ },
80659
+ autoScreenshot: {
80660
+ type: "string",
80661
+ minLength: 1,
80662
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
80663
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
80664
+ readOnly: true
79575
80665
  }
79576
80666
  },
79577
80667
  title: "Common"
@@ -79924,6 +81014,13 @@ var init_schemas = __esm({
79924
81014
  ],
79925
81015
  additionalProperties: false,
79926
81016
  title: "Source Location"
81017
+ },
81018
+ autoScreenshot: {
81019
+ type: "string",
81020
+ minLength: 1,
81021
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
81022
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
81023
+ readOnly: true
79927
81024
  }
79928
81025
  },
79929
81026
  title: "Common"
@@ -81373,6 +82470,13 @@ var init_schemas = __esm({
81373
82470
  ],
81374
82471
  additionalProperties: false,
81375
82472
  title: "Source Location"
82473
+ },
82474
+ autoScreenshot: {
82475
+ type: "string",
82476
+ minLength: 1,
82477
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
82478
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
82479
+ readOnly: true
81376
82480
  }
81377
82481
  },
81378
82482
  title: "Common"
@@ -81915,6 +83019,13 @@ var init_schemas = __esm({
81915
83019
  ],
81916
83020
  additionalProperties: false,
81917
83021
  title: "Source Location"
83022
+ },
83023
+ autoScreenshot: {
83024
+ type: "string",
83025
+ minLength: 1,
83026
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
83027
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
83028
+ readOnly: true
81918
83029
  }
81919
83030
  },
81920
83031
  title: "Common"
@@ -83009,6 +84120,13 @@ var init_schemas = __esm({
83009
84120
  ],
83010
84121
  additionalProperties: false,
83011
84122
  title: "Source Location"
84123
+ },
84124
+ autoScreenshot: {
84125
+ type: "string",
84126
+ minLength: 1,
84127
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
84128
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
84129
+ readOnly: true
83012
84130
  }
83013
84131
  },
83014
84132
  title: "Common"
@@ -83345,6 +84463,13 @@ var init_schemas = __esm({
83345
84463
  ],
83346
84464
  additionalProperties: false,
83347
84465
  title: "Source Location"
84466
+ },
84467
+ autoScreenshot: {
84468
+ type: "string",
84469
+ minLength: 1,
84470
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
84471
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
84472
+ readOnly: true
83348
84473
  }
83349
84474
  },
83350
84475
  title: "Common"
@@ -83667,6 +84792,13 @@ var init_schemas = __esm({
83667
84792
  ],
83668
84793
  additionalProperties: false,
83669
84794
  title: "Source Location"
84795
+ },
84796
+ autoScreenshot: {
84797
+ type: "string",
84798
+ minLength: 1,
84799
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
84800
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
84801
+ readOnly: true
83670
84802
  }
83671
84803
  },
83672
84804
  title: "Common"
@@ -84011,6 +85143,13 @@ var init_schemas = __esm({
84011
85143
  ],
84012
85144
  additionalProperties: false,
84013
85145
  title: "Source Location"
85146
+ },
85147
+ autoScreenshot: {
85148
+ type: "string",
85149
+ minLength: 1,
85150
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
85151
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
85152
+ readOnly: true
84014
85153
  }
84015
85154
  },
84016
85155
  title: "Common"
@@ -84798,6 +85937,13 @@ var init_schemas = __esm({
84798
85937
  ],
84799
85938
  additionalProperties: false,
84800
85939
  title: "Source Location"
85940
+ },
85941
+ autoScreenshot: {
85942
+ type: "string",
85943
+ minLength: 1,
85944
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
85945
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
85946
+ readOnly: true
84801
85947
  }
84802
85948
  },
84803
85949
  title: "Common"
@@ -85143,6 +86289,13 @@ var init_schemas = __esm({
85143
86289
  ],
85144
86290
  additionalProperties: false,
85145
86291
  title: "Source Location"
86292
+ },
86293
+ autoScreenshot: {
86294
+ type: "string",
86295
+ minLength: 1,
86296
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
86297
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
86298
+ readOnly: true
85146
86299
  }
85147
86300
  },
85148
86301
  title: "Common"
@@ -85344,6 +86497,13 @@ var init_schemas = __esm({
85344
86497
  ],
85345
86498
  additionalProperties: false,
85346
86499
  title: "Source Location"
86500
+ },
86501
+ autoScreenshot: {
86502
+ type: "string",
86503
+ minLength: 1,
86504
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
86505
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
86506
+ readOnly: true
85347
86507
  }
85348
86508
  },
85349
86509
  title: "Common"
@@ -85456,6 +86616,13 @@ var init_schemas = __esm({
85456
86616
  ],
85457
86617
  additionalProperties: false,
85458
86618
  title: "Source Location"
86619
+ },
86620
+ autoScreenshot: {
86621
+ type: "string",
86622
+ minLength: 1,
86623
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
86624
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
86625
+ readOnly: true
85459
86626
  }
85460
86627
  },
85461
86628
  title: "Common"
@@ -85565,6 +86732,13 @@ var init_schemas = __esm({
85565
86732
  ],
85566
86733
  additionalProperties: false,
85567
86734
  title: "Source Location"
86735
+ },
86736
+ autoScreenshot: {
86737
+ type: "string",
86738
+ minLength: 1,
86739
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
86740
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
86741
+ readOnly: true
85568
86742
  }
85569
86743
  },
85570
86744
  title: "Common"
@@ -86161,6 +87335,13 @@ var init_schemas = __esm({
86161
87335
  ],
86162
87336
  additionalProperties: false,
86163
87337
  title: "Source Location"
87338
+ },
87339
+ autoScreenshot: {
87340
+ type: "string",
87341
+ minLength: 1,
87342
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
87343
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
87344
+ readOnly: true
86164
87345
  }
86165
87346
  },
86166
87347
  title: "Common"
@@ -86489,6 +87670,13 @@ var init_schemas = __esm({
86489
87670
  ],
86490
87671
  additionalProperties: false,
86491
87672
  title: "Source Location"
87673
+ },
87674
+ autoScreenshot: {
87675
+ type: "string",
87676
+ minLength: 1,
87677
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
87678
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
87679
+ readOnly: true
86492
87680
  }
86493
87681
  },
86494
87682
  title: "Common"
@@ -87283,6 +88471,13 @@ var init_schemas = __esm({
87283
88471
  ],
87284
88472
  additionalProperties: false,
87285
88473
  title: "Source Location"
88474
+ },
88475
+ autoScreenshot: {
88476
+ type: "string",
88477
+ minLength: 1,
88478
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
88479
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
88480
+ readOnly: true
87286
88481
  }
87287
88482
  },
87288
88483
  title: "Common"
@@ -87336,6 +88531,13 @@ var init_schemas = __esm({
87336
88531
  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.",
87337
88532
  default: false
87338
88533
  },
88534
+ autoScreenshot: {
88535
+ type: "string",
88536
+ minLength: 1,
88537
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
88538
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
88539
+ readOnly: true
88540
+ },
87339
88541
  location: {
87340
88542
  type: "object",
87341
88543
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -87453,6 +88655,13 @@ var init_schemas = __esm({
87453
88655
  ],
87454
88656
  additionalProperties: false,
87455
88657
  title: "Source Location"
88658
+ },
88659
+ autoScreenshot: {
88660
+ type: "string",
88661
+ minLength: 1,
88662
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
88663
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
88664
+ readOnly: true
87456
88665
  }
87457
88666
  },
87458
88667
  title: "Common"
@@ -87761,6 +88970,13 @@ var init_schemas = __esm({
87761
88970
  ],
87762
88971
  additionalProperties: false,
87763
88972
  title: "Source Location"
88973
+ },
88974
+ autoScreenshot: {
88975
+ type: "string",
88976
+ minLength: 1,
88977
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
88978
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
88979
+ readOnly: true
87764
88980
  }
87765
88981
  },
87766
88982
  title: "Common"
@@ -88113,6 +89329,13 @@ var init_schemas = __esm({
88113
89329
  ],
88114
89330
  additionalProperties: false,
88115
89331
  title: "Source Location"
89332
+ },
89333
+ autoScreenshot: {
89334
+ type: "string",
89335
+ minLength: 1,
89336
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
89337
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
89338
+ readOnly: true
88116
89339
  }
88117
89340
  },
88118
89341
  title: "Common"
@@ -89562,6 +90785,13 @@ var init_schemas = __esm({
89562
90785
  ],
89563
90786
  additionalProperties: false,
89564
90787
  title: "Source Location"
90788
+ },
90789
+ autoScreenshot: {
90790
+ type: "string",
90791
+ minLength: 1,
90792
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
90793
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
90794
+ readOnly: true
89565
90795
  }
89566
90796
  },
89567
90797
  title: "Common"
@@ -90104,6 +91334,13 @@ var init_schemas = __esm({
90104
91334
  ],
90105
91335
  additionalProperties: false,
90106
91336
  title: "Source Location"
91337
+ },
91338
+ autoScreenshot: {
91339
+ type: "string",
91340
+ minLength: 1,
91341
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
91342
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
91343
+ readOnly: true
90107
91344
  }
90108
91345
  },
90109
91346
  title: "Common"
@@ -91198,6 +92435,13 @@ var init_schemas = __esm({
91198
92435
  ],
91199
92436
  additionalProperties: false,
91200
92437
  title: "Source Location"
92438
+ },
92439
+ autoScreenshot: {
92440
+ type: "string",
92441
+ minLength: 1,
92442
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
92443
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
92444
+ readOnly: true
91201
92445
  }
91202
92446
  },
91203
92447
  title: "Common"
@@ -91534,6 +92778,13 @@ var init_schemas = __esm({
91534
92778
  ],
91535
92779
  additionalProperties: false,
91536
92780
  title: "Source Location"
92781
+ },
92782
+ autoScreenshot: {
92783
+ type: "string",
92784
+ minLength: 1,
92785
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
92786
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
92787
+ readOnly: true
91537
92788
  }
91538
92789
  },
91539
92790
  title: "Common"
@@ -91856,6 +93107,13 @@ var init_schemas = __esm({
91856
93107
  ],
91857
93108
  additionalProperties: false,
91858
93109
  title: "Source Location"
93110
+ },
93111
+ autoScreenshot: {
93112
+ type: "string",
93113
+ minLength: 1,
93114
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
93115
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
93116
+ readOnly: true
91859
93117
  }
91860
93118
  },
91861
93119
  title: "Common"
@@ -92200,6 +93458,13 @@ var init_schemas = __esm({
92200
93458
  ],
92201
93459
  additionalProperties: false,
92202
93460
  title: "Source Location"
93461
+ },
93462
+ autoScreenshot: {
93463
+ type: "string",
93464
+ minLength: 1,
93465
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
93466
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
93467
+ readOnly: true
92203
93468
  }
92204
93469
  },
92205
93470
  title: "Common"
@@ -92987,6 +94252,13 @@ var init_schemas = __esm({
92987
94252
  ],
92988
94253
  additionalProperties: false,
92989
94254
  title: "Source Location"
94255
+ },
94256
+ autoScreenshot: {
94257
+ type: "string",
94258
+ minLength: 1,
94259
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
94260
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
94261
+ readOnly: true
92990
94262
  }
92991
94263
  },
92992
94264
  title: "Common"
@@ -93332,6 +94604,13 @@ var init_schemas = __esm({
93332
94604
  ],
93333
94605
  additionalProperties: false,
93334
94606
  title: "Source Location"
94607
+ },
94608
+ autoScreenshot: {
94609
+ type: "string",
94610
+ minLength: 1,
94611
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
94612
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
94613
+ readOnly: true
93335
94614
  }
93336
94615
  },
93337
94616
  title: "Common"
@@ -93533,6 +94812,13 @@ var init_schemas = __esm({
93533
94812
  ],
93534
94813
  additionalProperties: false,
93535
94814
  title: "Source Location"
94815
+ },
94816
+ autoScreenshot: {
94817
+ type: "string",
94818
+ minLength: 1,
94819
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
94820
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
94821
+ readOnly: true
93536
94822
  }
93537
94823
  },
93538
94824
  title: "Common"
@@ -93645,6 +94931,13 @@ var init_schemas = __esm({
93645
94931
  ],
93646
94932
  additionalProperties: false,
93647
94933
  title: "Source Location"
94934
+ },
94935
+ autoScreenshot: {
94936
+ type: "string",
94937
+ minLength: 1,
94938
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
94939
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
94940
+ readOnly: true
93648
94941
  }
93649
94942
  },
93650
94943
  title: "Common"
@@ -93754,6 +95047,13 @@ var init_schemas = __esm({
93754
95047
  ],
93755
95048
  additionalProperties: false,
93756
95049
  title: "Source Location"
95050
+ },
95051
+ autoScreenshot: {
95052
+ type: "string",
95053
+ minLength: 1,
95054
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
95055
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
95056
+ readOnly: true
93757
95057
  }
93758
95058
  },
93759
95059
  title: "Common"
@@ -94350,6 +95650,13 @@ var init_schemas = __esm({
94350
95650
  ],
94351
95651
  additionalProperties: false,
94352
95652
  title: "Source Location"
95653
+ },
95654
+ autoScreenshot: {
95655
+ type: "string",
95656
+ minLength: 1,
95657
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
95658
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
95659
+ readOnly: true
94353
95660
  }
94354
95661
  },
94355
95662
  title: "Common"
@@ -94678,6 +95985,13 @@ var init_schemas = __esm({
94678
95985
  ],
94679
95986
  additionalProperties: false,
94680
95987
  title: "Source Location"
95988
+ },
95989
+ autoScreenshot: {
95990
+ type: "string",
95991
+ minLength: 1,
95992
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
95993
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
95994
+ readOnly: true
94681
95995
  }
94682
95996
  },
94683
95997
  title: "Common"
@@ -95752,6 +97066,13 @@ var init_schemas = __esm({
95752
97066
  ],
95753
97067
  additionalProperties: false,
95754
97068
  title: "Source Location"
97069
+ },
97070
+ autoScreenshot: {
97071
+ type: "string",
97072
+ minLength: 1,
97073
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
97074
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
97075
+ readOnly: true
95755
97076
  }
95756
97077
  },
95757
97078
  title: "Common"
@@ -95805,6 +97126,13 @@ var init_schemas = __esm({
95805
97126
  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.",
95806
97127
  default: false
95807
97128
  },
97129
+ autoScreenshot: {
97130
+ type: "string",
97131
+ minLength: 1,
97132
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
97133
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
97134
+ readOnly: true
97135
+ },
95808
97136
  location: {
95809
97137
  type: "object",
95810
97138
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -95922,6 +97250,13 @@ var init_schemas = __esm({
95922
97250
  ],
95923
97251
  additionalProperties: false,
95924
97252
  title: "Source Location"
97253
+ },
97254
+ autoScreenshot: {
97255
+ type: "string",
97256
+ minLength: 1,
97257
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
97258
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
97259
+ readOnly: true
95925
97260
  }
95926
97261
  },
95927
97262
  title: "Common"
@@ -96230,6 +97565,13 @@ var init_schemas = __esm({
96230
97565
  ],
96231
97566
  additionalProperties: false,
96232
97567
  title: "Source Location"
97568
+ },
97569
+ autoScreenshot: {
97570
+ type: "string",
97571
+ minLength: 1,
97572
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
97573
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
97574
+ readOnly: true
96233
97575
  }
96234
97576
  },
96235
97577
  title: "Common"
@@ -96582,6 +97924,13 @@ var init_schemas = __esm({
96582
97924
  ],
96583
97925
  additionalProperties: false,
96584
97926
  title: "Source Location"
97927
+ },
97928
+ autoScreenshot: {
97929
+ type: "string",
97930
+ minLength: 1,
97931
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
97932
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
97933
+ readOnly: true
96585
97934
  }
96586
97935
  },
96587
97936
  title: "Common"
@@ -98031,6 +99380,13 @@ var init_schemas = __esm({
98031
99380
  ],
98032
99381
  additionalProperties: false,
98033
99382
  title: "Source Location"
99383
+ },
99384
+ autoScreenshot: {
99385
+ type: "string",
99386
+ minLength: 1,
99387
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
99388
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
99389
+ readOnly: true
98034
99390
  }
98035
99391
  },
98036
99392
  title: "Common"
@@ -98573,6 +99929,13 @@ var init_schemas = __esm({
98573
99929
  ],
98574
99930
  additionalProperties: false,
98575
99931
  title: "Source Location"
99932
+ },
99933
+ autoScreenshot: {
99934
+ type: "string",
99935
+ minLength: 1,
99936
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
99937
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
99938
+ readOnly: true
98576
99939
  }
98577
99940
  },
98578
99941
  title: "Common"
@@ -99667,6 +101030,13 @@ var init_schemas = __esm({
99667
101030
  ],
99668
101031
  additionalProperties: false,
99669
101032
  title: "Source Location"
101033
+ },
101034
+ autoScreenshot: {
101035
+ type: "string",
101036
+ minLength: 1,
101037
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
101038
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
101039
+ readOnly: true
99670
101040
  }
99671
101041
  },
99672
101042
  title: "Common"
@@ -100003,6 +101373,13 @@ var init_schemas = __esm({
100003
101373
  ],
100004
101374
  additionalProperties: false,
100005
101375
  title: "Source Location"
101376
+ },
101377
+ autoScreenshot: {
101378
+ type: "string",
101379
+ minLength: 1,
101380
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
101381
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
101382
+ readOnly: true
100006
101383
  }
100007
101384
  },
100008
101385
  title: "Common"
@@ -100325,6 +101702,13 @@ var init_schemas = __esm({
100325
101702
  ],
100326
101703
  additionalProperties: false,
100327
101704
  title: "Source Location"
101705
+ },
101706
+ autoScreenshot: {
101707
+ type: "string",
101708
+ minLength: 1,
101709
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
101710
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
101711
+ readOnly: true
100328
101712
  }
100329
101713
  },
100330
101714
  title: "Common"
@@ -100669,6 +102053,13 @@ var init_schemas = __esm({
100669
102053
  ],
100670
102054
  additionalProperties: false,
100671
102055
  title: "Source Location"
102056
+ },
102057
+ autoScreenshot: {
102058
+ type: "string",
102059
+ minLength: 1,
102060
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
102061
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
102062
+ readOnly: true
100672
102063
  }
100673
102064
  },
100674
102065
  title: "Common"
@@ -101456,6 +102847,13 @@ var init_schemas = __esm({
101456
102847
  ],
101457
102848
  additionalProperties: false,
101458
102849
  title: "Source Location"
102850
+ },
102851
+ autoScreenshot: {
102852
+ type: "string",
102853
+ minLength: 1,
102854
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
102855
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
102856
+ readOnly: true
101459
102857
  }
101460
102858
  },
101461
102859
  title: "Common"
@@ -101801,6 +103199,13 @@ var init_schemas = __esm({
101801
103199
  ],
101802
103200
  additionalProperties: false,
101803
103201
  title: "Source Location"
103202
+ },
103203
+ autoScreenshot: {
103204
+ type: "string",
103205
+ minLength: 1,
103206
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
103207
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
103208
+ readOnly: true
101804
103209
  }
101805
103210
  },
101806
103211
  title: "Common"
@@ -102002,6 +103407,13 @@ var init_schemas = __esm({
102002
103407
  ],
102003
103408
  additionalProperties: false,
102004
103409
  title: "Source Location"
103410
+ },
103411
+ autoScreenshot: {
103412
+ type: "string",
103413
+ minLength: 1,
103414
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
103415
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
103416
+ readOnly: true
102005
103417
  }
102006
103418
  },
102007
103419
  title: "Common"
@@ -102114,6 +103526,13 @@ var init_schemas = __esm({
102114
103526
  ],
102115
103527
  additionalProperties: false,
102116
103528
  title: "Source Location"
103529
+ },
103530
+ autoScreenshot: {
103531
+ type: "string",
103532
+ minLength: 1,
103533
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
103534
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
103535
+ readOnly: true
102117
103536
  }
102118
103537
  },
102119
103538
  title: "Common"
@@ -102223,6 +103642,13 @@ var init_schemas = __esm({
102223
103642
  ],
102224
103643
  additionalProperties: false,
102225
103644
  title: "Source Location"
103645
+ },
103646
+ autoScreenshot: {
103647
+ type: "string",
103648
+ minLength: 1,
103649
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
103650
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
103651
+ readOnly: true
102226
103652
  }
102227
103653
  },
102228
103654
  title: "Common"
@@ -102819,6 +104245,13 @@ var init_schemas = __esm({
102819
104245
  ],
102820
104246
  additionalProperties: false,
102821
104247
  title: "Source Location"
104248
+ },
104249
+ autoScreenshot: {
104250
+ type: "string",
104251
+ minLength: 1,
104252
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
104253
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
104254
+ readOnly: true
102822
104255
  }
102823
104256
  },
102824
104257
  title: "Common"
@@ -103147,6 +104580,13 @@ var init_schemas = __esm({
103147
104580
  ],
103148
104581
  additionalProperties: false,
103149
104582
  title: "Source Location"
104583
+ },
104584
+ autoScreenshot: {
104585
+ type: "string",
104586
+ minLength: 1,
104587
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
104588
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
104589
+ readOnly: true
103150
104590
  }
103151
104591
  },
103152
104592
  title: "Common"
@@ -103628,6 +105068,10 @@ var init_schemas = __esm({
103628
105068
  description: "Whether or not to detect steps in input files based on markup regex.",
103629
105069
  default: true
103630
105070
  },
105071
+ autoScreenshot: {
105072
+ type: "boolean",
105073
+ description: "If `true`, captures a screenshot after every step in this test that runs in a browser. Overrides `autoScreenshot` set at the spec or config level. When unset, defers to the spec level, then the config level."
105074
+ },
103631
105075
  runOn: {
103632
105076
  type: "array",
103633
105077
  description: "Contexts to run the test in. Overrides contexts defined at the config and spec levels.",
@@ -104294,6 +105738,13 @@ var init_schemas = __esm({
104294
105738
  ],
104295
105739
  additionalProperties: false,
104296
105740
  title: "Source Location"
105741
+ },
105742
+ autoScreenshot: {
105743
+ type: "string",
105744
+ minLength: 1,
105745
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
105746
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
105747
+ readOnly: true
104297
105748
  }
104298
105749
  },
104299
105750
  title: "Common"
@@ -104347,6 +105798,13 @@ var init_schemas = __esm({
104347
105798
  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.",
104348
105799
  default: false
104349
105800
  },
105801
+ autoScreenshot: {
105802
+ type: "string",
105803
+ minLength: 1,
105804
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
105805
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
105806
+ readOnly: true
105807
+ },
104350
105808
  location: {
104351
105809
  type: "object",
104352
105810
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -104464,6 +105922,13 @@ var init_schemas = __esm({
104464
105922
  ],
104465
105923
  additionalProperties: false,
104466
105924
  title: "Source Location"
105925
+ },
105926
+ autoScreenshot: {
105927
+ type: "string",
105928
+ minLength: 1,
105929
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
105930
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
105931
+ readOnly: true
104467
105932
  }
104468
105933
  },
104469
105934
  title: "Common"
@@ -104772,6 +106237,13 @@ var init_schemas = __esm({
104772
106237
  ],
104773
106238
  additionalProperties: false,
104774
106239
  title: "Source Location"
106240
+ },
106241
+ autoScreenshot: {
106242
+ type: "string",
106243
+ minLength: 1,
106244
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
106245
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
106246
+ readOnly: true
104775
106247
  }
104776
106248
  },
104777
106249
  title: "Common"
@@ -105124,6 +106596,13 @@ var init_schemas = __esm({
105124
106596
  ],
105125
106597
  additionalProperties: false,
105126
106598
  title: "Source Location"
106599
+ },
106600
+ autoScreenshot: {
106601
+ type: "string",
106602
+ minLength: 1,
106603
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
106604
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
106605
+ readOnly: true
105127
106606
  }
105128
106607
  },
105129
106608
  title: "Common"
@@ -106573,6 +108052,13 @@ var init_schemas = __esm({
106573
108052
  ],
106574
108053
  additionalProperties: false,
106575
108054
  title: "Source Location"
108055
+ },
108056
+ autoScreenshot: {
108057
+ type: "string",
108058
+ minLength: 1,
108059
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
108060
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
108061
+ readOnly: true
106576
108062
  }
106577
108063
  },
106578
108064
  title: "Common"
@@ -107115,6 +108601,13 @@ var init_schemas = __esm({
107115
108601
  ],
107116
108602
  additionalProperties: false,
107117
108603
  title: "Source Location"
108604
+ },
108605
+ autoScreenshot: {
108606
+ type: "string",
108607
+ minLength: 1,
108608
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
108609
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
108610
+ readOnly: true
107118
108611
  }
107119
108612
  },
107120
108613
  title: "Common"
@@ -108209,6 +109702,13 @@ var init_schemas = __esm({
108209
109702
  ],
108210
109703
  additionalProperties: false,
108211
109704
  title: "Source Location"
109705
+ },
109706
+ autoScreenshot: {
109707
+ type: "string",
109708
+ minLength: 1,
109709
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
109710
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
109711
+ readOnly: true
108212
109712
  }
108213
109713
  },
108214
109714
  title: "Common"
@@ -108545,6 +110045,13 @@ var init_schemas = __esm({
108545
110045
  ],
108546
110046
  additionalProperties: false,
108547
110047
  title: "Source Location"
110048
+ },
110049
+ autoScreenshot: {
110050
+ type: "string",
110051
+ minLength: 1,
110052
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
110053
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
110054
+ readOnly: true
108548
110055
  }
108549
110056
  },
108550
110057
  title: "Common"
@@ -108867,6 +110374,13 @@ var init_schemas = __esm({
108867
110374
  ],
108868
110375
  additionalProperties: false,
108869
110376
  title: "Source Location"
110377
+ },
110378
+ autoScreenshot: {
110379
+ type: "string",
110380
+ minLength: 1,
110381
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
110382
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
110383
+ readOnly: true
108870
110384
  }
108871
110385
  },
108872
110386
  title: "Common"
@@ -109211,6 +110725,13 @@ var init_schemas = __esm({
109211
110725
  ],
109212
110726
  additionalProperties: false,
109213
110727
  title: "Source Location"
110728
+ },
110729
+ autoScreenshot: {
110730
+ type: "string",
110731
+ minLength: 1,
110732
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
110733
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
110734
+ readOnly: true
109214
110735
  }
109215
110736
  },
109216
110737
  title: "Common"
@@ -109998,6 +111519,13 @@ var init_schemas = __esm({
109998
111519
  ],
109999
111520
  additionalProperties: false,
110000
111521
  title: "Source Location"
111522
+ },
111523
+ autoScreenshot: {
111524
+ type: "string",
111525
+ minLength: 1,
111526
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
111527
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
111528
+ readOnly: true
110001
111529
  }
110002
111530
  },
110003
111531
  title: "Common"
@@ -110343,6 +111871,13 @@ var init_schemas = __esm({
110343
111871
  ],
110344
111872
  additionalProperties: false,
110345
111873
  title: "Source Location"
111874
+ },
111875
+ autoScreenshot: {
111876
+ type: "string",
111877
+ minLength: 1,
111878
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
111879
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
111880
+ readOnly: true
110346
111881
  }
110347
111882
  },
110348
111883
  title: "Common"
@@ -110544,6 +112079,13 @@ var init_schemas = __esm({
110544
112079
  ],
110545
112080
  additionalProperties: false,
110546
112081
  title: "Source Location"
112082
+ },
112083
+ autoScreenshot: {
112084
+ type: "string",
112085
+ minLength: 1,
112086
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
112087
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
112088
+ readOnly: true
110547
112089
  }
110548
112090
  },
110549
112091
  title: "Common"
@@ -110656,6 +112198,13 @@ var init_schemas = __esm({
110656
112198
  ],
110657
112199
  additionalProperties: false,
110658
112200
  title: "Source Location"
112201
+ },
112202
+ autoScreenshot: {
112203
+ type: "string",
112204
+ minLength: 1,
112205
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
112206
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
112207
+ readOnly: true
110659
112208
  }
110660
112209
  },
110661
112210
  title: "Common"
@@ -110765,6 +112314,13 @@ var init_schemas = __esm({
110765
112314
  ],
110766
112315
  additionalProperties: false,
110767
112316
  title: "Source Location"
112317
+ },
112318
+ autoScreenshot: {
112319
+ type: "string",
112320
+ minLength: 1,
112321
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
112322
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
112323
+ readOnly: true
110768
112324
  }
110769
112325
  },
110770
112326
  title: "Common"
@@ -111361,6 +112917,13 @@ var init_schemas = __esm({
111361
112917
  ],
111362
112918
  additionalProperties: false,
111363
112919
  title: "Source Location"
112920
+ },
112921
+ autoScreenshot: {
112922
+ type: "string",
112923
+ minLength: 1,
112924
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
112925
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
112926
+ readOnly: true
111364
112927
  }
111365
112928
  },
111366
112929
  title: "Common"
@@ -111689,6 +113252,13 @@ var init_schemas = __esm({
111689
113252
  ],
111690
113253
  additionalProperties: false,
111691
113254
  title: "Source Location"
113255
+ },
113256
+ autoScreenshot: {
113257
+ type: "string",
113258
+ minLength: 1,
113259
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
113260
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
113261
+ readOnly: true
111692
113262
  }
111693
113263
  },
111694
113264
  title: "Common"
@@ -112483,6 +114053,13 @@ var init_schemas = __esm({
112483
114053
  ],
112484
114054
  additionalProperties: false,
112485
114055
  title: "Source Location"
114056
+ },
114057
+ autoScreenshot: {
114058
+ type: "string",
114059
+ minLength: 1,
114060
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
114061
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
114062
+ readOnly: true
112486
114063
  }
112487
114064
  },
112488
114065
  title: "Common"
@@ -112536,6 +114113,13 @@ var init_schemas = __esm({
112536
114113
  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.",
112537
114114
  default: false
112538
114115
  },
114116
+ autoScreenshot: {
114117
+ type: "string",
114118
+ minLength: 1,
114119
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
114120
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
114121
+ readOnly: true
114122
+ },
112539
114123
  location: {
112540
114124
  type: "object",
112541
114125
  description: "Source location where this step was detected in the original file. This is system-populated metadata and should not be set manually.",
@@ -112653,6 +114237,13 @@ var init_schemas = __esm({
112653
114237
  ],
112654
114238
  additionalProperties: false,
112655
114239
  title: "Source Location"
114240
+ },
114241
+ autoScreenshot: {
114242
+ type: "string",
114243
+ minLength: 1,
114244
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
114245
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
114246
+ readOnly: true
112656
114247
  }
112657
114248
  },
112658
114249
  title: "Common"
@@ -112961,6 +114552,13 @@ var init_schemas = __esm({
112961
114552
  ],
112962
114553
  additionalProperties: false,
112963
114554
  title: "Source Location"
114555
+ },
114556
+ autoScreenshot: {
114557
+ type: "string",
114558
+ minLength: 1,
114559
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
114560
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
114561
+ readOnly: true
112964
114562
  }
112965
114563
  },
112966
114564
  title: "Common"
@@ -113313,6 +114911,13 @@ var init_schemas = __esm({
113313
114911
  ],
113314
114912
  additionalProperties: false,
113315
114913
  title: "Source Location"
114914
+ },
114915
+ autoScreenshot: {
114916
+ type: "string",
114917
+ minLength: 1,
114918
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
114919
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
114920
+ readOnly: true
113316
114921
  }
113317
114922
  },
113318
114923
  title: "Common"
@@ -114762,6 +116367,13 @@ var init_schemas = __esm({
114762
116367
  ],
114763
116368
  additionalProperties: false,
114764
116369
  title: "Source Location"
116370
+ },
116371
+ autoScreenshot: {
116372
+ type: "string",
116373
+ minLength: 1,
116374
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
116375
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
116376
+ readOnly: true
114765
116377
  }
114766
116378
  },
114767
116379
  title: "Common"
@@ -115304,6 +116916,13 @@ var init_schemas = __esm({
115304
116916
  ],
115305
116917
  additionalProperties: false,
115306
116918
  title: "Source Location"
116919
+ },
116920
+ autoScreenshot: {
116921
+ type: "string",
116922
+ minLength: 1,
116923
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
116924
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
116925
+ readOnly: true
115307
116926
  }
115308
116927
  },
115309
116928
  title: "Common"
@@ -116398,6 +118017,13 @@ var init_schemas = __esm({
116398
118017
  ],
116399
118018
  additionalProperties: false,
116400
118019
  title: "Source Location"
118020
+ },
118021
+ autoScreenshot: {
118022
+ type: "string",
118023
+ minLength: 1,
118024
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
118025
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
118026
+ readOnly: true
116401
118027
  }
116402
118028
  },
116403
118029
  title: "Common"
@@ -116734,6 +118360,13 @@ var init_schemas = __esm({
116734
118360
  ],
116735
118361
  additionalProperties: false,
116736
118362
  title: "Source Location"
118363
+ },
118364
+ autoScreenshot: {
118365
+ type: "string",
118366
+ minLength: 1,
118367
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
118368
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
118369
+ readOnly: true
116737
118370
  }
116738
118371
  },
116739
118372
  title: "Common"
@@ -117056,6 +118689,13 @@ var init_schemas = __esm({
117056
118689
  ],
117057
118690
  additionalProperties: false,
117058
118691
  title: "Source Location"
118692
+ },
118693
+ autoScreenshot: {
118694
+ type: "string",
118695
+ minLength: 1,
118696
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
118697
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
118698
+ readOnly: true
117059
118699
  }
117060
118700
  },
117061
118701
  title: "Common"
@@ -117400,6 +119040,13 @@ var init_schemas = __esm({
117400
119040
  ],
117401
119041
  additionalProperties: false,
117402
119042
  title: "Source Location"
119043
+ },
119044
+ autoScreenshot: {
119045
+ type: "string",
119046
+ minLength: 1,
119047
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
119048
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
119049
+ readOnly: true
117403
119050
  }
117404
119051
  },
117405
119052
  title: "Common"
@@ -118187,6 +119834,13 @@ var init_schemas = __esm({
118187
119834
  ],
118188
119835
  additionalProperties: false,
118189
119836
  title: "Source Location"
119837
+ },
119838
+ autoScreenshot: {
119839
+ type: "string",
119840
+ minLength: 1,
119841
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
119842
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
119843
+ readOnly: true
118190
119844
  }
118191
119845
  },
118192
119846
  title: "Common"
@@ -118532,6 +120186,13 @@ var init_schemas = __esm({
118532
120186
  ],
118533
120187
  additionalProperties: false,
118534
120188
  title: "Source Location"
120189
+ },
120190
+ autoScreenshot: {
120191
+ type: "string",
120192
+ minLength: 1,
120193
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
120194
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
120195
+ readOnly: true
118535
120196
  }
118536
120197
  },
118537
120198
  title: "Common"
@@ -118733,6 +120394,13 @@ var init_schemas = __esm({
118733
120394
  ],
118734
120395
  additionalProperties: false,
118735
120396
  title: "Source Location"
120397
+ },
120398
+ autoScreenshot: {
120399
+ type: "string",
120400
+ minLength: 1,
120401
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
120402
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
120403
+ readOnly: true
118736
120404
  }
118737
120405
  },
118738
120406
  title: "Common"
@@ -118845,6 +120513,13 @@ var init_schemas = __esm({
118845
120513
  ],
118846
120514
  additionalProperties: false,
118847
120515
  title: "Source Location"
120516
+ },
120517
+ autoScreenshot: {
120518
+ type: "string",
120519
+ minLength: 1,
120520
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
120521
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
120522
+ readOnly: true
118848
120523
  }
118849
120524
  },
118850
120525
  title: "Common"
@@ -118954,6 +120629,13 @@ var init_schemas = __esm({
118954
120629
  ],
118955
120630
  additionalProperties: false,
118956
120631
  title: "Source Location"
120632
+ },
120633
+ autoScreenshot: {
120634
+ type: "string",
120635
+ minLength: 1,
120636
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
120637
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
120638
+ readOnly: true
118957
120639
  }
118958
120640
  },
118959
120641
  title: "Common"
@@ -119550,6 +121232,13 @@ var init_schemas = __esm({
119550
121232
  ],
119551
121233
  additionalProperties: false,
119552
121234
  title: "Source Location"
121235
+ },
121236
+ autoScreenshot: {
121237
+ type: "string",
121238
+ minLength: 1,
121239
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
121240
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
121241
+ readOnly: true
119553
121242
  }
119554
121243
  },
119555
121244
  title: "Common"
@@ -119878,6 +121567,13 @@ var init_schemas = __esm({
119878
121567
  ],
119879
121568
  additionalProperties: false,
119880
121569
  title: "Source Location"
121570
+ },
121571
+ autoScreenshot: {
121572
+ type: "string",
121573
+ minLength: 1,
121574
+ pattern: "^(?![A-Za-z]:|[\\\\/])[^\\\\]+$",
121575
+ description: "Path, relative to the run's artifact directory (the report's `runDir`), of the screenshot captured automatically after this step. Always a non-empty, forward-slash, relative path. Present only in test results, when `autoScreenshot` is enabled and the capture succeeded. This is system-populated metadata and should not be set manually.",
121576
+ readOnly: true
119881
121577
  }
119882
121578
  },
119883
121579
  title: "Common"
@@ -130437,8 +132133,7 @@ function replaceEnvs(stringOrObject) {
130437
132133
  return stringOrObject;
130438
132134
  }
130439
132135
  function timestamp() {
130440
- let timestamp2 = /* @__PURE__ */ new Date();
130441
- return `${timestamp2.getFullYear()}${("0" + (timestamp2.getMonth() + 1)).slice(-2)}${("0" + timestamp2.getDate()).slice(-2)}-${("0" + timestamp2.getHours()).slice(-2)}${("0" + timestamp2.getMinutes()).slice(-2)}${("0" + timestamp2.getSeconds()).slice(-2)}`;
132136
+ return (/* @__PURE__ */ new Date()).toISOString().replace(/[:.]/g, "-");
130442
132137
  }
130443
132138
  function getOrInitRunTimestamp(config) {
130444
132139
  if (!config)
@@ -130448,6 +132143,33 @@ function getOrInitRunTimestamp(config) {
130448
132143
  }
130449
132144
  return config.__runTimestamp;
130450
132145
  }
132146
+ function getRunOutputDir(config) {
132147
+ if (config?.__runOutputDir)
132148
+ return config.__runOutputDir;
132149
+ let base = String(config?.output || ".");
132150
+ const reportFileExtensions = [".json", ".html", ".htm"];
132151
+ if (reportFileExtensions.some((ext) => base.toLowerCase().endsWith(ext))) {
132152
+ base = import_node_path.default.dirname(base);
132153
+ }
132154
+ const runsRoot = import_node_path.default.resolve(base, ".doc-detective");
132155
+ import_node_fs.default.mkdirSync(runsRoot, { recursive: true });
132156
+ const runId = getOrInitRunTimestamp(config);
132157
+ let dir = import_node_path.default.join(runsRoot, `run-${runId}`);
132158
+ let suffix = 2;
132159
+ for (; ; ) {
132160
+ try {
132161
+ import_node_fs.default.mkdirSync(dir);
132162
+ break;
132163
+ } catch (error) {
132164
+ if (error?.code !== "EEXIST")
132165
+ throw error;
132166
+ dir = import_node_path.default.join(runsRoot, `run-${runId}-${suffix++}`);
132167
+ }
132168
+ }
132169
+ if (config)
132170
+ config.__runOutputDir = dir;
132171
+ return dir;
132172
+ }
130451
132173
  async function spawnCommand(cmd, args = [], options = {}) {
130452
132174
  const spawnOptions = {
130453
132175
  shell: true
@@ -132909,15 +134631,34 @@ function safeRegExp(pattern, flags) {
132909
134631
  return null;
132910
134632
  }
132911
134633
  }
132912
- function generateUUID() {
132913
- if (typeof crypto !== "undefined" && crypto.randomUUID) {
132914
- return crypto.randomUUID();
134634
+ var HASH_EXCLUDED_KEYS = /* @__PURE__ */ new Set([
134635
+ "location",
134636
+ "testId",
134637
+ "stepId",
134638
+ "contextId"
134639
+ ]);
134640
+ function contentHash(value) {
134641
+ let input;
134642
+ if (typeof value === "string") {
134643
+ input = value;
134644
+ } else {
134645
+ try {
134646
+ input = JSON.stringify(value, (key, v) => HASH_EXCLUDED_KEYS.has(key) ? void 0 : v) ?? "";
134647
+ } catch {
134648
+ input = "";
134649
+ }
132915
134650
  }
132916
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(c) {
132917
- const r = Math.random() * 16 | 0;
132918
- const v = c === "x" ? r : r & 3 | 8;
132919
- return v.toString(16);
132920
- });
134651
+ let hash = 2166136261;
134652
+ for (let i = 0; i < input.length; i++) {
134653
+ hash ^= input.charCodeAt(i);
134654
+ hash = Math.imul(hash, 16777619);
134655
+ }
134656
+ return (hash >>> 0).toString(16).padStart(8, "0");
134657
+ }
134658
+ function normalizePathForId(filePath) {
134659
+ if (!filePath)
134660
+ return "";
134661
+ return filePath.replace(/\\/g, "/").replace(/^\.\//, "").replace(/[^a-zA-Z0-9._/-]/g, "_");
132921
134662
  }
132922
134663
  function getLineStarts(content) {
132923
134664
  const starts = [0];
@@ -132951,7 +134692,8 @@ async function detectTests(input) {
132951
134692
  config: input.config,
132952
134693
  content: input.content,
132953
134694
  filePath: input.filePath,
132954
- fileType: input.fileType
134695
+ fileType: input.fileType,
134696
+ testIdBase: input.testIdBase
132955
134697
  });
132956
134698
  }
132957
134699
  function parseXmlAttributes({ stringifiedObject }) {
@@ -133110,7 +134852,7 @@ function replaceNumericVariables(stringOrObjectSource, values) {
133110
134852
  }
133111
134853
  return stringOrObject;
133112
134854
  }
133113
- async function parseContent({ config = {}, content, filePath = "", fileType }) {
134855
+ async function parseContent({ config = {}, content, filePath = "", fileType, testIdBase }) {
133114
134856
  const statements = [];
133115
134857
  const statementTypes = ["testStart", "testEnd", "ignoreStart", "ignoreEnd", "step"];
133116
134858
  function findTest({ tests: tests2, testId: testId2 }) {
@@ -133178,7 +134920,15 @@ async function parseContent({ config = {}, content, filePath = "", fileType }) {
133178
134920
  }
133179
134921
  statements.sort((a, b) => a.sortIndex - b.sortIndex);
133180
134922
  let tests = [];
133181
- let testId = generateUUID();
134923
+ const pendingTestIds = /* @__PURE__ */ new Set();
134924
+ let pendingCounter = 0;
134925
+ const pendingSalt = contentHash(content);
134926
+ const nextPendingTestId = () => {
134927
+ const id = `__dd-pending-${pendingSalt}-${++pendingCounter}`;
134928
+ pendingTestIds.add(id);
134929
+ return id;
134930
+ };
134931
+ let testId = nextPendingTestId();
133182
134932
  let ignore = false;
133183
134933
  statements.forEach((statement) => {
133184
134934
  let test;
@@ -133223,7 +134973,7 @@ async function parseContent({ config = {}, content, filePath = "", fileType }) {
133223
134973
  break;
133224
134974
  }
133225
134975
  case "testEnd":
133226
- testId = generateUUID();
134976
+ testId = nextPendingTestId();
133227
134977
  ignore = false;
133228
134978
  break;
133229
134979
  case "ignoreStart":
@@ -133362,6 +135112,20 @@ async function parseContent({ config = {}, content, filePath = "", fileType }) {
133362
135112
  break;
133363
135113
  }
133364
135114
  });
135115
+ const usedTestIds = new Set(tests.filter((test) => test.testId && !pendingTestIds.has(test.testId)).map((test) => test.testId));
135116
+ const idBase = testIdBase || normalizePathForId(filePath) || "detected";
135117
+ tests.forEach((test) => {
135118
+ if (!test.testId || !pendingTestIds.has(test.testId))
135119
+ return;
135120
+ const baseId = `${idBase}~${contentHash(test)}`;
135121
+ let id = baseId;
135122
+ let suffix = 2;
135123
+ while (usedTestIds.has(id)) {
135124
+ id = `${baseId}-${suffix++}`;
135125
+ }
135126
+ usedTestIds.add(id);
135127
+ test.testId = id;
135128
+ });
133365
135129
  if (filePath) {
133366
135130
  tests.forEach((test) => {
133367
135131
  test.contentPath = filePath;
@@ -134567,12 +136331,9 @@ async function detectTests2({ config }) {
134567
136331
  function generateSpecId(filePath) {
134568
136332
  const absolutePath = import_node_path9.default.resolve(filePath);
134569
136333
  const cwd = process.cwd();
134570
- let relativePath;
134571
- if (absolutePath.startsWith(cwd)) {
134572
- relativePath = import_node_path9.default.relative(cwd, absolutePath);
134573
- } else {
134574
- relativePath = absolutePath;
134575
- }
136334
+ const candidate = import_node_path9.default.relative(cwd, absolutePath);
136335
+ const isInsideCwd = candidate.length > 0 && !candidate.startsWith("..") && !import_node_path9.default.isAbsolute(candidate);
136336
+ const relativePath = isInsideCwd ? candidate : absolutePath;
134576
136337
  const normalizedPath = relativePath.split(import_node_path9.default.sep).join("/").replace(/^\.\//, "").replace(/[^a-zA-Z0-9._\-\/]/g, "_");
134577
136338
  return normalizedPath;
134578
136339
  }
@@ -134804,6 +136565,28 @@ async function parseTests({ config, files }) {
134804
136565
  content = await readFile({ fileURLOrPath: file });
134805
136566
  }
134806
136567
  if (typeof content === "object") {
136568
+ if (!content.specId)
136569
+ content.specId = generateSpecId(file);
136570
+ if (!content.contentPath)
136571
+ content.contentPath = file;
136572
+ if (Array.isArray(content.tests)) {
136573
+ const usedTestIds = new Set(content.tests.map((test) => test?.testId).filter((id) => id));
136574
+ for (const test of content.tests) {
136575
+ if (!test || typeof test !== "object" || test.testId)
136576
+ continue;
136577
+ if (typeof test.id !== "undefined" || test.file || test.setup || test.cleanup || Array.isArray(test.steps) && test.steps.some((step) => step && typeof step === "object" && "action" in step)) {
136578
+ continue;
136579
+ }
136580
+ const baseId = `${content.specId}~${contentHash(test)}`;
136581
+ let id = baseId;
136582
+ let suffix = 2;
136583
+ while (usedTestIds.has(id)) {
136584
+ id = `${baseId}-${suffix++}`;
136585
+ }
136586
+ usedTestIds.add(id);
136587
+ test.testId = id;
136588
+ }
136589
+ }
134807
136590
  const stepLocations = /* @__PURE__ */ new Map();
134808
136591
  if (rawContent && content.tests) {
134809
136592
  try {
@@ -134954,7 +136737,8 @@ async function parseTests({ config, files }) {
134954
136737
  config,
134955
136738
  content,
134956
136739
  fileType,
134957
- filePath: file
136740
+ filePath: file,
136741
+ testIdBase: id
134958
136742
  });
134959
136743
  spec.tests.push(...tests);
134960
136744
  spec.tests = spec.tests.filter((test) => test.steps && test.steps.length > 0);
@@ -135026,13 +136810,16 @@ function resolveContexts({ contexts, test, config }) {
135026
136810
  });
135027
136811
  contexts.forEach((context) => {
135028
136812
  const staticContexts = [];
136813
+ const carry = { ...context };
136814
+ delete carry.platforms;
136815
+ delete carry.browsers;
135029
136816
  context.platforms.forEach((platform) => {
135030
136817
  if (!browserRequired) {
135031
- const staticContext = { platform };
136818
+ const staticContext = { ...carry, platform };
135032
136819
  staticContexts.push(staticContext);
135033
136820
  } else {
135034
136821
  context.browsers.forEach((browser) => {
135035
- const staticContext = { platform, browser };
136822
+ const staticContext = { ...carry, platform, browser };
135036
136823
  staticContexts.push(staticContext);
135037
136824
  });
135038
136825
  }
@@ -135079,8 +136866,22 @@ ${JSON.stringify(documentArray, null, 2)}`);
135079
136866
  ${JSON.stringify(openApiDocuments, null, 2)}`);
135080
136867
  return openApiDocuments;
135081
136868
  }
135082
- async function resolveContext({ config, test, context }) {
135083
- const contextId = context.contextId || import_node_crypto4.default.randomUUID();
136869
+ function uniqueId(base, usedIds) {
136870
+ let id = base;
136871
+ let suffix = 2;
136872
+ while (usedIds.has(id)) {
136873
+ id = `${base}-${suffix++}`;
136874
+ }
136875
+ return id;
136876
+ }
136877
+ function deriveContextId({ context, usedIds }) {
136878
+ const base = [context.platform, context.browser?.name].filter(Boolean).join("-") || "default";
136879
+ return uniqueId(base, usedIds);
136880
+ }
136881
+ async function resolveContext({ config, test, context, usedContextIds }) {
136882
+ context.contextId = context.contextId ? uniqueId(context.contextId, usedContextIds) : deriveContextId({ context, usedIds: usedContextIds });
136883
+ const contextId = context.contextId;
136884
+ usedContextIds.add(contextId);
135084
136885
  log(config, "debug", `RESOLVING CONTEXT ID ${contextId}:
135085
136886
  ${JSON.stringify(context, null, 2)}`);
135086
136887
  const resolvedContext = {
@@ -135095,7 +136896,7 @@ ${JSON.stringify(resolvedContext, null, 2)}`);
135095
136896
  return resolvedContext;
135096
136897
  }
135097
136898
  async function resolveTest({ config, spec, test }) {
135098
- const testId = test.testId || import_node_crypto4.default.randomUUID();
136899
+ const testId = test.testId || `${spec.specId}~${contentHash(test)}`;
135099
136900
  log(config, "debug", `RESOLVING TEST ID ${testId}:
135100
136901
  ${JSON.stringify(test, null, 2)}`);
135101
136902
  const resolvedTest = {
@@ -135114,11 +136915,13 @@ ${JSON.stringify(test, null, 2)}`);
135114
136915
  contexts: resolvedTest.runOn,
135115
136916
  config
135116
136917
  });
136918
+ const usedContextIds = /* @__PURE__ */ new Set();
135117
136919
  for (const context of testContexts) {
135118
136920
  const resolvedContext = await resolveContext({
135119
136921
  config,
135120
136922
  test,
135121
- context
136923
+ context,
136924
+ usedContextIds
135122
136925
  });
135123
136926
  resolvedTest.contexts.push(resolvedContext);
135124
136927
  }
@@ -135127,7 +136930,7 @@ ${JSON.stringify(resolvedTest, null, 2)}`);
135127
136930
  return resolvedTest;
135128
136931
  }
135129
136932
  async function resolveSpec({ config, spec }) {
135130
- const specId = spec.specId || import_node_crypto4.default.randomUUID();
136933
+ const specId = spec.specId || (spec.contentPath ? generateSpecId(spec.contentPath) : import_node_crypto4.default.randomUUID());
135131
136934
  log(config, "debug", `RESOLVING SPEC ID ${specId}:
135132
136935
  ${JSON.stringify(spec, null, 2)}`);
135133
136936
  const resolvedSpec = {
@@ -139219,7 +141022,11 @@ async function runSpecs({ resolvedTests }) {
139219
141022
  const metaValues = { specs: {} };
139220
141023
  const installAttempts = /* @__PURE__ */ new Map();
139221
141024
  const warmUpResults = /* @__PURE__ */ new Map();
141025
+ const runDir = getRunOutputDir(config);
141026
+ const runId = import_node_path18.default.basename(runDir).replace(/^run-/, "");
139222
141027
  const report = {
141028
+ runId,
141029
+ runDir,
139223
141030
  summary: {
139224
141031
  specs: {
139225
141032
  pass: 0,
@@ -139272,8 +141079,18 @@ async function runSpecs({ resolvedTests }) {
139272
141079
  contexts: new Array(test.contexts.length)
139273
141080
  };
139274
141081
  specReport.tests.push(testReport);
141082
+ const usedContextIds = new Set(test.contexts.map((c) => c.contextId).filter(Boolean));
139275
141083
  test.contexts.forEach((context, slot) => {
139276
- context.contextId = context.contextId || (0, import_node_crypto5.randomUUID)();
141084
+ if (!context.contextId) {
141085
+ const base = [context.platform, context.browser?.name].filter(Boolean).join("-") || "default";
141086
+ let id = base;
141087
+ let suffix = 2;
141088
+ while (usedContextIds.has(id)) {
141089
+ id = `${base}-${suffix++}`;
141090
+ }
141091
+ usedContextIds.add(id);
141092
+ context.contextId = id;
141093
+ }
139277
141094
  jobs.push({ spec, test, context, contexts: testReport.contexts, slot });
139278
141095
  });
139279
141096
  }
@@ -139490,6 +141307,45 @@ async function warmUpContexts({ jobs, config, runnerDetails, appiumPool, install
139490
141307
  }
139491
141308
  }
139492
141309
  }
141310
+ function resolveAutoScreenshot({ config, spec, test }) {
141311
+ return Boolean(test?.autoScreenshot ?? spec?.autoScreenshot ?? config?.autoScreenshot);
141312
+ }
141313
+ function capPathSegment(segment, max = 64) {
141314
+ return segment.length <= max ? segment : segment.slice(segment.length - max);
141315
+ }
141316
+ async function captureAutoScreenshot({ config, driver, spec, test, context, step, stepIndex, stepCount }) {
141317
+ try {
141318
+ const action = driverActions2.find((key) => typeof step[key] !== "undefined") || "step";
141319
+ const sanitizedTestId = sanitizeFilesystemName(String(test.testId ?? ""), "test");
141320
+ const runDir = getRunOutputDir(config);
141321
+ const dir = import_node_path18.default.join(runDir, "screenshots", capPathSegment(sanitizeFilesystemName(String(spec.specId ?? ""), "spec")), capPathSegment(sanitizedTestId), capPathSegment(sanitizeFilesystemName(String(context.contextId ?? ""), "context")));
141322
+ const stepIdString = sanitizeFilesystemName(String(step.stepId ?? ""), "step");
141323
+ const stepRef = capPathSegment(stepIdString.startsWith(`${sanitizedTestId}~`) ? stepIdString.slice(sanitizedTestId.length + 1) : stepIdString);
141324
+ const pad = Math.max(2, String(stepCount).length);
141325
+ const fileName = `${String(stepIndex + 1).padStart(pad, "0")}-${action}-${stepRef}.png`;
141326
+ const screenshotStep = {
141327
+ stepId: `${step.stepId}_auto`,
141328
+ description: "Automatic post-step screenshot",
141329
+ screenshot: {
141330
+ path: import_node_path18.default.join(dir, fileName),
141331
+ overwrite: "true"
141332
+ }
141333
+ };
141334
+ const captureResult = await saveScreenshot({
141335
+ config,
141336
+ step: screenshotStep,
141337
+ driver
141338
+ });
141339
+ if (captureResult.status !== "PASS") {
141340
+ log(config, "warning", `Auto screenshot failed after step ${step.stepId}: ${captureResult.description}`);
141341
+ return null;
141342
+ }
141343
+ return import_node_path18.default.relative(runDir, screenshotStep.screenshot.path).split(import_node_path18.default.sep).join("/");
141344
+ } catch (error) {
141345
+ log(config, "warning", `Auto screenshot failed after step ${step.stepId}: ${error?.message ?? error}`);
141346
+ return null;
141347
+ }
141348
+ }
139493
141349
  async function runContext({ config, spec, test, context, runnerDetails, appiumPool, metaValues, installAttempts, warmUpResults, logPrefix = "" }) {
139494
141350
  const platform = runnerDetails.environment.platform;
139495
141351
  let availableApps = runnerDetails.availableApps;
@@ -139628,10 +141484,20 @@ ${JSON.stringify(context, null, 2)}`);
139628
141484
  await driver.setWindowSize(context.browser?.window?.width || windowSize.width, context.browser?.window?.height || windowSize.height);
139629
141485
  }
139630
141486
  }
141487
+ const autoScreenshotEnabled = resolveAutoScreenshot({ config, spec, test });
139631
141488
  let stepExecutionFailed = false;
139632
- for (let step of context.steps) {
139633
- if (!step.stepId)
139634
- step.stepId = (0, import_node_crypto5.randomUUID)();
141489
+ const usedStepIds = new Set(context.steps.map((s) => s.stepId).filter(Boolean));
141490
+ for (const [stepIndex, step] of context.steps.entries()) {
141491
+ if (!step.stepId) {
141492
+ const baseId = sanitizeFilesystemName(`${test.testId}~s${contentHash(step)}`, `step-${(0, import_node_crypto5.randomUUID)()}`);
141493
+ let stepId = baseId;
141494
+ let suffix = 2;
141495
+ while (usedStepIds.has(stepId)) {
141496
+ stepId = `${baseId}-${suffix++}`;
141497
+ }
141498
+ step.stepId = stepId;
141499
+ }
141500
+ usedStepIds.add(step.stepId);
139635
141501
  clog("debug", `STEP:
139636
141502
  ${JSON.stringify(step, null, 2)}`);
139637
141503
  if (step.unsafe && runnerDetails.allowUnsafeSteps === false) {
@@ -139674,6 +141540,20 @@ ${JSON.stringify(stepResult, null, 2)}`);
139674
141540
  ...step,
139675
141541
  ...stepResult
139676
141542
  };
141543
+ if (autoScreenshotEnabled && driver && typeof step.screenshot === "undefined" && isDriverRequired({ test: { steps: [step] } })) {
141544
+ const capturedPath = await captureAutoScreenshot({
141545
+ config,
141546
+ driver,
141547
+ spec,
141548
+ test,
141549
+ context,
141550
+ step,
141551
+ stepIndex,
141552
+ stepCount: context.steps.length
141553
+ });
141554
+ if (capturedPath)
141555
+ stepReport.autoScreenshot = capturedPath;
141556
+ }
139677
141557
  contextReport.steps.push(stepReport);
139678
141558
  if (stepReport.result === "FAIL") {
139679
141559
  stepExecutionFailed = true;