doc-detective 4.15.1 → 4.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/src/schemas/schemas.json +6 -6
- package/dist/common/src/types/generated/config_v3.d.ts +3 -3
- package/dist/common/src/types/generated/resolvedTests_v3.d.ts +3 -3
- package/dist/hints/hints.js +1 -1
- package/dist/hints/hints.js.map +1 -1
- package/dist/index.cjs +6 -6
- package/package.json +2 -1
|
@@ -780,7 +780,7 @@
|
|
|
780
780
|
"default": "."
|
|
781
781
|
},
|
|
782
782
|
"reporters": {
|
|
783
|
-
"description": "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (
|
|
783
|
+
"description": "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (on by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json` (or `coverageResults.json` for coverage runs), beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. You can also reference custom reporters registered via `registerReporter()` by name.",
|
|
784
784
|
"type": "array",
|
|
785
785
|
"items": {
|
|
786
786
|
"type": "string",
|
|
@@ -29317,7 +29317,7 @@
|
|
|
29317
29317
|
"title": "Telemetry options"
|
|
29318
29318
|
},
|
|
29319
29319
|
"hints": {
|
|
29320
|
-
"description": "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected).
|
|
29320
|
+
"description": "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected). Doc Detective displays hints only in an interactive terminal (TTY) and only at the default `info` log level.",
|
|
29321
29321
|
"type": "object",
|
|
29322
29322
|
"additionalProperties": false,
|
|
29323
29323
|
"properties": {
|
|
@@ -29403,7 +29403,7 @@
|
|
|
29403
29403
|
"default": false
|
|
29404
29404
|
},
|
|
29405
29405
|
"autoScreenshot": {
|
|
29406
|
-
"description": "If `true`, captures a screenshot after every step that
|
|
29406
|
+
"description": "If `true`, captures a screenshot after every browser-driven step that does not already define an explicit `screenshot`. Steps with an explicit `screenshot` are skipped for auto-capture since they already produce an image. Doc Detective saves images 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.",
|
|
29407
29407
|
"type": "boolean",
|
|
29408
29408
|
"default": false
|
|
29409
29409
|
},
|
|
@@ -61984,7 +61984,7 @@
|
|
|
61984
61984
|
"default": "."
|
|
61985
61985
|
},
|
|
61986
61986
|
"reporters": {
|
|
61987
|
-
"description": "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (
|
|
61987
|
+
"description": "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (on by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json` (or `coverageResults.json` for coverage runs), beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. You can also reference custom reporters registered via `registerReporter()` by name.",
|
|
61988
61988
|
"type": "array",
|
|
61989
61989
|
"items": {
|
|
61990
61990
|
"type": "string",
|
|
@@ -90521,7 +90521,7 @@
|
|
|
90521
90521
|
"title": "Telemetry options"
|
|
90522
90522
|
},
|
|
90523
90523
|
"hints": {
|
|
90524
|
-
"description": "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected).
|
|
90524
|
+
"description": "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected). Doc Detective displays hints only in an interactive terminal (TTY) and only at the default `info` log level.",
|
|
90525
90525
|
"type": "object",
|
|
90526
90526
|
"additionalProperties": false,
|
|
90527
90527
|
"properties": {
|
|
@@ -90607,7 +90607,7 @@
|
|
|
90607
90607
|
"default": false
|
|
90608
90608
|
},
|
|
90609
90609
|
"autoScreenshot": {
|
|
90610
|
-
"description": "If `true`, captures a screenshot after every step that
|
|
90610
|
+
"description": "If `true`, captures a screenshot after every browser-driven step that does not already define an explicit `screenshot`. Steps with an explicit `screenshot` are skipped for auto-capture since they already produce an image. Doc Detective saves images 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.",
|
|
90611
90611
|
"type": "boolean",
|
|
90612
90612
|
"default": false
|
|
90613
90613
|
},
|
|
@@ -55,7 +55,7 @@ export interface Config {
|
|
|
55
55
|
*/
|
|
56
56
|
output?: string;
|
|
57
57
|
/**
|
|
58
|
-
* Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (
|
|
58
|
+
* Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (on by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json` (or `coverageResults.json` for coverage runs), beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. You can also reference custom reporters registered via `registerReporter()` by name.
|
|
59
59
|
*/
|
|
60
60
|
reporters?: string[];
|
|
61
61
|
/**
|
|
@@ -142,7 +142,7 @@ export interface Config {
|
|
|
142
142
|
*/
|
|
143
143
|
dryRun?: boolean;
|
|
144
144
|
/**
|
|
145
|
-
* If `true`, captures a screenshot after every step that
|
|
145
|
+
* If `true`, captures a screenshot after every browser-driven step that does not already define an explicit `screenshot`. Steps with an explicit `screenshot` are skipped for auto-capture since they already produce an image. Doc Detective saves images 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.
|
|
146
146
|
*/
|
|
147
147
|
autoScreenshot?: boolean;
|
|
148
148
|
/**
|
|
@@ -453,7 +453,7 @@ export interface TelemetryOptions {
|
|
|
453
453
|
userId?: string;
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
|
-
* Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected).
|
|
456
|
+
* Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected). Doc Detective displays hints only in an interactive terminal (TTY) and only at the default `info` log level.
|
|
457
457
|
*/
|
|
458
458
|
export interface HintsOptions {
|
|
459
459
|
/**
|
|
@@ -92,7 +92,7 @@ export interface Config {
|
|
|
92
92
|
*/
|
|
93
93
|
output?: string;
|
|
94
94
|
/**
|
|
95
|
-
* Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (
|
|
95
|
+
* Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (on by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json` (or `coverageResults.json` for coverage runs), beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. You can also reference custom reporters registered via `registerReporter()` by name.
|
|
96
96
|
*/
|
|
97
97
|
reporters?: string[];
|
|
98
98
|
/**
|
|
@@ -179,7 +179,7 @@ export interface Config {
|
|
|
179
179
|
*/
|
|
180
180
|
dryRun?: boolean;
|
|
181
181
|
/**
|
|
182
|
-
* If `true`, captures a screenshot after every step that
|
|
182
|
+
* If `true`, captures a screenshot after every browser-driven step that does not already define an explicit `screenshot`. Steps with an explicit `screenshot` are skipped for auto-capture since they already produce an image. Doc Detective saves images 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.
|
|
183
183
|
*/
|
|
184
184
|
autoScreenshot?: boolean;
|
|
185
185
|
/**
|
|
@@ -490,7 +490,7 @@ export interface TelemetryOptions {
|
|
|
490
490
|
userId?: string;
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
|
-
* Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected).
|
|
493
|
+
* Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected). Doc Detective displays hints only in an interactive terminal (TTY) and only at the default `info` log level.
|
|
494
494
|
*/
|
|
495
495
|
export interface HintsOptions {
|
|
496
496
|
/**
|
package/dist/hints/hints.js
CHANGED
|
@@ -285,7 +285,7 @@ export const HINTS = [
|
|
|
285
285
|
'{ "concurrentRunners": true }',
|
|
286
286
|
"```",
|
|
287
287
|
"",
|
|
288
|
-
"Or pass `--concurrent-runners 4` on the CLI. `true` uses your CPU core count (capped at 4). Keep it at `1` if your tests share variables across contexts
|
|
288
|
+
"Or pass `--concurrent-runners 4` on the CLI. `true` uses your CPU core count (capped at 4). Keep it at `1` if your tests share variables across contexts. Recordings are safe to run concurrently: the `browser` engine records each context's own window, and Doc Detective auto-serializes `ffmpeg` recordings with other browser tests for you.",
|
|
289
289
|
].join("\n"),
|
|
290
290
|
when: (ctx) => ctx.totalContexts >= 5 &&
|
|
291
291
|
ctx.config?.concurrentRunners !== true &&
|
package/dist/hints/hints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hints.js","sourceRoot":"","sources":["../../src/hints/hints.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,EAAE;AACF,sEAAsE;AACtE,qEAAqE;AACrE,wEAAwE;AACxE,EAAE;AACF,yEAAyE;AACzE,oDAAoD;AACpD,iDAAiD;AACjD,uEAAuE;AACvE,kEAAkE;AAClE,mEAAmE;AACnE,4DAA4D;AAC5D,kEAAkE;AAClE,oEAAoE;AACpE,mEAAmE;AACnE,mEAAmE;AACnE,2DAA2D;AAG3D,mEAAmE;AACnE,mDAAmD;AAEnD,MAAM,CAAC,MAAM,KAAK,GAAW;IAC3B,qEAAqE;IACrE,6BAA6B;IAC7B,qEAAqE;IACrE;QACE,EAAE,EAAE,eAAe;QACnB,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,uGAAuG;YACvG,EAAE;YACF,SAAS;YACT,GAAG;YACH,+HAA+H;YAC/H,wBAAwB;YACxB,yCAAyC;YACzC,qDAAqD;YACrD,GAAG;YACH,KAAK;YACL,EAAE;YACF,wGAAwG;SACzG,CAAC,IAAI,CAAC,IAAI,CAAC;QACZ,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,KAAK,IAAI;KACvC;IAED,qEAAqE;IACrE,4CAA4C;IAC5C,qEAAqE;IACrE;QACE,EAAE,EAAE,sBAAsB;QAC1B,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE;YACR,8FAA8F;YAC9F,EAAE;YACF,SAAS;YACT,yCAAyC;YACzC,KAAK;SACN,CAAC,IAAI,CAAC,IAAI,CAAC;QACZ,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE;YACZ,MAAM,SAAS,GAAG,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC;YACxC,OAA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YACF,6FAA6F;SAC9F,CAAC,IAAI,CAAC,IAAI,CAAC;QACZ,IAAI,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,WAAW,GAAG,CAAC,IAAI,GAAG,CAAC,qBAAqB;KAChE;CACF,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -822,7 +822,7 @@ var init_schemas = __esm({
|
|
|
822
822
|
default: "."
|
|
823
823
|
},
|
|
824
824
|
reporters: {
|
|
825
|
-
description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (
|
|
825
|
+
description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (on by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json` (or `coverageResults.json` for coverage runs), beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. You can also reference custom reporters registered via `registerReporter()` by name.",
|
|
826
826
|
type: "array",
|
|
827
827
|
items: {
|
|
828
828
|
type: "string",
|
|
@@ -29359,7 +29359,7 @@ var init_schemas = __esm({
|
|
|
29359
29359
|
title: "Telemetry options"
|
|
29360
29360
|
},
|
|
29361
29361
|
hints: {
|
|
29362
|
-
description: "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected).
|
|
29362
|
+
description: "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected). Doc Detective displays hints only in an interactive terminal (TTY) and only at the default `info` log level.",
|
|
29363
29363
|
type: "object",
|
|
29364
29364
|
additionalProperties: false,
|
|
29365
29365
|
properties: {
|
|
@@ -29445,7 +29445,7 @@ var init_schemas = __esm({
|
|
|
29445
29445
|
default: false
|
|
29446
29446
|
},
|
|
29447
29447
|
autoScreenshot: {
|
|
29448
|
-
description: "If `true`, captures a screenshot after every step that
|
|
29448
|
+
description: "If `true`, captures a screenshot after every browser-driven step that does not already define an explicit `screenshot`. Steps with an explicit `screenshot` are skipped for auto-capture since they already produce an image. Doc Detective saves images 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.",
|
|
29449
29449
|
type: "boolean",
|
|
29450
29450
|
default: false
|
|
29451
29451
|
},
|
|
@@ -62026,7 +62026,7 @@ var init_schemas = __esm({
|
|
|
62026
62026
|
default: "."
|
|
62027
62027
|
},
|
|
62028
62028
|
reporters: {
|
|
62029
|
-
description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (
|
|
62029
|
+
description: "Reporters to use when emitting test results. Built-in reporters: `terminal`, `json`, `html`, `runFolder`. The `runFolder` reporter (on by default) archives each run's results as `<output>/.doc-detective/run-<runId>/testResults.json` (or `coverageResults.json` for coverage runs), beside any screenshots the run captured, in addition to the flat output the `json` reporter writes. You can also reference custom reporters registered via `registerReporter()` by name.",
|
|
62030
62030
|
type: "array",
|
|
62031
62031
|
items: {
|
|
62032
62032
|
type: "string",
|
|
@@ -90563,7 +90563,7 @@ var init_schemas = __esm({
|
|
|
90563
90563
|
title: "Telemetry options"
|
|
90564
90564
|
},
|
|
90565
90565
|
hints: {
|
|
90566
|
-
description: "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected).
|
|
90566
|
+
description: "Options for the post-run hints feature. After a test run, Doc Detective may print one short, contextual hint with code samples and links to encourage further engagement (for example, suggesting a CI workflow when none is detected). Doc Detective displays hints only in an interactive terminal (TTY) and only at the default `info` log level.",
|
|
90567
90567
|
type: "object",
|
|
90568
90568
|
additionalProperties: false,
|
|
90569
90569
|
properties: {
|
|
@@ -90649,7 +90649,7 @@ var init_schemas = __esm({
|
|
|
90649
90649
|
default: false
|
|
90650
90650
|
},
|
|
90651
90651
|
autoScreenshot: {
|
|
90652
|
-
description: "If `true`, captures a screenshot after every step that
|
|
90652
|
+
description: "If `true`, captures a screenshot after every browser-driven step that does not already define an explicit `screenshot`. Steps with an explicit `screenshot` are skipped for auto-capture since they already produce an image. Doc Detective saves images 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.",
|
|
90653
90653
|
type: "boolean",
|
|
90654
90654
|
default: false
|
|
90655
90655
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doc-detective",
|
|
3
|
-
"version": "4.15.
|
|
3
|
+
"version": "4.15.3",
|
|
4
4
|
"description": "Treat doc content as testable assertions to validate doc accuracy and product UX.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"doc-detective": "bin/doc-detective.js",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"commitlint": "commitlint --edit",
|
|
37
37
|
"semantic-release": "semantic-release",
|
|
38
38
|
"build:common": "cd src/common && npm run build",
|
|
39
|
+
"docs:build-schema-refs": "node docs/.scripts/buildSchemaReferencesV4.js",
|
|
39
40
|
"compile": "tsc && node scripts/createCjsWrapper.js",
|
|
40
41
|
"watch": "nodemon --watch src --ext ts --exec \"npm run compile\"",
|
|
41
42
|
"copy:schemas": "node -e \"const fs=require('fs');const p=require('path');const s=p.join('src','common','src','schemas','schemas.json');const d=p.join('dist','common','src','schemas','schemas.json');fs.mkdirSync(p.dirname(d),{recursive:true});fs.copyFileSync(s,d);\"",
|