@unotest/web 0.56.0 → 0.57.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.
- package/.claude/skills/write-e2e-test/SKILL.md +14 -0
- package/.claude/skills/write-e2e-test-ground/SKILL.md +14 -0
- package/CHANGELOG.md +147 -3
- package/README.md +3 -3
- package/bin/unotest-web.js +13 -0
- package/dist/config/schema.d.ts +15 -15
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.d.ts +10 -2
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.d.ts +66 -16
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/v8/scenario-worker.js +1 -1
- package/dist/dsl/web-dsl-language-service.d.ts +2 -2
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/inspection/page-inject.d.ts +34 -2
- package/dist/inspection/page-inject.js +119 -0
- package/dist/{interfaces-BiGd3BdD.d.ts → interfaces-DDp6Chwx.d.ts} +148 -6
- package/dist/{linter-DIAb0JOB.d.ts → linter-q4UNIeGI.d.ts} +12 -0
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.d.ts +1 -1
- 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/dist/{scenario-variables-B-ULUTHt.d.ts → scenario-variables-CGexnWK4.d.ts} +18 -0
- package/examples/idioms/wait-enabled.js +6 -3
- package/guides/agent-integration.md +2 -2
- package/guides/dsl-reference.md +388 -17
- package/llms.txt +14 -4
- package/package.json +8 -8
- package/types/unotest-dsl.d.ts +80 -10
|
@@ -540,6 +540,20 @@ function overview_header_width() {
|
|
|
540
540
|
}
|
|
541
541
|
```
|
|
542
542
|
|
|
543
|
+
**In view after an action** — `assertVisible` passes below the fold too.
|
|
544
|
+
`assertInViewport` checks the visible area itself (scroll containers that
|
|
545
|
+
clip the element count) and waits like the other asserts; it scrolls
|
|
546
|
+
nothing. In `explore_step` it is `assert_in_viewport`:
|
|
547
|
+
|
|
548
|
+
```js
|
|
549
|
+
press(getByRole('main'), 'ArrowDown');
|
|
550
|
+
assertInViewport(getByRole('heading', {name: 'Pricing'}));
|
|
551
|
+
assertInViewport(getByRole('status'), {ratio: 1}); // wholly in view
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
`{ratio}` (0..1) is the least share of the element in view; without it any
|
|
555
|
+
part will do.
|
|
556
|
+
|
|
543
557
|
`return` is legal in either helper kind, and NOT in a `test_*` entry —
|
|
544
558
|
there it would mean the scenario silently ended halfway. A `flow_*` that
|
|
545
559
|
returns a value gets a `lint:flow-returns-value` warning: fine when the flow
|
|
@@ -650,6 +650,20 @@ function overview_header_width() {
|
|
|
650
650
|
}
|
|
651
651
|
```
|
|
652
652
|
|
|
653
|
+
**In view after an action** — `assertVisible` passes below the fold too.
|
|
654
|
+
`assertInViewport` checks the visible area itself (scroll containers that
|
|
655
|
+
clip the element count) and waits like the other asserts; it scrolls
|
|
656
|
+
nothing. In `explore_step` it is `assert_in_viewport`:
|
|
657
|
+
|
|
658
|
+
```js
|
|
659
|
+
press(getByRole('main'), 'ArrowDown');
|
|
660
|
+
assertInViewport(getByRole('heading', {name: 'Pricing'}));
|
|
661
|
+
assertInViewport(getByRole('status'), {ratio: 1}); // wholly in view
|
|
662
|
+
```
|
|
663
|
+
|
|
664
|
+
`{ratio}` (0..1) is the least share of the element in view; without it any
|
|
665
|
+
part will do.
|
|
666
|
+
|
|
653
667
|
`return` is legal in either helper kind, and NOT in a `test_*` entry —
|
|
654
668
|
there it would mean the scenario silently ended halfway. A `flow_*` that
|
|
655
669
|
returns a value gets a `lint:flow-returns-value` warning: fine when the flow
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,149 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.57.0] - 2026-11-15
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- a12065c: New: `assertInViewport(locator, { ratio?, timeoutMs? })` checks that an element is inside the visible area of the page, as Playwright's `toBeInViewport` does. Scroll containers that clip the element count. `ratio` (0..1) sets the least share of the element that must be in view; without it any part will do. It waits like the other assertions and scrolls nothing, so a block that arrow keys or a click should bring into view can be checked: `assertVisible` passes on an element scrolled out of view, `assertInViewport` does not.
|
|
8
|
+
|
|
9
|
+
New: `explore_step` takes the same check as `assert_in_viewport { locator, options?: { ratio, timeout } }`, recorded as `assertInViewport` in the saved test.
|
|
10
|
+
|
|
11
|
+
replaces: evaluate with getBoundingClientRect against window.innerHeight
|
|
12
|
+
|
|
13
|
+
- 574b4d7: New: `assertNoFocusZoom(scope?, { minFontPx?, timeoutMs? })` catches the iOS Safari zoom on focus: Safari zooms the page into a text field whose text is under 16px and leaves it zoomed. No browser engine Playwright drives does that zoom, so the check reads its cause: every visible, enabled, writable input, textarea, select and contenteditable in the scope (the whole page when absent), its font size times the page scale, against `minFontPx` (default 16). A viewport meta with `maximum-scale` at 1 or below forbids the zoom, and the check passes. Run it on an iPhone device preset. The options may take the place of the scope: `assertNoFocusZoom({ minFontPx: 14 })`.
|
|
14
|
+
|
|
15
|
+
At a page scale other than 1 the failure names the CSS size, the scale and what the reader sees (`input#search 16px × page scale 0.40 = 6.4px`). A page shown zoomed out without `<meta name="viewport" content="width=device-width">` gets that cause named, with the fix.
|
|
16
|
+
|
|
17
|
+
The on-screen keyboard is not emulated: no engine shrinks the visual viewport the way the iOS keyboard does, so a composer fixed to the bottom and hidden under the keyboard is not caught.
|
|
18
|
+
|
|
19
|
+
replaces: evaluate reading getComputedStyle(input).fontSize for each field
|
|
20
|
+
|
|
21
|
+
- e327d43: New: a config listing several `browsers` is played in each of them. `e2e` and `collection` run the suite once per engine, in order — each a run of its own, with its own queue slot, `prepare` and `webServer` boot, and the engine in its run id — then print a line per engine; the exit code is red when any engine is. `--json` prints one document for all engines: every test names its `browser`, and `runs` lists each engine's `runId` and `exitCode`. `UNOTEST_BROWSER` narrows a run to one engine. A run the viewer or `run_test` starts and `--debug` play the first engine and say so in the log. `browsers: ["chromium", "webkit"]` then `npx @unotest/web e2e checkout`, replaces: a separate run per engine with `UNOTEST_BROWSER` — before, only the first entry of `browsers` ran, without a word.
|
|
22
|
+
- 1667c88: New: `closePage({ beforeUnload: 'leave' | 'stay' })` closes a tab the way a person does. The page runs `beforeunload`, and its "Leave site?" prompt gets the answer given, whatever the run's `dialogPolicy`: `'leave'` closes the tab, `'stay'` keeps it and the steps stay on it. With an index the options go second: `closePage(1, { beforeUnload: 'stay' })`. `closePage` now returns `{ asked, closed }`; without the option the tab closes with no prompt, as before (`{ asked: false, closed: true }`). With the option the only open tab closes too: a blank tab is left in its place, and the scenario goes on there; a plain `closePage()` on the only tab is still refused. Browsers ask only after real user input on the page, such as a click; a `fill` alone does not count in Firefox.
|
|
23
|
+
|
|
24
|
+
replaces: a synthetic `new Event('beforeunload')` dispatched from the scenario, and a person checking the real prompt by hand
|
|
25
|
+
|
|
26
|
+
Example:
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
click(getByLabel("Display name"));
|
|
30
|
+
fill(getByLabel("Display name"), "Draft");
|
|
31
|
+
assertEqual(closePage({ beforeUnload: "stay" }), {
|
|
32
|
+
asked: true,
|
|
33
|
+
closed: false,
|
|
34
|
+
});
|
|
35
|
+
assertEqual(closePage({ beforeUnload: "leave" }), {
|
|
36
|
+
asked: true,
|
|
37
|
+
closed: true,
|
|
38
|
+
});
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
- 0ff171c: New: request headers for a browser context. MCP `new_context` and `explore_start` take `headers` — `{ "Authorization": "{{API_TOKEN}}" }` — and every page of the context sends them with every request: documents, fetch and XHR, every tab. A value written whole as `{{NAME}}` is the variable or secret of the session's environment, so the token stays out of the tool call; an unknown name is refused, and the reply names the headers, never their values. In a scenario, `newContext({ headers: { Authorization: API_TOKEN } })` opens a client that sends them; the run's own context does not. A value that is not a string is refused.
|
|
42
|
+
|
|
43
|
+
replaces: a route that adds the header to each request, or a token in the URL
|
|
44
|
+
|
|
45
|
+
- 2039477: New: `dragBy(locator, dx, dy, { sourcePosition?, force?, timeoutMs? })` takes hold of an element and moves the pointer by an offset in pixels — a resize handle, a slider, a selection box on a canvas.
|
|
46
|
+
|
|
47
|
+
New: `dragAndDrop(from, to, { sourcePosition?, targetPosition? })` — `{x, y}` points inside each element, as in Playwright's `dragTo`. `from` and `to` may be the same element, to sweep a selection inside one frame; the validator no longer refuses these keys.
|
|
48
|
+
|
|
49
|
+
New: `explore_step` drags too: `drag_and_drop { locator, target }` and `drag_by { locator, dx, dy }`, recorded as `dragAndDrop` / `dragBy` in the saved test.
|
|
50
|
+
|
|
51
|
+
replaces: pointer events dispatched through `evaluate` in the page
|
|
52
|
+
|
|
53
|
+
- 97e1a9d: New: `e2e` and `collection` take `--json` — when the run is over, one JSON document on stdout with every test: file, test name, status (`pass` / `fail` / `error` / `skip` / `aborted`), duration, the failing file and line, and the absolute paths of the screenshots it took (`screenshot()`, per-step captures, the page at the failure). A collection adds `notRun`, the listed scenarios that never started and why. Every other line goes to stderr; the exit code is unchanged. `npx @unotest/web collection smoke --json > result.json`, replaces: reading the result off the console.
|
|
54
|
+
- 894d47f: New: a run says where each of its variables comes from. `run:started` in the run journal carries an `env` table — every name of the active env files and secrets with its source: the shared `.env`, the environment's `.env.<name>`, a secrets file, or the shell (what a box injects). Names and sources only, never a value. The viewer shows it as the run's folded **Environment** table. `npx @unotest/web e2e checkout --env dev`, replaces: guessing from the header line which file a value came from.
|
|
55
|
+
|
|
56
|
+
New: `lint:env-from-base` (warning). With `--env <name>` active, a bare read of a name whose value still comes from the shared base `unotest/.env` is reported with the file and the overlay that does not set it. `env: { shared: [...] }` silences it and now takes any name, not only hosts; a host left to the base file is still the `lint:env-host-from-base` error. Without `--env` the rule sleeps. `npx @unotest/web lint --env dev`, replaces: a value silently inherited from the shared `.env`.
|
|
57
|
+
|
|
58
|
+
- 6949fc2: New: an agent driving the page over MCP reads its console. `explore_step {action: "console_entries"}` (alone or inside `explore_steps`, never recorded) answers what the active page wrote to its console and threw uncaught — the record a scenario reads with `consoleEntries()` — with a `cursor`; pass it back as `since` for only the new lines. A cursor of another tab reads that page from the start and says `cursorReset: true`. `options.level` filters by level, `options.limit` (default 50, up to 200) keeps the newest and counts the rest in `dropped`.
|
|
59
|
+
|
|
60
|
+
replaces: an `evaluate` that wraps `console.error` to read the console back
|
|
61
|
+
|
|
62
|
+
- ed22fb9: New: linter rule `lint:external-variable-empty` (warning) flags a bare read of a declared variable whose value is empty where the run takes it from — since 0.56.0 an empty value means "not set on this environment", and the run stops at that read after the browser and every earlier step. `lint` and the check before a run now name each such read with its file, line and column and the file that leaves the value empty, so the places to change after the 0.56.0 upgrade no longer have to be found by hand. With `--env <name>`, `lint` reads that environment's files; without it, a name is reported only when no `unotest/.env*` / `.secrets*` file gives it a value. The check before a run also sees the shell. A name empty in a `.secrets` file is told to get its value there. Example: `x = env("QA_LOGIN", "")` where empty is fine. replaces: a bare `QA_LOGIN` with `QA_LOGIN=` in `unotest/.env`, which `lint` now reports as `` `QA_LOGIN` is empty in unotest/.env — the run stops here. `` and which stops the run at that line
|
|
63
|
+
- 2d5094c: New: linter rule `lint:get-attribute-null` (warning) flags a `getAttribute(…)` read compared with `null` or `undefined` — by `==`, `!=`, `===`, `!==` or `assertEqual`, in place or through a variable of the same function. `getAttribute` reads `""` when the attribute is missing, never `null`, so such a check cannot see the attribute missing; the message points to `hasAttribute(loc, name)`. `dsl_lookup` says the same on the `getAttribute` line and finds `hasAttribute` for "check that an attribute is missing". `getAttribute` still returns `""`. Example: `assertTrue(!hasAttribute(locator('body'), 'data-played'))`. replaces: `assertEqual(getAttribute(locator('body'), 'data-played'), null)`, which fails with `expected null, got ""`
|
|
64
|
+
- b95cbdc: New: `lint` checks a scenario against your project's own types. A JSDoc `@import` of a type from your repository — the answer of an `apiCall` as your protocol declares it, or the type a zod schema infers with `z.infer` — now resolves through packages in `node_modules` and the `baseUrl` / `paths` aliases of the nearest `tsconfig.json`, so a field renamed in the protocol is caught before the run. replaces: finding the renamed field only when the run fails.
|
|
65
|
+
|
|
66
|
+
Example:
|
|
67
|
+
|
|
68
|
+
```js
|
|
69
|
+
/** @import { Answer } from '../../../src/protocol/answer' */
|
|
70
|
+
function test_order() {
|
|
71
|
+
step("order", () => {
|
|
72
|
+
/** @type {Answer} */
|
|
73
|
+
const body = apiCall("GET", "/api/order/1").body;
|
|
74
|
+
note("id", body.orderIdd); // error [ts:2551] Property 'orderIdd' does not exist on type 'Answer'
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Changed: `unotest-web lint` exits 1 on two type findings that were warnings: a member a type of your project does not have (`ts:2339`, `ts:2551`), and an `@import` whose module does not resolve (`ts:2307`, `ts:2792`). A CI step that runs `lint` turns red there instead of passing. Scenarios without JSDoc type annotations are not affected; an `@import` that resolves to `any` (a package without types) is a warning, `types:untyped-import`.
|
|
80
|
+
|
|
81
|
+
- 85dc429: New: `mcpCallStart(server, tool, args)` and `mcpCallResult(call, {timeoutMs, allowError})` — an MCP tool call in two steps. Start the call, act in between (for example, click Done on the card an `ask_human` tool shows), then take the answer. The result and the failures are the same as `mcpCall`. `timeoutMs` counts from `mcpCallResult`, and running out of time cancels the call. A call never taken is a warning in the report when the server stops, not a failure. `mcpCall` is unchanged. `const call = mcpCallStart(srv, 'ask_human', {question: 'Ship?'}); click(getByRole('button', {name: 'Done'})); mcpCallResult(call)`, replaces: a background MCP client of your own writing the answer to a file for `waitForFile`.
|
|
82
|
+
- 69d7f74: New: MCP `new_context` and `explore_start` take `reducedMotion` (`"reduce"` / `"no-preference"`) and `colorScheme` (`"light"` / `"dark"` / `"no-preference"`). Every page of the context reports them from its first document — every tab and popup, not one tab as `emulateMedia` does — so an agent's screenshot does not catch an animation mid-way, and a whole window can be captured in a dark theme: `new_context { colorScheme: "dark", reducedMotion: "reduce" }`. An unknown value is refused with the accepted ones.
|
|
83
|
+
|
|
84
|
+
replaces: emulateMedia run on each tab after it opens
|
|
85
|
+
|
|
86
|
+
- acd0f1a: New: `newContext({ viewport: { width, height, deviceScaleFactor } })` opens a browser context on a window of its own, as MCP `new_context` does — a narrow screen at twice the density next to the run's own context. The fields are those of `viewport` in the config, all optional; the window asked for replaces the config's whole, so a scale not given is 1 and the config's `device` is not applied under it. It works next to `headers`, `profile` and `cdpEndpoint`. A stray field or a value that is not a positive number is refused, naming the fields, before the run and at the call.
|
|
87
|
+
|
|
88
|
+
replaces: `setViewport()` after `newContext()`, which cannot change the scale
|
|
89
|
+
|
|
90
|
+
- bb98794: Changed: resolve diagnostics carry an optional `cascade` field. With `reason: "scored"` it names the arm that answered (`reranker`, `picker` or `none`), the reranker's top score, its lead over the runner-up, and how many candidates the picker was shown; with `reason: "reranker-rejected"` the reranker refused the request and the picker decided on the full list.
|
|
91
|
+
- 0dc7eb7: New: `// @each <source>` above a `test_*` runs it once per case, each case a run with its own verdict. The source is a top-level `const` array of objects in the file (`// @each SLOTS`) or a JSONL file, one object a line (`// @each "unotest/e2e/data/questions.jsonl"`, relative to the project root). Each case comes in as the test's first argument and is named after its simple fields, `test_question[slot=1]`, or after its `name` field when it has one. The viewer's tree, collection reports, box runs and `--json` show every case under that name. `--test question` runs every case, and `--test 'question[slot=2]'` runs one. A source that lists no case is refused before the run, by `e2e`, `run_test` and `lint`. That covers a missing or empty table, a missing file, a line that is not JSON, and duplicate case names. `lint` also warns about a field the test reads that no case has.
|
|
92
|
+
|
|
93
|
+
replaces: a loop of step.soft(…, {tag}) over a table or readJsonLine inside one test, all cases under one verdict
|
|
94
|
+
|
|
95
|
+
- 40e39dd: New: touch steps for phone contexts — `tap(locator, { position?, timeoutMs? })`, `longPress(locator, { durationMs?, position?, timeoutMs? })` (holds 800 ms by default) and `swipe(locator, dx, dy, { durationMs?, sourcePosition?, timeoutMs? })`, with the offset read as in `dragBy`. They need a context with a touch screen (`profile: 'ios'` or a touch `device` preset); in a desktop context each fails before touching anything and names that config. Chromium drives its own touch input; WebKit and Firefox get touch events, with `pointerType: 'touch'` pointer events, dispatched from the page — there `event instanceof TouchEvent` is false in WebKit.
|
|
96
|
+
|
|
97
|
+
replaces: `PointerEvent` / `TouchEvent` with `pointerType: 'touch'` built by hand in `evaluate`
|
|
98
|
+
|
|
99
|
+
- 98d295b: New: `waitForWebSocketFrame(glob, {direction?, match?, timeoutMs?})` and `webSocketFrames(glob, {direction?})` read the frames of the page's WebSockets. The browser records them from the socket's first frame, so a `hello` the page sends on open is there for a wait after `goto()` — no script in the page needed. A wait takes the frame it gives, and the next call gives the next one; `match` is a JSON key filter, as in `mcpWaitNotification`. A frame is `{url, direction, text, json, at}`, a binary one has `size` instead of `text`. A timeout names the sockets and the last frames.
|
|
100
|
+
|
|
101
|
+
replaces: overriding the `MessageEvent.prototype.data` getter through `evaluate` after `goto()`, which lost the frames sent on load
|
|
102
|
+
|
|
103
|
+
### Patch Changes
|
|
104
|
+
|
|
105
|
+
- 1962bd2: Fixed: `api` and `dsl_lookup` find a function by the words it is usually searched with: `hasCookie` by "cookie exists", "document.cookie" or "cookie is gone after logout", `waitForRequest` by "tell GET from POST", `mockRoute` by "ordering masks", `pause` by "shell sleep".
|
|
106
|
+
- 39a9b44: Fixed: `api` and `dsl_lookup` find this release's new functions by the habit they replace: `assertInViewport` by "getBoundingClientRect" or "visible area", `assertNoFocusZoom` by "getComputedStyle fontSize", `dragBy` by "pointer events" or "dispatchEvent", `tap`, `longPress` and `swipe` by "TouchEvent" or "PointerEvent", `waitForWebSocketFrame` and `webSocketFrames` by "MessageEvent", `newContext` by "authorization header" or "token in the URL", `closePage` by "leave site", `mcpCallStart` by "ask_human". `dsl_lookup` also finds `assertInViewport` by the task "check that an element is inside the visible area". `dsl_lookup` "evaluate with getBoundingClientRect against window.innerHeight" again names `boundingBox` and `evaluate`, now beside `assertInViewport`, instead of nothing.
|
|
107
|
+
- 0d8fd1f: Fixed: a run whose starting MCP server is gone no longer stays for the whole pause timeout after a second client attached to it and then went away. Attaching inside the window used to keep the run for good, so once that client closed too the run was left with nobody to drive it, holding its queue slot and browser. Now the run stays only while an attached server is alive; when it is gone or calls `detach_debug_session`, the run waits the same window (`UNOTEST_OWNER_GONE_WINDOW_MS`) for another client and then stops. A run started from the viewer is not affected. The run is also told when the attached server leaves it another way — attaching to a different run, `take_wheel` on another run, `new_context` or `explore_start` — so that window starts at once instead of after the pause timeout.
|
|
108
|
+
- 6ab3da7: Changed: `bundle push --run` no longer pins the box environment it runs in. The environment serves the pushed bundle and keeps following its default branch: the next bundle pushed to that branch moves it on, and the viewer no longer shows it as pinned by the push token. Only a pick in the viewer holds an environment. A run ordered into an environment somebody picked by hand replaces that pick and lets go of it.
|
|
109
|
+
- 082ba2b: Fixed: `boxd environment add` no longer tells the operator that a push refused in the last 10 s is refused again — an added environment is served at once when a push names it, and the message now says so.
|
|
110
|
+
- b0430d9: Fixed: an environment added on the box with `environment add` is served as soon as a push names it, even when a push was refused for that name a few seconds earlier. Before, the retry the CLI hint suggests was refused again for up to 10 seconds.
|
|
111
|
+
- 7ab95db: Fixed: an environment taken back with `boxd environment remove` stops being served at once, not on the box's next sweep. Right after the remove, `bundle rm` of the bundle only that environment ran is no longer refused as "in use", and `bundle push` no longer names the removed environment among those missing a value, and a schedule that comes due no longer runs it.
|
|
112
|
+
- f62f7f9: Fixed: a run ordered with `bundle push --run` in an environment that `boxd environment remove` took back before the run reached the queue no longer starts in the removed environment. It ends as not run, and `--follow` prints the reason: the environment was removed.
|
|
113
|
+
- 1e91053: Fixed: after `environment remove` on the box, the removed environment's viewer stops within seconds, as the command says. Before, it kept running for up to five minutes when nothing reached the daemon after the remove. An `environment add` is picked up just as quickly, with no push needed.
|
|
114
|
+
- ef2bbd7: Fixed: a box refusing an oversized upload now delivers its answer (413, or 400 for a declared length over the limit) to a client that is still sending, instead of the connection being reset before the answer arrives.
|
|
115
|
+
- e6f98ff: Fixed: an environment removed from the box config and added back after its selected bundle was deleted no longer serves nothing. The box lets go of the vanished bundle, logs who had selected it and when, and the environment follows its branch again.
|
|
116
|
+
- 52861a7: Fixed: a box being stopped now waits for the CI runs it has already accepted to leave its run queue, so a restart no longer leaves a half-withdrawn ticket behind.
|
|
117
|
+
- 9f432d6: Fixed: on macOS, headless runs on system Chrome no longer pile up 1.3 GB copies of the Chrome app bundle in the temporary folder. A Chrome killed while it starts leaves such a copy behind; unotest-web now removes leftovers when it starts a headless system-Chrome run, and never touches the copy of a Chrome that is still running, your own included. A long-running Chrome, such as your own, no longer keeps the leftovers of other Chrome runs from being removed. The MCP server also closes its browser when it crashes instead of leaving it to be killed. `init` now points out that bundled Chromium is the lighter choice for headless runs.
|
|
118
|
+
- 6ddc3bf: Fixed: a collection that is refused before its first scenario — a judge that cannot answer, a viewport that does not fit the device, a browser profile asked to serve several workers, an app that will not start, a failed `prepare` — now leaves its run with the reason. `bundle push --run --follow` prints that reason as a failed line of the collection and then ends, instead of a silent "finished". The collection's `collection-run:finished` event carries the reason in a new optional `error` field.
|
|
119
|
+
- c299aa9: Fixed: `env push` with values larger than the box accepts (1 MB per request) now says so. The box answers 413 `payload-too-large` instead of a generic `malformed`, and the CLI prints how large the request was and the box's limit, with what to do — instead of advising to upgrade a box that was already current. Against an older box that still answers `malformed`, the CLI recognises an oversized batch by its own size and gives the same advice.
|
|
120
|
+
- fce8fa3: Fixed: `explore_step` `click` dropped `options.position` without a word: the click landed in the centre of the element and the step answered success. `click` now takes the options of the DSL `click()` — `position`, `modifiers`, `button`, `clickCount`, `force`, `timeout` — and the recorded step keeps them; `double_click`, `hover`, `press` and `select_option` take theirs (`position`, `force`, `delay`) the same way. An options key an action does not read is now refused with the keys it does read, for every action, instead of being dropped.
|
|
121
|
+
- 80ab4a2: Fixed: `bundle push --run --follow` prints a run's `finished` line after the lines of its last scenario, not before them. The follower now reads the run's remaining lines until the box says the log is complete, waiting a couple of seconds at most, so the CI log no longer shows steps after the run seemed to end; the verdict is printed either way.
|
|
122
|
+
- 5de8df2: Fixed: the `wait-enabled` idiom example starts its unlock timer on a click, so its first check no longer races the timer on a slow machine.
|
|
123
|
+
- 2ba187e: Fixed: with `--json`, `collection`, `e2e` and `bundle push` send what the project's `prepare` and `generate` commands print to stderr, so stdout carries the result document alone and pipes straight into `jq`. Without `--json` their output stays on stdout.
|
|
124
|
+
- 4c13f0f: Changed: the MCP server's instructions now say that a DSL function with no `explore_step` action (`evaluate`, `boundingBox`, `setCookie`) goes into a scenario run with `run_test`, and that `dsl_lookup` finds it by plain words. The `write-e2e-test` skill gains a recipe for checking that an element is in view after an action: `assertInViewport` (`assert_in_viewport` in `explore_step`), since `assertVisible` passes below the fold too.
|
|
125
|
+
- 0cd81a6: Fixed: a step on an element (`click`, `fill` and the like) that times out now names the page it waited on — its index and url — and, when a terminal is open, says that page steps keep acting on the page and how to reach each: `setPage(n)` or `setTerminal(n)`. Before, a timeout after `setTerminal()` read as if the step had gone to the terminal. The wait itself is unchanged.
|
|
126
|
+
- 254f93e: Fixed: a run an agent started with `run_test` no longer outlives the MCP server by the whole pause timeout. Once the server is gone (the agent's client closed), a run paused on a failure kept its queue slot and browser for 30 minutes, and the next `e2e` waited "queued behind" it until the process was killed by hand. Now the run waits 60 seconds for a client to `attach_debug_session` (a restarted server picking it up again keeps it), then stops as `abort_runtime` would and frees the queue; a run still waiting in the queue leaves it at once. `UNOTEST_OWNER_GONE_WINDOW_MS` sets the window.
|
|
127
|
+
- 753d564: Fixed: with several `browsers`, `assertScreenshot` compared every engine with the first one's picture; it now keeps a baseline per engine. The first engine listed keeps `<name>.png`, so existing baselines stay as they are; any other engine compares with `<name>.<engine>.png` (`home.webkit.png`). `--update-screenshots` plays every engine and writes each one's baseline; a missing one is saved as a candidate under that file name, ready to download. A failure message names the engine and the baseline file. Reordering `browsers` changes which engine `<name>.png` belongs to — rename the files with it.
|
|
128
|
+
- febf9c2: Fixed: in the run's Environment block the variables taken from the env chosen with `--env` are marked with that env, as `--env local`, not as "environment", which read like the shell's environment.
|
|
129
|
+
|
|
130
|
+
Fixed: in a narrow window the run's Environment table scrolls sideways inside its block instead of cutting off the "from" and "file" columns.
|
|
131
|
+
|
|
132
|
+
- b52f738: Fixed: switching an environment's bundle several times in a row on a box no longer leaves it without a viewer. Before, a switch could try to start the new viewer while the previous one was still being removed, and the daemon log showed `viewer unavailable … 409 container name in use`.
|
|
133
|
+
- Updated dependencies [0d8fd1f]
|
|
134
|
+
- Updated dependencies [6ddc3bf]
|
|
135
|
+
- Updated dependencies [c299aa9]
|
|
136
|
+
- Updated dependencies [894d47f]
|
|
137
|
+
- Updated dependencies [bb98794]
|
|
138
|
+
- Updated dependencies [254f93e]
|
|
139
|
+
- Updated dependencies [0dc7eb7]
|
|
140
|
+
- Updated dependencies [febf9c2]
|
|
141
|
+
- @unotest/protocol@0.57.0
|
|
142
|
+
- @unotest/core@0.57.0
|
|
143
|
+
- @unotest/viewer@0.57.0
|
|
144
|
+
- @unotest/grounder-client@0.57.0
|
|
145
|
+
- @unotest/dsl@0.57.0
|
|
146
|
+
|
|
3
147
|
## [0.56.0] - 2026-10-30
|
|
4
148
|
|
|
5
149
|
### Minor Changes
|
|
@@ -2657,7 +2801,7 @@ picker on` fetches this project's own access and writes the three grounder
|
|
|
2657
2801
|
|
|
2658
2802
|
That screen named one command:
|
|
2659
2803
|
|
|
2660
|
-
|
|
2804
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT
|
|
2661
2805
|
|
|
2662
2806
|
In a project that has just been created, the command refuses with `no box
|
|
2663
2807
|
address` before it does anything: the project holds neither the box's address
|
|
@@ -2666,8 +2810,8 @@ address` before it does anything: the project holds neither the box's address
|
|
|
2666
2810
|
|
|
2667
2811
|
The screen now names both steps, in the order they have to happen:
|
|
2668
2812
|
|
|
2669
|
-
|
|
2670
|
-
|
|
2813
|
+
npx @unotest/web box access larch
|
|
2814
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT
|
|
2671
2815
|
|
|
2672
2816
|
The box's own name is filled in when its licence carries one. `box access`
|
|
2673
2817
|
with no name refuses, and its refusal offers to create a box — to somebody who
|
package/README.md
CHANGED
|
@@ -24,14 +24,14 @@ package; the full reference is at https://docs.unotest.com/reference/dsl/.
|
|
|
24
24
|
- **Navigation** — `goto`, `reload`, `goBack`, `goForward`, `waitForUrl`, `waitForNavigation`
|
|
25
25
|
- **Locators** — `locator`, `getByRole`, `getByText`, `getByLabel`, `getByPlaceholder`, `getByAltText`, `getByTitle`, `getByTestId`, `contentFrame`
|
|
26
26
|
- **Refining a locator** — `filter`, `first`, `last`, `nth`, `randomNth`
|
|
27
|
-
- **Actions** — `click`, `doubleClick`, `check`, `uncheck`, `hover`, `scrollIntoView`, `fill`, `press`, `selectOption`, `dragAndDrop`, `uploadFile`, `clipboardPaste`
|
|
27
|
+
- **Actions** — `click`, `doubleClick`, `check`, `uncheck`, `hover`, `scrollIntoView`, `fill`, `press`, `selectOption`, `dragAndDrop`, `dragBy`, `tap`, `longPress`, `swipe`, `uploadFile`, `clipboardPaste`
|
|
28
28
|
- **Waits and the page clock** — `waitFor`, `waitForText`, `waitForCount`, `waitForAnimations`, `pause`, `waitForDownload`, `clockFreeze`, `clockTick`, `clockRun`
|
|
29
|
-
- **Assertions** — `assertText`, `assertTexts`, `assertAttribute`, `assertVisible`, `assertHidden`, `assertNeverAppears`, `assertValue`, `assertCount`, `assertUrl`, `assertJudge`, `assertScreenshot`, `assertEqual`, `assertTrue`, `assertSchema`, `assertFileHas`, `assertFileLacks`, `skip`, `setTestTimeout`
|
|
29
|
+
- **Assertions** — `assertText`, `assertTexts`, `assertAttribute`, `assertVisible`, `assertHidden`, `assertInViewport`, `assertNoFocusZoom`, `assertNeverAppears`, `assertValue`, `assertCount`, `assertUrl`, `assertJudge`, `assertScreenshot`, `assertEqual`, `assertTrue`, `assertSchema`, `assertFileHas`, `assertFileLacks`, `skip`, `setTestTimeout`
|
|
30
30
|
- **Reading the page and values** — `clipboardRead`, `assertClipboard`, `count`, `textContent`, `texts`, `inputValue`, `isVisible`, `isChecked`, `isDisabled`, `isEnabled`, `hasAttribute`, `computedStyle`, `getImageSize`, `hasAnimation`, `animations`, `randomFirstName`, `randomLastName`, `randomEmail`, `randomText`, `randomWord`, `json`, `textContains`, `textJoin`, `nowMs`, `today`, `daysFromNow`, `textMatches`, `parseJson`, `urlParam`, `toNumber`, `round`, `formatNumber`, `env`
|
|
31
31
|
- **Page state** — `getAttribute`, `getInnerText`, `getInputValue`, `boundingBox`, `getTitle`, `getUrl`, `log`
|
|
32
32
|
- **Storage and cookies** — `setLocalStorage`, `getLocalStorage`, `setCookie`, `getCookie`, `hasCookie`
|
|
33
33
|
- **Tabs, frames, contexts, extensions** — `setPage`, `waitForPage`, `bringToFront`, `setPageHidden`, `newPage`, `closePage`, `setViewport`, `emulateMedia`, `newContext`, `setContext`, `enterFrame`, `exitFrame`, `addVirtualAuthenticator`, `virtualCredentials`, `removeVirtualAuthenticator`, `grantPermissions`, `setOffline`, `waitForServiceWorker`, `extensionId`, `evaluateInServiceWorker`
|
|
34
|
-
- **Data, files, network, processes** — `shell`, `waitForFile`, `assertNoFile`, `waitForJsonLine`, `assertNoJsonLine`, `readJsonLine`, `readJson`, `readFile`, `readFileInfo`, `waitForFileCount`, `assertFileCount`, `dbQuery`, `dbExec`, `apiCall`, `upload`, `mockRoute`, `unmockRoute`, `waitForRequest`, `waitForResponse`, `waitForWebSocket`, `networkEntries`, `assertNoRequest`, `openTerminal`, `setTerminal`, `closeTerminal`, `terminalType`, `terminalClipboardWrite`, `terminalClipboardRead`, `terminalPress`, `terminalWaitForText`, `terminalWaitForExit`, `terminalAssertText`, `terminalResize`, `terminalText`, `terminalScreenshot`, `mcpStart`, `mcpCall`, `mcpWaitNotification`, `mcpStop`, `vmAvailable`, `vmClone`, `vmRun`, `vmIp`, `vmStop`, `vmDelete`
|
|
34
|
+
- **Data, files, network, processes** — `shell`, `waitForFile`, `assertNoFile`, `waitForJsonLine`, `assertNoJsonLine`, `readJsonLine`, `readJson`, `readFile`, `readFileInfo`, `waitForFileCount`, `assertFileCount`, `dbQuery`, `dbExec`, `apiCall`, `upload`, `mockRoute`, `unmockRoute`, `waitForRequest`, `waitForResponse`, `waitForWebSocket`, `waitForWebSocketFrame`, `webSocketFrames`, `networkEntries`, `assertNoRequest`, `openTerminal`, `setTerminal`, `closeTerminal`, `terminalType`, `terminalClipboardWrite`, `terminalClipboardRead`, `terminalPress`, `terminalWaitForText`, `terminalWaitForExit`, `terminalAssertText`, `terminalResize`, `terminalText`, `terminalScreenshot`, `mcpStart`, `mcpCall`, `mcpCallStart`, `mcpCallResult`, `mcpWaitNotification`, `mcpStop`, `vmAvailable`, `vmClone`, `vmRun`, `vmIp`, `vmStop`, `vmDelete`
|
|
35
35
|
- **Diagnostics** — `screenshot`, `note`, `consoleEntries`, `pageErrors`, `assertNoConsoleErrors`
|
|
36
36
|
- **Structure** — `step`, `teardown`, `waitUntil`, `assertNever`
|
|
37
37
|
- **Page code (last resort)** — `evaluate`, `evaluateOnLocator`
|
package/bin/unotest-web.js
CHANGED
|
@@ -190,6 +190,19 @@ const child = spawn(cmd, cmdArgs, {
|
|
|
190
190
|
stdio: linkParent ? ["inherit", "inherit", "inherit", "ipc"] : "inherit",
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
+
// An MCP server's run_test starts this wrapper with a channel of its own.
|
|
194
|
+
// The server going — the agent's client closed — is not a stop: a run it
|
|
195
|
+
// started waits a window for a restarted server to attach, then stops. So
|
|
196
|
+
// it is told to the cli as a message, not forwarded as a signal. The kind
|
|
197
|
+
// is `OWNER_GONE` of src/runner/parent-link.ts, which decides the rest.
|
|
198
|
+
// Under the tsx fallback the cli holds no channel and is not told.
|
|
199
|
+
if (process.connected === true && process.channel) {
|
|
200
|
+
process.channel.unref();
|
|
201
|
+
process.once("disconnect", () => {
|
|
202
|
+
if (child.connected) child.send({ kind: "owner-gone" });
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
|
|
193
206
|
// Pass termination on to the child. This dispatcher is a thin wrapper: kill
|
|
194
207
|
// IT and the real process — the viewer server, a running scenario — has to
|
|
195
208
|
// go too, or it is orphaned to init and keeps its port for the rest of the
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -125,7 +125,7 @@ type DialogPolicy = z.infer<typeof DialogPolicySchema>;
|
|
|
125
125
|
* loads, and `lint` warns that the entry does nothing. Gone in the next
|
|
126
126
|
* major. */
|
|
127
127
|
declare const REMOVED_VALIDATOR_RULE_IDS: readonly ["validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"];
|
|
128
|
-
declare const LinterRuleIdSchema: z.ZodEnum<["lint:deep-css", "lint:xpath", "lint:obfuscated-class", "lint:pause-explicit", "lint:disambig-by-index", "lint:evaluate-discouraged", "lint:scenario-in-root", "lint:mustache-in-dsl", "lint:goto-concat", "lint:regex-invalid", "lint:echo-assert", "lint:api-call-file-body", "lint:lint-ok-missing-reason", "lint:flow-returns-value", "lint:legacy-layout", "lint:external-variable-undeclared", "lint:external-variable-no-value", "lint:env-host-from-base", "lint:one-test-per-file", "lint:shadows-dsl-function", "lint:skip-outside-test", "lint:set-test-timeout-outside-test", "lint:wait-exceeds-test-budget", "lint:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "lint:function-newer-than-suite", "validator:unknown-function", "validator:arity", "validator:arg-kind", "validator:step-coverage", "validator:step-shape", "validator:meta-shape", "validator:function-shape", "validator:for-shape", "validator:if-shape", "validator:var-shape", "validator:top-level-statement", "validator:string-concat", "validator:semantic-loss", "validator:list-arg", "validator:wrapped-format", "validator:const-assign", "validator:teardown-shape", "validator:teardown-name-conflict", "validator:wait-until-shape", "validator:assert-never-shape", "validator:locator-index-access", "validator:chain-receiver", "validator:top-level-const", "validator:string-member-receiver", "validator:array-member-receiver", "validator:options", "validator:implicit-global", "validator:async-await", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:unknown-member", "validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"]>;
|
|
128
|
+
declare const LinterRuleIdSchema: z.ZodEnum<["lint:deep-css", "lint:xpath", "lint:obfuscated-class", "lint:pause-explicit", "lint:disambig-by-index", "lint:evaluate-discouraged", "lint:scenario-in-root", "lint:mustache-in-dsl", "lint:goto-concat", "lint:regex-invalid", "lint:echo-assert", "lint:api-call-file-body", "lint:lint-ok-missing-reason", "lint:flow-returns-value", "lint:legacy-layout", "lint:external-variable-undeclared", "lint:external-variable-no-value", "lint:env-host-from-base", "lint:env-from-base", "lint:one-test-per-file", "lint:shadows-dsl-function", "lint:skip-outside-test", "lint:set-test-timeout-outside-test", "lint:wait-exceeds-test-budget", "lint:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "lint:function-newer-than-suite", "lint:get-attribute-null", "lint:external-variable-empty", "validator:unknown-function", "validator:arity", "validator:arg-kind", "validator:step-coverage", "validator:step-shape", "validator:meta-shape", "validator:function-shape", "validator:for-shape", "validator:if-shape", "validator:var-shape", "validator:top-level-statement", "validator:string-concat", "validator:semantic-loss", "validator:list-arg", "validator:wrapped-format", "validator:const-assign", "validator:teardown-shape", "validator:teardown-name-conflict", "validator:wait-until-shape", "validator:assert-never-shape", "validator:locator-index-access", "validator:chain-receiver", "validator:top-level-const", "validator:string-member-receiver", "validator:array-member-receiver", "validator:options", "validator:implicit-global", "validator:async-await", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:unknown-member", "validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"]>;
|
|
129
129
|
type LinterRuleId = z.infer<typeof LinterRuleIdSchema>;
|
|
130
130
|
declare const LinterSeveritySchema: z.ZodEnum<["off", "warn", "error"]>;
|
|
131
131
|
type LinterSeverity = z.infer<typeof LinterSeveritySchema>;
|
|
@@ -134,13 +134,13 @@ type LinterSeverity = z.infer<typeof LinterSeveritySchema>;
|
|
|
134
134
|
declare const REMOVED_RULE_SUCCESSORS: ReadonlyMap<string, LinterRuleId>;
|
|
135
135
|
declare const LinterConfigSchema: z.ZodObject<{
|
|
136
136
|
enabled: z.ZodBoolean;
|
|
137
|
-
rules: z.ZodEffects<z.ZodRecord<z.ZodEnum<["lint:deep-css", "lint:xpath", "lint:obfuscated-class", "lint:pause-explicit", "lint:disambig-by-index", "lint:evaluate-discouraged", "lint:scenario-in-root", "lint:mustache-in-dsl", "lint:goto-concat", "lint:regex-invalid", "lint:echo-assert", "lint:api-call-file-body", "lint:lint-ok-missing-reason", "lint:flow-returns-value", "lint:legacy-layout", "lint:external-variable-undeclared", "lint:external-variable-no-value", "lint:env-host-from-base", "lint:one-test-per-file", "lint:shadows-dsl-function", "lint:skip-outside-test", "lint:set-test-timeout-outside-test", "lint:wait-exceeds-test-budget", "lint:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "lint:function-newer-than-suite", "validator:unknown-function", "validator:arity", "validator:arg-kind", "validator:step-coverage", "validator:step-shape", "validator:meta-shape", "validator:function-shape", "validator:for-shape", "validator:if-shape", "validator:var-shape", "validator:top-level-statement", "validator:string-concat", "validator:semantic-loss", "validator:list-arg", "validator:wrapped-format", "validator:const-assign", "validator:teardown-shape", "validator:teardown-name-conflict", "validator:wait-until-shape", "validator:assert-never-shape", "validator:locator-index-access", "validator:chain-receiver", "validator:top-level-const", "validator:string-member-receiver", "validator:array-member-receiver", "validator:options", "validator:implicit-global", "validator:async-await", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:unknown-member", "validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"]>, z.ZodEnum<["off", "warn", "error"]>>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>>;
|
|
137
|
+
rules: z.ZodEffects<z.ZodRecord<z.ZodEnum<["lint:deep-css", "lint:xpath", "lint:obfuscated-class", "lint:pause-explicit", "lint:disambig-by-index", "lint:evaluate-discouraged", "lint:scenario-in-root", "lint:mustache-in-dsl", "lint:goto-concat", "lint:regex-invalid", "lint:echo-assert", "lint:api-call-file-body", "lint:lint-ok-missing-reason", "lint:flow-returns-value", "lint:legacy-layout", "lint:external-variable-undeclared", "lint:external-variable-no-value", "lint:env-host-from-base", "lint:env-from-base", "lint:one-test-per-file", "lint:shadows-dsl-function", "lint:skip-outside-test", "lint:set-test-timeout-outside-test", "lint:wait-exceeds-test-budget", "lint:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "lint:function-newer-than-suite", "lint:get-attribute-null", "lint:external-variable-empty", "validator:unknown-function", "validator:arity", "validator:arg-kind", "validator:step-coverage", "validator:step-shape", "validator:meta-shape", "validator:function-shape", "validator:for-shape", "validator:if-shape", "validator:var-shape", "validator:top-level-statement", "validator:string-concat", "validator:semantic-loss", "validator:list-arg", "validator:wrapped-format", "validator:const-assign", "validator:teardown-shape", "validator:teardown-name-conflict", "validator:wait-until-shape", "validator:assert-never-shape", "validator:locator-index-access", "validator:chain-receiver", "validator:top-level-const", "validator:string-member-receiver", "validator:array-member-receiver", "validator:options", "validator:implicit-global", "validator:async-await", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:unknown-member", "validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"]>, z.ZodEnum<["off", "warn", "error"]>>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>>;
|
|
138
138
|
}, "strict", z.ZodTypeAny, {
|
|
139
139
|
enabled: boolean;
|
|
140
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
140
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
141
141
|
}, {
|
|
142
142
|
enabled: boolean;
|
|
143
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
143
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
144
144
|
}>;
|
|
145
145
|
type LinterConfig = z.infer<typeof LinterConfigSchema>;
|
|
146
146
|
declare const QueueConfigSchema: z.ZodObject<{
|
|
@@ -363,8 +363,8 @@ declare const WebServersConfigSchema: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.Zo
|
|
|
363
363
|
}[]>;
|
|
364
364
|
declare const EnvConfigSchema: z.ZodObject<{
|
|
365
365
|
/** Variable names whose base `.env` value is deliberately shared by
|
|
366
|
-
* every environment.
|
|
367
|
-
*
|
|
366
|
+
* every environment. Any name: it silences both
|
|
367
|
+
* `lint:env-host-from-base` and `lint:env-from-base`. */
|
|
368
368
|
shared: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
369
369
|
}, "strict", z.ZodTypeAny, {
|
|
370
370
|
shared: string[];
|
|
@@ -635,8 +635,8 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
635
635
|
/** Cross-environment declarations (`.env.<name>` overlays). */
|
|
636
636
|
env: z.ZodObject<{
|
|
637
637
|
/** Variable names whose base `.env` value is deliberately shared by
|
|
638
|
-
* every environment.
|
|
639
|
-
*
|
|
638
|
+
* every environment. Any name: it silences both
|
|
639
|
+
* `lint:env-host-from-base` and `lint:env-from-base`. */
|
|
640
640
|
shared: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
641
641
|
}, "strict", z.ZodTypeAny, {
|
|
642
642
|
shared: string[];
|
|
@@ -645,13 +645,13 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
645
645
|
}>;
|
|
646
646
|
linter: z.ZodObject<{
|
|
647
647
|
enabled: z.ZodBoolean;
|
|
648
|
-
rules: z.ZodEffects<z.ZodRecord<z.ZodEnum<["lint:deep-css", "lint:xpath", "lint:obfuscated-class", "lint:pause-explicit", "lint:disambig-by-index", "lint:evaluate-discouraged", "lint:scenario-in-root", "lint:mustache-in-dsl", "lint:goto-concat", "lint:regex-invalid", "lint:echo-assert", "lint:api-call-file-body", "lint:lint-ok-missing-reason", "lint:flow-returns-value", "lint:legacy-layout", "lint:external-variable-undeclared", "lint:external-variable-no-value", "lint:env-host-from-base", "lint:one-test-per-file", "lint:shadows-dsl-function", "lint:skip-outside-test", "lint:set-test-timeout-outside-test", "lint:wait-exceeds-test-budget", "lint:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "lint:function-newer-than-suite", "validator:unknown-function", "validator:arity", "validator:arg-kind", "validator:step-coverage", "validator:step-shape", "validator:meta-shape", "validator:function-shape", "validator:for-shape", "validator:if-shape", "validator:var-shape", "validator:top-level-statement", "validator:string-concat", "validator:semantic-loss", "validator:list-arg", "validator:wrapped-format", "validator:const-assign", "validator:teardown-shape", "validator:teardown-name-conflict", "validator:wait-until-shape", "validator:assert-never-shape", "validator:locator-index-access", "validator:chain-receiver", "validator:top-level-const", "validator:string-member-receiver", "validator:array-member-receiver", "validator:options", "validator:implicit-global", "validator:async-await", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:unknown-member", "validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"]>, z.ZodEnum<["off", "warn", "error"]>>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>>;
|
|
648
|
+
rules: z.ZodEffects<z.ZodRecord<z.ZodEnum<["lint:deep-css", "lint:xpath", "lint:obfuscated-class", "lint:pause-explicit", "lint:disambig-by-index", "lint:evaluate-discouraged", "lint:scenario-in-root", "lint:mustache-in-dsl", "lint:goto-concat", "lint:regex-invalid", "lint:echo-assert", "lint:api-call-file-body", "lint:lint-ok-missing-reason", "lint:flow-returns-value", "lint:legacy-layout", "lint:external-variable-undeclared", "lint:external-variable-no-value", "lint:env-host-from-base", "lint:env-from-base", "lint:one-test-per-file", "lint:shadows-dsl-function", "lint:skip-outside-test", "lint:set-test-timeout-outside-test", "lint:wait-exceeds-test-budget", "lint:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "lint:function-newer-than-suite", "lint:get-attribute-null", "lint:external-variable-empty", "validator:unknown-function", "validator:arity", "validator:arg-kind", "validator:step-coverage", "validator:step-shape", "validator:meta-shape", "validator:function-shape", "validator:for-shape", "validator:if-shape", "validator:var-shape", "validator:top-level-statement", "validator:string-concat", "validator:semantic-loss", "validator:list-arg", "validator:wrapped-format", "validator:const-assign", "validator:teardown-shape", "validator:teardown-name-conflict", "validator:wait-until-shape", "validator:assert-never-shape", "validator:locator-index-access", "validator:chain-receiver", "validator:top-level-const", "validator:string-member-receiver", "validator:array-member-receiver", "validator:options", "validator:implicit-global", "validator:async-await", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:unknown-member", "validator:unsupported-statement", "validator:unsupported-expression", "validator:unsupported-string-member", "validator:out-of-language", "validator:library-member", "validator:implicit-declaration"]>, z.ZodEnum<["off", "warn", "error"]>>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>, Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>>;
|
|
649
649
|
}, "strict", z.ZodTypeAny, {
|
|
650
650
|
enabled: boolean;
|
|
651
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
651
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
652
652
|
}, {
|
|
653
653
|
enabled: boolean;
|
|
654
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
654
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
655
655
|
}>;
|
|
656
656
|
mcp: z.ZodObject<{
|
|
657
657
|
transport: z.ZodLiteral<"stdio">;
|
|
@@ -783,7 +783,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
783
783
|
defaultNavigationTimeoutMs: number;
|
|
784
784
|
linter: {
|
|
785
785
|
enabled: boolean;
|
|
786
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
786
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
787
787
|
};
|
|
788
788
|
mcp: {
|
|
789
789
|
transport: "stdio";
|
|
@@ -865,7 +865,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
865
865
|
defaultNavigationTimeoutMs: number;
|
|
866
866
|
linter: {
|
|
867
867
|
enabled: boolean;
|
|
868
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
868
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
869
869
|
};
|
|
870
870
|
mcp: {
|
|
871
871
|
transport: "stdio";
|
|
@@ -952,7 +952,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
952
952
|
defaultNavigationTimeoutMs: number;
|
|
953
953
|
linter: {
|
|
954
954
|
enabled: boolean;
|
|
955
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
955
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
956
956
|
};
|
|
957
957
|
mcp: {
|
|
958
958
|
transport: "stdio";
|
|
@@ -1034,7 +1034,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1034
1034
|
defaultNavigationTimeoutMs: number;
|
|
1035
1035
|
linter: {
|
|
1036
1036
|
enabled: boolean;
|
|
1037
|
-
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
1037
|
+
rules: Partial<Record<"validator:unsupported-statement" | "validator:unsupported-expression" | "validator:unsupported-string-member" | "validator:out-of-language" | "validator:library-member" | "validator:implicit-declaration" | "lint:deep-css" | "lint:xpath" | "lint:obfuscated-class" | "lint:pause-explicit" | "lint:disambig-by-index" | "lint:evaluate-discouraged" | "lint:scenario-in-root" | "lint:mustache-in-dsl" | "lint:goto-concat" | "lint:regex-invalid" | "lint:echo-assert" | "lint:api-call-file-body" | "lint:lint-ok-missing-reason" | "lint:flow-returns-value" | "lint:legacy-layout" | "lint:external-variable-undeclared" | "lint:external-variable-no-value" | "lint:env-host-from-base" | "lint:env-from-base" | "lint:one-test-per-file" | "lint:shadows-dsl-function" | "lint:skip-outside-test" | "lint:set-test-timeout-outside-test" | "lint:wait-exceeds-test-budget" | "lint:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "lint:function-newer-than-suite" | "lint:get-attribute-null" | "lint:external-variable-empty" | "validator:unknown-function" | "validator:arity" | "validator:arg-kind" | "validator:step-coverage" | "validator:step-shape" | "validator:meta-shape" | "validator:function-shape" | "validator:for-shape" | "validator:if-shape" | "validator:var-shape" | "validator:top-level-statement" | "validator:string-concat" | "validator:semantic-loss" | "validator:list-arg" | "validator:wrapped-format" | "validator:const-assign" | "validator:teardown-shape" | "validator:teardown-name-conflict" | "validator:wait-until-shape" | "validator:assert-never-shape" | "validator:locator-index-access" | "validator:chain-receiver" | "validator:top-level-const" | "validator:string-member-receiver" | "validator:array-member-receiver" | "validator:options" | "validator:implicit-global" | "validator:async-await" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:unknown-member", "off" | "warn" | "error">>;
|
|
1038
1038
|
};
|
|
1039
1039
|
mcp: {
|
|
1040
1040
|
transport: "stdio";
|