@unotest/web 0.52.0 → 0.53.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/CHANGELOG.md +183 -9
- package/README.md +27 -16
- package/dist/config/schema.d.ts +11 -11
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.d.ts +7 -2
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.d.ts +333 -92
- 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 +11 -3
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/inspection/page-inject.d.ts +5 -2
- package/dist/inspection/page-inject.js +11 -0
- package/dist/{interfaces-BSGmF_Tv.d.ts → interfaces-BU-PQbt4.d.ts} +48 -2
- package/dist/{linter-CYRlmOLy.d.ts → linter-BpaIstU3.d.ts} +11 -1
- 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/guides/agent-integration.md +1 -1
- package/guides/dsl-reference.md +485 -40
- package/llms.txt +14 -9
- package/package.json +14 -9
- package/src/mcp/prompts/agent-test-author.md +3 -1
- package/types/unotest-dsl.d.ts +52 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,184 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.53.0] - 2026-10-23
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f8a011e: Changed: the key that created a box now deletes it at once, without waiting for a person in the cabinet. Before, every delete by an agent's key waited for an approval, and one nobody answered within ten minutes left the box running and charging. Deleting a box created by another key still waits for a person, as do boxes made in the dashboard and boxes created before this change. A new `login` mints a new key, so after logging in again a delete waits too. The account's owner gets an email that names the key that deleted the box. `box destroy` prints when billing stopped (`destroyedAt` in `--json` and in the `cloud_box_destroy` answer). When a delete has to wait, the CLI and the MCP tool say why.
|
|
8
|
+
- 6b82939: New: `newContext({cdpEndpoint})` joins a Chrome that is already running with remote debugging — the browser inside a VM, for example — as another context of the test. The test then drives it with the same steps as its own browser, and the end of the test only disconnects:
|
|
9
|
+
|
|
10
|
+
```js
|
|
11
|
+
function test_vm_browser() {
|
|
12
|
+
step("Join the VM's browser", () => {
|
|
13
|
+
const vm = vmClone("macos-base");
|
|
14
|
+
const ip = vmRun(vm);
|
|
15
|
+
newContext({ cdpEndpoint: `http://${ip}:9222` });
|
|
16
|
+
goto("https://app.example.com");
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
An endpoint nothing answers on fails within 10 seconds with one line that names it. It cannot be combined with `profile`.
|
|
22
|
+
|
|
23
|
+
replaces: nothing
|
|
24
|
+
|
|
25
|
+
- de48435: Changed: a test that never uses a page no longer starts a browser. The browser opens at the first step that needs one, so a test that only drives a terminal, works with values or files, calls an API or an MCP server, or runs a VM starts and ends without Chromium. A browser that is not installed is now reported at that first browser step, with the same install command. The failure bundle of a test that never opened a page holds the error and the terminal, and says in `screenshot-error.txt` and `page-html-error.txt` that there was no page to capture.
|
|
26
|
+
- 8d4109a: New: `networkEntries({ since?, glob? })` returns what the active page requested and was answered, so a scenario can check the status and the body of the response a click caused. It is recorded from the moment the page opens, 500 requests per context; `fetch` and `xhr` responses of a text or JSON type come with `responseJson` and `responseText` (up to 64 KB), and `requestJson` is the request body read as JSON. A mask starting with `/` is read on the site's origin.
|
|
27
|
+
|
|
28
|
+
```js
|
|
29
|
+
click(getByRole("button", { name: "Verify" }));
|
|
30
|
+
waitUntil(() => networkEntries({ glob: "/api/contacts/verify*" }).length > 0);
|
|
31
|
+
const answer = networkEntries({ glob: "/api/contacts/verify*" })[0];
|
|
32
|
+
assertEqual(answer.status, 200);
|
|
33
|
+
assertEqual(answer.responseJson.kind, "mobile");
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Changed: with `UNOTEST_NETWORK` on, `network.json` now holds the last 500 requests of a context instead of 2000.
|
|
37
|
+
|
|
38
|
+
replaces: evaluate with a fetch wrapper
|
|
39
|
+
|
|
40
|
+
- 12db2ae: New: `openTerminal()` with no app opens the `shell` terminal — your shell on a pseudo-terminal, its output read through a terminal emulator, with no app window. Nothing takes the keyboard or the screen, so terminal tests run on Linux, in CI and in the Playwright Docker image as well as on a Mac. Every terminal step works on it: `terminalType` and `terminalPress` send what an xterm sends (the arrows follow the program's cursor mode, `Alt` is ESC before the key; `Meta` is refused), `terminalResize` reaches the program, `terminalScreenshot` draws the screen in its colours with the headless Chromium, and `terminalClipboardRead` / `terminalClipboardWrite` use the terminal's own OSC 52 clipboard. `openTerminal('Terminal')` and `openTerminal('iTerm2')` open a macOS window as before. The `shell` terminal needs `node-pty`, now an optional dependency with prebuilt binaries for macOS, Linux (glibc, x64 and arm64) and Windows; it is loaded only when a test opens one, and where it did not install the step names the command that installs it. The viewer's docked terminal moves to the same `node-pty` version and loader.
|
|
41
|
+
|
|
42
|
+
```js
|
|
43
|
+
openTerminal();
|
|
44
|
+
terminalType("my-cli --version");
|
|
45
|
+
terminalPress("Enter");
|
|
46
|
+
terminalWaitForText(/my-cli \d+\.\d+/);
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
replaces: a Terminal.app or iTerm2 window on a Mac that holds the keyboard; nothing on Linux or in CI
|
|
50
|
+
|
|
51
|
+
- 4970a08: New: `openTerminal('ssh', {host: 'user@address'})` opens a terminal session on a Linux host with no GUI — a VM, a server — over `ssh -tt`, and the same `terminal*` steps drive it. A `[Y/n]`, a device code or a password prompt of the host reaches the scenario as it reaches a person. The key comes from your ssh agent or `~/.ssh`; a password is never passed, and a login that fails shows on the screen.
|
|
52
|
+
|
|
53
|
+
```js
|
|
54
|
+
openTerminal("ssh", { host: "admin@10.0.0.5", cols: 120 });
|
|
55
|
+
terminalType("apt-get install -y htop");
|
|
56
|
+
terminalWaitForText(/Do you want to continue\? \[Y\/n\]/);
|
|
57
|
+
terminalType("y");
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
replaces: nothing
|
|
61
|
+
|
|
62
|
+
- 3ce33e1: New: `terminalClipboardWrite(text)` and `terminalClipboardRead()` reach the clipboard of the machine the active terminal window is on, this Mac or the VM of `{host}`. A token printed in the VM's terminal goes into a field of the page under test, and a value from the page goes into the VM's shell. The text is passed as an argument, marked concealed and transient, and never logged.
|
|
63
|
+
|
|
64
|
+
```js
|
|
65
|
+
openTerminal("Terminal", { host: "admin@192.168.64.38" });
|
|
66
|
+
terminalType("my-cli token | pbcopy");
|
|
67
|
+
terminalPress("Enter");
|
|
68
|
+
fill(getByLabel("Token"), terminalClipboardRead());
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
replaces: nothing
|
|
72
|
+
|
|
73
|
+
- 881672d: New: `terminalWaitForExit({code?, timeoutMs?})` waits for the shell of a terminal to end and returns how: `{exitCode, signal}`, where `signal` is the signal's name such as `SIGTERM`, or `null`. A test of a command-line tool can now check its exit code, not only what it printed:
|
|
74
|
+
|
|
75
|
+
```js
|
|
76
|
+
function test_cli_rejects_a_bad_flag() {
|
|
77
|
+
step("The tool exits with 2", () => {
|
|
78
|
+
openTerminal();
|
|
79
|
+
terminalType("my-cli --nope; exit $?");
|
|
80
|
+
terminalPress("Enter");
|
|
81
|
+
terminalWaitForExit({ code: 2 });
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
With `code`, a different exit code fails with both codes and the end of the screen. After the exit, typing into that terminal is refused with a message that says to open another one. A Terminal or iTerm2 window cannot report the exit, and the call says so.
|
|
87
|
+
|
|
88
|
+
replaces: nothing
|
|
89
|
+
|
|
90
|
+
- b83ec02: New: `openTerminal()` takes the keys that set up how its shell starts — `env`, `cwd`, `shell`, `cols`, `rows`, `term`, `locale` and `cleanProfile` — so a run does not depend on the machine it is on. `cleanProfile: true` starts the shell without your rc files, with only `PATH`, `HOME`, `USER` and `TMPDIR` of the runner's environment, and a `$ ` prompt:
|
|
91
|
+
|
|
92
|
+
```js
|
|
93
|
+
openTerminal("shell", {
|
|
94
|
+
cleanProfile: true,
|
|
95
|
+
cwd: "unotest",
|
|
96
|
+
env: { GREETING: "hi" },
|
|
97
|
+
cols: 100,
|
|
98
|
+
rows: 30,
|
|
99
|
+
});
|
|
100
|
+
terminalType("echo $GREETING $COLUMNS");
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
A GUI terminal window takes none of these keys and says so. A misspelt key is refused with the keys the call reads.
|
|
104
|
+
|
|
105
|
+
replaces: setting up the shell by hand with terminalType (cd, export, stty) before the test
|
|
106
|
+
|
|
107
|
+
- 305331b: New: `terminalWaitForText` returns what it saw and `terminalText()` reads the whole terminal screen, so a value shown in a terminal can go into the test. A regex gives the match array (`[0]` the match, then the groups), a string gives the first screen row that holds it, and `{not: true}` gives `null`. For example, a device code printed by a CLI goes into a field on the page:
|
|
108
|
+
|
|
109
|
+
```js
|
|
110
|
+
const m = terminalWaitForText(/code: ([A-Z]{4}-\d{4})/);
|
|
111
|
+
fill(getByLabel("Device code"), m[1]);
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
replaces: terminalScreenshot + eyes
|
|
115
|
+
|
|
116
|
+
- bb6b9dc: New: `newContext({profile: '<dir>'})` opens a second browser context on a browser profile of its own, in the same test. Two devices of one app can now run side by side, each keeping its own cookies and storage:
|
|
117
|
+
|
|
118
|
+
```js
|
|
119
|
+
function test_two_devices() {
|
|
120
|
+
let a;
|
|
121
|
+
step("Device A opens the pairing page", () => {
|
|
122
|
+
a = newContext({ profile: ".profiles/device-a" });
|
|
123
|
+
goto("/pair");
|
|
124
|
+
});
|
|
125
|
+
step("Device B opens it too", () => {
|
|
126
|
+
newContext({ profile: ".profiles/device-b" });
|
|
127
|
+
goto("/pair");
|
|
128
|
+
});
|
|
129
|
+
step("Back to A, which kept what it stored", () => {
|
|
130
|
+
setContext(a);
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
A relative directory starts at the project root, like `launch.userDataDir`; it is made if it is missing and is never removed. It works in a run on `launch.userDataDir` and in a run without one. The same directory twice in a run is refused with a message that names it. `newContext()` without options behaves as before.
|
|
136
|
+
|
|
137
|
+
replaces: UNOTEST_NO_QUEUE=1 and two e2e processes
|
|
138
|
+
|
|
139
|
+
### Patch Changes
|
|
140
|
+
|
|
141
|
+
- 8bb4fc4: Fixed: `lint:wait-exceeds-test-budget` now reports in the viewer's editor and in the ESLint plugin as well, not only in `lint`, `e2e` and the MCP tools. The editor takes the budget from the project's config when the viewer starts, so a changed `testTimeoutMs` shows after the viewer is restarted.
|
|
142
|
+
- 5066f51: Fixed: with `UNOTEST_CONSOLE=1` a run's `console.json` now holds the console of every browser context of the test, each line with its `contextIndex`, not only the active one. `box_run_download` and `box run --download` also unpack a passing run's `console.json` and the full texts of its long notes into `.unotest/box/<runId>/`, and the reply names that directory as `capturesDir`.
|
|
143
|
+
- c565c0b: Fixed: `note()` and `log()` no longer lose the part of a long value past 4 KB. The journal still keeps the first 4 KB, and the whole value (secrets masked, up to 1 MB) is now written to a file in the run directory. A cut value in `--notes` output and in a failed step's notes ends with `… (+N chars, full: <path>)`, and the event carries `full` and `fullLength`.
|
|
144
|
+
- c3b172e: Fixed: a terminal step in a VM (`openTerminal(app, {host})`) no longer fails with "no answer from the terminal controller" and then runs later. A step the controller does not answer in time is withdrawn, and the error says what holds it ("busy with `osascript` for 40 s — Terminal in the VM may be held by a dialog or a sheet; close it, or restart the VM"). A program that runs past its step's time is killed in the VM, so it does not hold the next steps, and a controller that died is started again, with the waiting step sent once more.
|
|
145
|
+
- d4e1ef2: Fixed: a local terminal step no longer fails with "Terminal is not in front" when macOS refuses to activate Terminal for a process that is not the current app. After a second the run asks System Events to bring the window to the front, and if neither works in 2 s the error names both attempts and the app that kept the focus. A window frame that macOS refuses because Screen Recording is not allowed now says so, naming the app to allow under System Settings → Privacy & Security → Screen & System Audio Recording, and that the other terminal steps work without it.
|
|
146
|
+
- 5578824: Fixed: a terminal frame no longer carries a secret out of the run. When a value registered in `unotest/.secrets` is on the terminal screen, `terminalScreenshot()` saves the screen text with the secret replaced by `‹secret:NAME›` (a `.txt`, returned as the step's path) instead of the picture, and the viewer shows that text in place of the image. A failed terminal test keeps no `terminal.png` in that case and says why in `terminal-frame-error.txt`. A secret the terminal wrapped onto the next row is found and masked too, in `terminal.txt` as well, and in what `terminalText()` and `terminalWaitForText` hand to the scenario, so a `note()` or `log()` of the screen shows no part of it. Whether a wait or `terminalAssertText` sees the text is still decided on the screen as it is: an assertion that a token is `{not: true}` shown fails while it is, wrapped onto the next row or not. Only registered values are masked: a token that merely looks like one is not known to be secret and stays visible, so register every credential a terminal test may print.
|
|
147
|
+
- f2e349d: Fixed: when a test ends, its terminal windows no longer leave their programs running. The processes on a window's tty and everything they started get HUP, then KILL if they ignore it (a `trap '' HUP`, a program with its own handler), before the window closes; a process nothing stops fails the test's end with its pid and command. `closeTerminal()` does the same. The step's record notes what was stopped, e.g. `closed window 0 on admin@192.168.64.38; stopped 4312 sh -c … (HUP), 4320 unopipe host install (KILL)`.
|
|
148
|
+
|
|
149
|
+
New: `openTerminal(app, {leaveOpen: true})` keeps the window and its processes after the test, to look at them by hand.
|
|
150
|
+
|
|
151
|
+
- b978ddb: Fixed: when `terminalWaitForText` or `terminalAssertText` runs out of time, the error now quotes the end of the screen (the last 10 rows that are not empty) instead of only pointing at the failure bundle, so a prompt the program is stuck at, such as `[Y/n]`, is in the message and in the test output. A value registered from `.secrets` is masked in that excerpt, also when the terminal wrapped it, and in the screen excerpt of a `terminalType` echo failure, which was not masked before.
|
|
152
|
+
- 3c9043e: Fixed: a test that joined a browser over `newContext({cdpEndpoint})` now lets go of it before the VM it runs in is deleted. Before, the browser was closed after the VM was already gone, and a browser that had vanished with its VM kept the test waiting for up to half a minute on every failure. The browser's contexts are closed and the connection dropped first, the terminal window next, the VM last. The DSL reference has a new section, "Three surfaces in one test", with a worked example.
|
|
153
|
+
- f120084: Fixed: a scenario that reads a variable which `.env.example` declares but nothing gives a value now fails with the same message the pre-run lint prints ("declared in … but has no value here: set it in unotest/.env, the active overlay, or the shell"), instead of `ReferenceError: <NAME> is not defined`. A variable declared nowhere now fails with "external variable … not found — add it to unotest/.env" and the files it looked in, instead of the same `ReferenceError`.
|
|
154
|
+
- f191bcc: Fixed: `terminalWaitForText` and `terminalAssertText` no longer outlast the test. A wait that asked for more time than the test had left used to end as a bare "budget exhausted" with no screen and no name of the wait. It now stops 2 s short of the budget and fails with the end of the screen and a line saying how far it was cut and why.
|
|
155
|
+
|
|
156
|
+
New: the lint rule `lint:wait-exceeds-test-budget` (a warning) reports a literal `timeoutMs` in a test that is as long as the test's whole budget, whether the one `setTestTimeout()` sets or the project's.
|
|
157
|
+
|
|
158
|
+
- eda768f: Changed: `assertScreenshot` now warns, once per run, when the browser is WebKit and the page has an element with `backdrop-filter`. Playwright's WebKit does not draw that property, so such a design only matches its baseline in Chromium; the docs say so too.
|
|
159
|
+
- Updated dependencies [c565c0b]
|
|
160
|
+
- Updated dependencies [12db2ae]
|
|
161
|
+
- Updated dependencies [5578824]
|
|
162
|
+
- @unotest/protocol@0.53.0
|
|
163
|
+
- @unotest/core@0.53.0
|
|
164
|
+
- @unotest/viewer@0.53.0
|
|
165
|
+
- @unotest/dsl@0.53.0
|
|
166
|
+
- @unotest/grounder-client@0.53.0
|
|
167
|
+
|
|
168
|
+
## [0.52.1] - 2026-10-18
|
|
169
|
+
|
|
170
|
+
### Patch Changes
|
|
171
|
+
|
|
172
|
+
- e01789b: Fixed: `e2e` with no scenario name, and `--help`, now show `e2e <feature>/<name>`, the path `lint` accepts. They offered `unotest/e2e/<name>.js` first, a file directly in `unotest/e2e/`, which `lint` refuses as `lint:scenario-in-root` and `run_test` will not run.
|
|
173
|
+
- 9e950e1: Fixed: with TypeScript 7 installed, the line `lint` prints when it skips the type check now says `Install a supported one (npm i -D typescript@5)` instead of `Install it`, which read as if TypeScript were missing. The README runs `schedules`, `collection … --scheduled` and `viewer` from `unotest/`, like the other commands, so they use the version the suite pins.
|
|
174
|
+
- cc4074a: Fixed: a class declared inside a test, a flow or a helper (`class Page { … }` in a step) is a local name again. `lint` and `run_test` no longer refuse it as `lint:external-variable-undeclared` ("`Page` is not declared in unotest/.env"), and the name of a class expression (`const Q = class Page { … }`) is not read as an external variable either. A name nothing declares is still reported as before. A class at the top level of a file remains `validator:top-level-statement`.
|
|
175
|
+
- e75a9bd: Fixed: `lint` no longer fails as a whole when the project has TypeScript 7 installed (`Cannot read properties of undefined (reading 'ES2022')`). TypeScript 7 has no compiler API for the type check to use, so `lint` now prints one line, for example `type check skipped — typescript 7.0.2 is installed: 5.x or 6.x is supported, another major skips this layer`, and reports the validator's findings as before. The optional peer dependency is now `typescript >=5.0.0 <7`. The advice to install it names the version, `npm i -D typescript@5`, so following it no longer gets TypeScript 7.
|
|
176
|
+
- @unotest/core@0.52.1
|
|
177
|
+
- @unotest/dsl@0.52.1
|
|
178
|
+
- @unotest/grounder-client@0.52.1
|
|
179
|
+
- @unotest/protocol@0.52.1
|
|
180
|
+
- @unotest/viewer@0.52.1
|
|
181
|
+
|
|
3
182
|
## [0.52.0] - 2026-10-17
|
|
4
183
|
|
|
5
184
|
### Minor Changes
|
|
@@ -47,12 +226,7 @@
|
|
|
47
226
|
- 843b58e: Changed: `@unotest/dsl` exports `pageCodeArgumentOf(call, pageCodeArg)`, the argument in a call's page-code position as written, and `@unotest/dsl/executor` exports the declaration readers the interpreter hoists with (`lexicalDeclarations`, `patternNames`, `hoistedVarNames`). Scenarios run exactly as before.
|
|
48
227
|
- 8655c26: Fixed: time a test spends held on a pause (a breakpoint, a Step, a failure being looked at) no longer counts toward its time budget (`setTestTimeout(ms)`, else `testTimeoutMs` or `UNOTEST_MAX_DURATION_MS`). After a long look at a breakpoint or a Step, Continue goes on with the budget the test had left when it stopped, instead of failing it with `budget exhausted` at the next line. On a failure pause, Continue finishes the test as failed.
|
|
49
228
|
- 423d119: Changed: `keys()`, `values()` and `entries()` of a Map or a Set, and `matchAll`, give iterators, as in JavaScript. `for…of`, a spread and `Array.from` read them; array methods need the spread first: `[...m.keys()].map(…)`. A DSL function given an iterator fails, naming the line and the spread to write; it takes `[...m.keys()]` or the Map itself. The editor typings say the same, and lint warns on an array method called on an iterator. `upload()` keeps its meaning wherever the scenario passes it: as the body of `apiCall` it is sent as multipart, nested in a JSON body it is refused as before.
|
|
50
|
-
- c307b42:
|
|
51
|
-
The cloud sign-in token, the box tokens and the judge's and grounder's
|
|
52
|
-
keys were already refused to `getVar`, `{{NAME}}` and `shell()`; a
|
|
53
|
-
scenario that reached `process.env` directly still saw them. The thread
|
|
54
|
-
a scenario runs on now starts without them, on the CLI and over MCP
|
|
55
|
-
alike. Variables a suite declares, or a CI job exports, read as before.
|
|
229
|
+
- c307b42: Changed: the V8 thread a scenario runs on starts without the runner's own credentials — the cloud sign-in token, the box tokens and the judge's and grounder's keys — on the CLI and over MCP alike. A scenario already could not read them through `getVar`, `{{NAME}}` or `shell()`; this keeps them out of the thread itself. Nothing to check when upgrading from 0.51.0: no scenario there could reach them. Variables a suite declares, or a CI job exports, read as before.
|
|
56
230
|
|
|
57
231
|
The docs now say plainly what this is: a guard against a slip, not a
|
|
58
232
|
sandbox. A scenario runs with the rights of the account that starts it.
|
|
@@ -2290,7 +2464,7 @@ picker on` fetches this project's own access and writes the three grounder
|
|
|
2290
2464
|
|
|
2291
2465
|
That screen named one command:
|
|
2292
2466
|
|
|
2293
|
-
|
|
2467
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT
|
|
2294
2468
|
|
|
2295
2469
|
In a project that has just been created, the command refuses with `no box
|
|
2296
2470
|
address` before it does anything: the project holds neither the box's address
|
|
@@ -2299,8 +2473,8 @@ address` before it does anything: the project holds neither the box's address
|
|
|
2299
2473
|
|
|
2300
2474
|
The screen now names both steps, in the order they have to happen:
|
|
2301
2475
|
|
|
2302
|
-
|
|
2303
|
-
|
|
2476
|
+
npx @unotest/web box access larch
|
|
2477
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT
|
|
2304
2478
|
|
|
2305
2479
|
The box's own name is filled in when its licence carries one. `box access`
|
|
2306
2480
|
with no name refuses, and its refusal offers to create a box — to somebody who
|
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ package; the full reference is at https://docs.unotest.com/reference/dsl/.
|
|
|
31
31
|
- **Page state** — `getAttribute`, `getInnerText`, `getInputValue`, `boundingBox`, `getTitle`, `getUrl`, `log`
|
|
32
32
|
- **Storage and cookies** — `setLocalStorage`, `getLocalStorage`, `setCookie`, `getCookie`
|
|
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`, `waitForWebSocket`, `assertNoRequest`, `openTerminal`, `setTerminal`, `closeTerminal`, `terminalType`, `terminalPress`, `terminalWaitForText`, `terminalAssertText`, `terminalResize`, `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`, `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`
|
|
35
35
|
- **Diagnostics** — `screenshot`, `note`, `consoleEntries`, `pageErrors`, `assertNoConsoleErrors`
|
|
36
36
|
- **Structure** — `step`, `teardown`, `waitUntil`, `assertNever`
|
|
37
37
|
- **Page code (last resort)** — `evaluate`, `evaluateOnLocator`
|
|
@@ -43,6 +43,7 @@ package; the full reference is at https://docs.unotest.com/reference/dsl/.
|
|
|
43
43
|
|
|
44
44
|
```sh
|
|
45
45
|
npx @unotest/web@latest init
|
|
46
|
+
npm install --prefix unotest
|
|
46
47
|
```
|
|
47
48
|
|
|
48
49
|
Run once in your project — any stack (Node, Django, Rails, Go, …), no
|
|
@@ -52,12 +53,19 @@ during the prompt), and wires the MCP config so Claude Code / Cursor / Codex
|
|
|
52
53
|
pick the server up automatically. Re-run anytime to update — it never
|
|
53
54
|
overwrites your edits.
|
|
54
55
|
|
|
56
|
+
`unotest/` is a package of its own, with its own `package.json` that pins
|
|
57
|
+
`@unotest/web`. The second line installs it there, as the first of the
|
|
58
|
+
"Next steps" `init` prints: it does not touch your application's
|
|
59
|
+
dependencies, and it writes the lockfile a box installs from. The commands
|
|
60
|
+
below run from inside `unotest/`, so they run the version the suite pins.
|
|
61
|
+
|
|
55
62
|
It also wires editor typings (`unotest/jsconfig.json` + generated `.d.ts`
|
|
56
63
|
files), so scenarios get autocomplete, hover docs and signature help in
|
|
57
64
|
VS Code / WebStorm instead of red squiggles. On an existing project or a
|
|
58
|
-
fresh checkout, `npx @unotest/web types` writes them; a test
|
|
65
|
+
fresh checkout, `cd unotest && npx @unotest/web types` writes them; a test
|
|
66
|
+
run does not.
|
|
59
67
|
Details: the "Editor setup" section of
|
|
60
|
-
`node_modules/@unotest/web/guides/dsl-reference.md`.
|
|
68
|
+
`unotest/node_modules/@unotest/web/guides/dsl-reference.md`.
|
|
61
69
|
|
|
62
70
|
Testing a browser extension? `launch` in `unotest.config` starts the browser
|
|
63
71
|
with a profile (`userDataDir`) and extra arguments (`args`, e.g.
|
|
@@ -70,7 +78,7 @@ empty profile: a suite of N files runs on N profiles.
|
|
|
70
78
|
## 2. Open the viewer
|
|
71
79
|
|
|
72
80
|
```sh
|
|
73
|
-
npx @unotest/web viewer
|
|
81
|
+
cd unotest && npx @unotest/web viewer
|
|
74
82
|
```
|
|
75
83
|
|
|
76
84
|
A local IDE-style UI for your tests — no cloud, no account. This is your
|
|
@@ -87,20 +95,20 @@ describe the flow in plain English:
|
|
|
87
95
|
|
|
88
96
|
Through the MCP server the agent explores your live app — clicking,
|
|
89
97
|
filling, reading the real DOM via semantic snapshots — then writes a clean
|
|
90
|
-
scenario to `unotest/e2e/<name>.js` with stable selectors (`getByTestId` →
|
|
98
|
+
scenario to `unotest/e2e/<feature>/<name>.js` with stable selectors (`getByTestId` →
|
|
91
99
|
`getByRole` → … — never brittle CSS), runs it, and debugs itself if it
|
|
92
100
|
fails. You get a reviewable `.js` test: read it, tweak it, commit it.
|
|
93
101
|
|
|
94
102
|
> For best results, point the agent at its authoring guide, shipped with
|
|
95
|
-
> the package at `node_modules/@unotest/web/guides/agent-integration.md`.
|
|
103
|
+
> the package at `unotest/node_modules/@unotest/web/guides/agent-integration.md`.
|
|
96
104
|
|
|
97
105
|
## 4. Run a test
|
|
98
106
|
|
|
99
107
|
Click any scenario in the viewer, or run from the CLI:
|
|
100
108
|
|
|
101
109
|
```sh
|
|
102
|
-
npx @unotest/web e2e <name>
|
|
103
|
-
npx @unotest/web e2e
|
|
110
|
+
cd unotest && npx @unotest/web e2e <feature>/<name> # one scenario
|
|
111
|
+
cd unotest && npx @unotest/web e2e # list / usage
|
|
104
112
|
```
|
|
105
113
|
|
|
106
114
|
Runs of one project take turns. A second run — from another terminal, the
|
|
@@ -144,16 +152,16 @@ export default {
|
|
|
144
152
|
};
|
|
145
153
|
```
|
|
146
154
|
|
|
147
|
-
`npx @unotest/web schedules` prints the merged list, with a `next …`
|
|
155
|
+
`cd unotest && npx @unotest/web schedules` prints the merged list, with a `next …`
|
|
148
156
|
preview per entry (your machine's clock) so a wrong cron is visible
|
|
149
157
|
before you push it. A hand-written expression outside the previewable
|
|
150
158
|
subset is marked `not previewable — an executor may drop it`;
|
|
151
|
-
`npx @unotest/web schedules --check` turns that mark into a non-zero
|
|
159
|
+
`cd unotest && npx @unotest/web schedules --check` turns that mark into a non-zero
|
|
152
160
|
exit for a pre-push hook or a CI gate. Nothing in the CLI ticks: cron is
|
|
153
161
|
executed by whatever hosts your runs — your CI, or a box — so a clone of
|
|
154
162
|
your repo never starts running suites in the background. Run one now with
|
|
155
|
-
`npx @unotest/web collection nightly --scheduled`, or
|
|
156
|
-
`npx @unotest/web e2e checkout/happy-path --scheduled` for a per-test
|
|
163
|
+
`cd unotest && npx @unotest/web collection nightly --scheduled`, or
|
|
164
|
+
`cd unotest && npx @unotest/web e2e checkout/happy-path --scheduled` for a per-test
|
|
157
165
|
entry (both also run the entry's `prepare` command, inside the same run
|
|
158
166
|
slot).
|
|
159
167
|
|
|
@@ -214,8 +222,10 @@ one.
|
|
|
214
222
|
|
|
215
223
|
An agent does the same through the MCP server's `cloud_*` tools — listing,
|
|
216
224
|
renting, deleting, logs, the balance — with the same key and the same rules:
|
|
217
|
-
a rent
|
|
218
|
-
|
|
225
|
+
a rent comes back as a request to wait on, and `cloud_approval_wait`
|
|
226
|
+
waits for the person's answer. A delete is done at once by the key that
|
|
227
|
+
created the box (the account's owner gets an email naming it); any other
|
|
228
|
+
key — a new login is a new key — waits for a person too.
|
|
219
229
|
|
|
220
230
|
A key carries **permissions**. `login` asks for enough to see the
|
|
221
231
|
account's boxes and work with them, never its money, and the approval
|
|
@@ -436,7 +446,8 @@ you have just ordered may take a moment to appear.
|
|
|
436
446
|
|
|
437
447
|
## 5. Watch it run — the viewer
|
|
438
448
|
|
|
439
|
-
`npx @unotest/web viewer` opens a local UI (no cloud, no
|
|
449
|
+
`cd unotest && npx @unotest/web viewer` opens a local UI (no cloud, no
|
|
450
|
+
account):
|
|
440
451
|
|
|
441
452
|
- **Scenario tree** — scenarios, collections, helpers, and run history.
|
|
442
453
|
- **Run from the UI** — results stream live over WebSocket as steps execute.
|
|
@@ -478,7 +489,7 @@ the way you already expect:
|
|
|
478
489
|
- **Setup** — `dbQuery`, `dbExec`, `apiCall`, `shell`, `evaluate`
|
|
479
490
|
|
|
480
491
|
Full reference, shipped with the package:
|
|
481
|
-
`node_modules/@unotest/web/guides/dsl-reference.md` (plus operational guides
|
|
492
|
+
`unotest/node_modules/@unotest/web/guides/dsl-reference.md` (plus operational guides
|
|
482
493
|
alongside it in `guides/`).
|
|
483
494
|
|
|
484
495
|
---
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -125,19 +125,19 @@ 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:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "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: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", "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>;
|
|
132
132
|
declare const LinterConfigSchema: z.ZodObject<{
|
|
133
133
|
enabled: z.ZodBoolean;
|
|
134
|
-
rules: 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:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "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"]>>;
|
|
134
|
+
rules: 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", "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"]>>;
|
|
135
135
|
}, "strict", z.ZodTypeAny, {
|
|
136
136
|
enabled: boolean;
|
|
137
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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: 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" | "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
|
}, {
|
|
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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: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" | "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
|
type LinterConfig = z.infer<typeof LinterConfigSchema>;
|
|
143
143
|
declare const QueueConfigSchema: z.ZodObject<{
|
|
@@ -639,13 +639,13 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
639
639
|
}>;
|
|
640
640
|
linter: z.ZodObject<{
|
|
641
641
|
enabled: z.ZodBoolean;
|
|
642
|
-
rules: 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:filter-unknown-option", "lint:role-unknown-option", "lint:typed-step-available", "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"]>>;
|
|
642
|
+
rules: 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", "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"]>>;
|
|
643
643
|
}, "strict", z.ZodTypeAny, {
|
|
644
644
|
enabled: boolean;
|
|
645
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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">>;
|
|
645
|
+
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" | "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">>;
|
|
646
646
|
}, {
|
|
647
647
|
enabled: boolean;
|
|
648
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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: 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" | "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
|
}>;
|
|
650
650
|
mcp: z.ZodObject<{
|
|
651
651
|
transport: z.ZodLiteral<"stdio">;
|
|
@@ -774,7 +774,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
774
774
|
defaultNavigationTimeoutMs: number;
|
|
775
775
|
linter: {
|
|
776
776
|
enabled: boolean;
|
|
777
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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">>;
|
|
777
|
+
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" | "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">>;
|
|
778
778
|
};
|
|
779
779
|
mcp: {
|
|
780
780
|
transport: "stdio";
|
|
@@ -856,7 +856,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
856
856
|
defaultNavigationTimeoutMs: number;
|
|
857
857
|
linter: {
|
|
858
858
|
enabled: boolean;
|
|
859
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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">>;
|
|
859
|
+
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" | "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">>;
|
|
860
860
|
};
|
|
861
861
|
mcp: {
|
|
862
862
|
transport: "stdio";
|
|
@@ -943,7 +943,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
943
943
|
defaultNavigationTimeoutMs: number;
|
|
944
944
|
linter: {
|
|
945
945
|
enabled: boolean;
|
|
946
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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">>;
|
|
946
|
+
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" | "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">>;
|
|
947
947
|
};
|
|
948
948
|
mcp: {
|
|
949
949
|
transport: "stdio";
|
|
@@ -1025,7 +1025,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1025
1025
|
defaultNavigationTimeoutMs: number;
|
|
1026
1026
|
linter: {
|
|
1027
1027
|
enabled: boolean;
|
|
1028
|
-
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:filter-unknown-option" | "lint:role-unknown-option" | "lint:typed-step-available" | "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">>;
|
|
1028
|
+
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" | "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">>;
|
|
1029
1029
|
};
|
|
1030
1030
|
mcp: {
|
|
1031
1031
|
transport: "stdio";
|