@unotest/web 0.49.0 → 0.49.1
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/CHANGELOG.md +92 -3
- package/bin/unotest-web.js +24 -8
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.d.ts +8 -2
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.d.ts +8 -2
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/inspection/page-inject.d.ts +17 -2
- package/dist/inspection/page-inject.js +21 -0
- package/dist/{interfaces-CTMGjJIs.d.ts → interfaces-D5ePwBX6.d.ts} +13 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.d.ts +3 -2
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.js +1 -1
- package/dist/runner/install-chromium.js +1 -1
- package/dist/runner/prepare-fix.js +1 -1
- package/dist/runner/scaffold-workspace.js +1 -1
- package/dist/runner/serve-fixture.js +1 -1
- package/dist/runner/web-runner-adapter.js +1 -1
- package/guides/dsl-reference.md +164 -16
- package/package.json +8 -8
- package/types/unotest-dsl.d.ts +8 -1
package/dist/runner/cli.d.ts
CHANGED
|
@@ -16,9 +16,10 @@ declare function extraPositionalsError(cmd: string, positional: string[]): strin
|
|
|
16
16
|
/** Stderr text for a scenario reference that didn't land on a file.
|
|
17
17
|
* Names the directory trap explicitly (a project-level `e2e/` folder
|
|
18
18
|
* shadowing a scenario name gets a different message than a plain miss)
|
|
19
|
-
* and closes with a did-you-mean over `unotest/e2e/**`.
|
|
19
|
+
* and closes with a did-you-mean over `unotest/e2e/**`. `command` is the
|
|
20
|
+
* one that was typed — `e2e`, or `lint`, which names scenarios the same way.
|
|
20
21
|
* Exported only for tests. */
|
|
21
|
-
declare function scenarioNotFoundMessage(arg: string, scenarioPath: string, cwd: string): string;
|
|
22
|
+
declare function scenarioNotFoundMessage(arg: string, scenarioPath: string, cwd: string, command?: "e2e" | "lint"): string;
|
|
22
23
|
/** Flag a scenario that sits directly in `unotest/e2e/` instead of a feature
|
|
23
24
|
* subfolder (`lint:scenario-in-root`). Files whose basename starts with `_`
|
|
24
25
|
* (`_template.js`, anything under `_helpers/`) are exempt — they aren't
|