@unotest/web 0.9.0 → 0.9.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/.claude/skills/write-e2e-test/SKILL.md +21 -6
- package/CHANGELOG.md +35 -0
- package/dist/config/schema.d.ts +81 -10
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.d.ts +18 -104
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.d.ts +1 -13
- 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/examples/fixtures/break-fix-app/serve.mjs +6 -2
- package/package.json +5 -4
- package/src/mcp/prompts/agent-test-author.md +16 -4
package/dist/runner/cli.d.ts
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
1
1
|
import { L as LintDiagnostic } from '../linter-CM2CpIyW.js';
|
|
2
2
|
import '@unotest/dsl';
|
|
3
3
|
|
|
4
|
-
/** Parse `e2e` flag arguments. Strips known flags, returns positional
|
|
5
|
-
* args + parsed values. Order-insensitive — flags can appear before
|
|
6
|
-
* or after the scenario name. Unknown flags pass through to positional
|
|
7
|
-
* (which then errors out on resolveScenarioArg). */
|
|
8
|
-
declare function parseE2EFlags(args: string[]): {
|
|
9
|
-
positional: string[];
|
|
10
|
-
debug: boolean;
|
|
11
|
-
/** "line:col" entries from `--break a:b,c:d` (comma-separated, no
|
|
12
|
-
* spaces). Empty when --break wasn't passed — caller falls back to
|
|
13
|
-
* .debugger.json. */
|
|
14
|
-
breakFlag: string[];
|
|
15
|
-
};
|
|
16
4
|
/** Derive a viewer-compatible scenario name from an absolute scenario
|
|
17
5
|
* file path: drop the leading `<cwd>/unotest/e2e/`, drop the `.js`,
|
|
18
6
|
* normalise to POSIX separators. Returns null for files outside
|
|
@@ -34,4 +22,4 @@ declare function scenarioInRootDiagnostic(file: string, cwd: string): LintDiagno
|
|
|
34
22
|
declare function applyEnvFlag(args: string[]): string[];
|
|
35
23
|
declare function main(argv: string[]): void;
|
|
36
24
|
|
|
37
|
-
export { applyEnvFlag, main,
|
|
25
|
+
export { applyEnvFlag, main, scenarioInRootDiagnostic, scenarioNameFromPath };
|