@unotest/web 0.53.0 → 0.54.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 +40 -4
- package/README.md +23 -10
- package/dist/config/schema.d.ts +6 -3
- package/dist/config/schema.js +1 -1
- package/dist/driver/index.js +1 -1
- package/dist/dsl/index.js +1 -1
- package/dist/dsl/v8/scenario-worker.js +1 -1
- package/dist/dsl/web-dsl-language-service.js +1 -1
- package/dist/inspection/page-inject.d.ts +8 -3
- package/dist/inspection/page-inject.js +3 -2
- package/dist/mcp/server.js +1 -1
- package/dist/runner/cli.js +1 -1
- package/dist/runner/init/chrome-probe.js +1 -1
- package/dist/runner/init.d.ts +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/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.54.0] - 2026-10-24
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5ffa98d: New: `box create --env <name>` sends only the environments named; repeat it for several, e.g. `npx @unotest/web box create --env staging --env prod`. replaces: deleting a `unotest/.env.<name>` overlay before renting so it would not be sent.
|
|
8
|
+
|
|
9
|
+
Changed: a box runs only your tests and reaches your app at a public address, and the CLI now says so before anything is rented. `box create` leaves out an environment whose `APP_BASE_URL` is `localhost`, a loopback or private-network address (`127.x`, `10.x`, `172.16-31.x`, `192.168.x`, `100.64.x`), a link-local address or a name only a local network resolves (`*.local`, `*.localhost`, a name without a dot such as a compose service), and prints a note naming the environment and the reason. When no environment is left, it refuses with exit 2 and nothing is created or charged. A named `--env` that cannot be served is refused the same way rather than dropped. `env push` sends the values of such an environment but not its target, with the same note.
|
|
10
|
+
|
|
11
|
+
BREAKING: `env set <env> APP_BASE_URL <url>` and the MCP tool `cloud_box_create` now refuse a target of that kind instead of storing it. `cloud_box_create` answers `{state: 'unreachable-target'}` with each environment and reason, before the cloud is asked for anything.
|
|
12
|
+
|
|
13
|
+
Migration: give the environment a public address (a staging deploy, a tunnel with a public hostname) and set that as its `APP_BASE_URL`, or leave the environment out of `envs` and `--env`.
|
|
14
|
+
|
|
15
|
+
- 70a77a9: New: `npx @unotest/web init --ci github` writes `.github/workflows/unotest.yml` at the root of your git repository. Its steps run in `unotest/`: on every push it runs `npm ci`, so the version pinned in `unotest/package.json` is used, and then `npx @unotest/web bundle push --run --collection examples --json`, with the box address and push token read from the repository secrets `UNOTEST_BOX_URL` and `UNOTEST_BOX_TOKEN`. In a monorepo the steps run in the project's `unotest/`. Outside a git repository no workflow is written. A re-run leaves the file as it is; `--force` takes the template again and keeps yours as `.bak`. replaces: copying the minimal CI job from the docs and adapting it by hand.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 88807f9: Fixed: the first `bundle push` after `box create` no longer warns that the repository "maps to no project on this box". `box create` (and the `cloud_box_create` MCP tool) now maps the project's git `origin`, without credentials, to the box's project; with no git or no origin the create is unchanged. The warning itself no longer sends a box's owner to an operator.
|
|
20
|
+
- 8eeaa67: Fixed: `lint` no longer reports `lint:external-variable-undeclared` for the own name of a class or function expression used inside it (`const Q = class R { m() { return R } }`, `const f = function G(n) { return n ? G(n - 1) : 0 }`). The same name outside the expression is still checked.
|
|
21
|
+
- f6f0c70: Fixed: the line `lint` prints when it skips the type check now says where `typescript` is looked for — next to `@unotest/web`, in the suite — and how to install it there: `cd unotest && npm i -D typescript@5`. A box installs the suite alone, so that is where `typescript` belongs. `init` also lists `unotest/unotest.config.mjs` under "Files:" with the rest of what it writes; the config's outcome is still the line printed after the browser question.
|
|
22
|
+
- ecf2f35: Fixed: `npx @unotest/web api <word>` and the MCP tool `dsl_lookup` find a word only where a word begins. `api lint` no longer prints `scrollIntoView` ("scrol**lint**oView"), and "sort table rows" no longer suggests `dragAndDrop`. A task without a negation no longer finds a check by the words it negates: "wait until the success toast appears" gives `assertVisible`, `waitFor`, `waitUntil`, not `assertNeverAppears`; "an error toast never shows" still finds it. `dsl_lookup` now returns up to four functions instead of three, and every reply carries `commands`: where the CLI commands are listed, since a task such as "a typo in a variable name" is what `lint` reports. `api` says the same when no function matches.
|
|
23
|
+
- eec637d: Fixed: a run of a whole file plays its `test_*` functions only. A `flow_*` function next to them is no longer played as a run of its own with no arguments, which failed it and added a failure the file did not have. A file with no tests still plays its flows. `--test <name>` picks a test as before.
|
|
24
|
+
- e32b2ba: Fixed: `init --force` (including `init --ci github --force`) no longer rewrites `unotest/package.json` from the template, which dropped every dev dependency except `@unotest/web` so the next `npm install` removed them. The existing file is now only completed with what the template has and the file lacks; your dependencies and your `@unotest/web` pin stay, and nothing changes when nothing is missing. A file that is not valid JSON is refused with its reason instead of being replaced.
|
|
25
|
+
- c31d64c: Fixed: `init` run from inside the suite (`cd unotest && npx @unotest/web init --ci github`) no longer creates a second suite in `unotest/unotest/` with a workflow pointing at it. Like every other command, it now works on the project the suite belongs to; in a directory with no suite above it, `init` sets the project up in place, as before. An explicit `[target]` is unchanged.
|
|
26
|
+
- 158e5b5: Fixed: the MCP server now sees a `login` made after it started. Signing in, signing out or switching accounts in another terminal takes effect on the next cloud tool call, without restarting the agent session. Until then the tools answer `not-logged-in` with the login command.
|
|
27
|
+
- b2fb2d0: Fixed: a `linter.rules` entry for `validator:implicit-declaration` or `validator:unsupported-statement` no longer loses its level. `lint` now says which rule replaced it (`validator:implicit-global`, `validator:top-level-statement`) and asks to rename the entry. Until then the old entry's level applies to the new rule, unless the config sets the new rule too. A removed rule with no successor still gets the old "reports nothing" warning.
|
|
28
|
+
- c7c51dc: Fixed: the hint `schedules` prints for running a test entry now reads `npx @unotest/web e2e <feature>/<name> --scheduled`. The old `e2e <name>` pointed at a file in the root of `unotest/e2e/`, which lint rejects.
|
|
29
|
+
- 83b2473: Fixed: a `teardown(…)` or `step(…)` written without its label or its function, such as `teardown(() => { … })`, stops the test at that line with `teardown is written teardown("label", () => { … })`, as it did before 0.52.0. It used to show the function's internal code as the step's name and fail later with `… is not a function`.
|
|
30
|
+
- b0a7fe2: Fixed: with `displayMode` set, WebKit pages see `navigator.standalone` on Linux too, as the reference says — `true` for `standalone`, `false` for the other modes. Before, it was set only where the engine already had the property, which Playwright's WebKit has on macOS and not on Linux, so runs on a box got no `navigator.standalone`. Chromium still has none; without `displayMode` the browser's own is left as is.
|
|
31
|
+
- Updated dependencies [eec637d]
|
|
32
|
+
- Updated dependencies [83b2473]
|
|
33
|
+
- @unotest/protocol@0.54.0
|
|
34
|
+
- @unotest/dsl@0.54.0
|
|
35
|
+
- @unotest/viewer@0.54.0
|
|
36
|
+
- @unotest/core@0.54.0
|
|
37
|
+
- @unotest/grounder-client@0.54.0
|
|
38
|
+
|
|
3
39
|
## [0.53.0] - 2026-10-23
|
|
4
40
|
|
|
5
41
|
### Minor Changes
|
|
@@ -171,7 +207,7 @@
|
|
|
171
207
|
|
|
172
208
|
- 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
209
|
- 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
|
|
210
|
+
- 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
211
|
- 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
212
|
- @unotest/core@0.52.1
|
|
177
213
|
- @unotest/dsl@0.52.1
|
|
@@ -2464,7 +2500,7 @@ picker on` fetches this project's own access and writes the three grounder
|
|
|
2464
2500
|
|
|
2465
2501
|
That screen named one command:
|
|
2466
2502
|
|
|
2467
|
-
|
|
2503
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT
|
|
2468
2504
|
|
|
2469
2505
|
In a project that has just been created, the command refuses with `no box
|
|
2470
2506
|
address` before it does anything: the project holds neither the box's address
|
|
@@ -2473,8 +2509,8 @@ address` before it does anything: the project holds neither the box's address
|
|
|
2473
2509
|
|
|
2474
2510
|
The screen now names both steps, in the order they have to happen:
|
|
2475
2511
|
|
|
2476
|
-
|
|
2477
|
-
|
|
2512
|
+
npx @unotest/web box access larch
|
|
2513
|
+
npx @unotest/web bundle push --run --env ENVIRONMENT
|
|
2478
2514
|
|
|
2479
2515
|
The box's own name is filled in when its licence carries one. `box access`
|
|
2480
2516
|
with no name refuses, and its refusal offers to create a box — to somebody who
|
package/README.md
CHANGED
|
@@ -48,8 +48,9 @@ npm install --prefix unotest
|
|
|
48
48
|
|
|
49
49
|
Run once in your project — any stack (Node, Django, Rails, Go, …), no
|
|
50
50
|
`package.json` required. `init` writes the config and a starter scenario,
|
|
51
|
-
sets up the browser (bundled Chromium
|
|
52
|
-
|
|
51
|
+
sets up the browser (it asks: bundled Chromium or your system Chrome;
|
|
52
|
+
without a terminal to ask in, as in CI, it takes the system Chrome when it
|
|
53
|
+
finds one), and wires the MCP config so Claude Code / Cursor / Codex
|
|
53
54
|
pick the server up automatically. Re-run anytime to update — it never
|
|
54
55
|
overwrites your edits.
|
|
55
56
|
|
|
@@ -82,8 +83,8 @@ cd unotest && npx @unotest/web viewer
|
|
|
82
83
|
```
|
|
83
84
|
|
|
84
85
|
A local IDE-style UI for your tests — no cloud, no account. This is your
|
|
85
|
-
home base: browse scenarios, run them, and watch each step live.
|
|
86
|
-
in §5.)
|
|
86
|
+
home base: browse scenarios, run them, and watch each step live. It runs
|
|
87
|
+
until you press Ctrl-C in that terminal. (Details in §5.)
|
|
87
88
|
|
|
88
89
|
## 3. Create a test — just ask your agent
|
|
89
90
|
|
|
@@ -181,7 +182,7 @@ Three commands, no token to copy:
|
|
|
181
182
|
|
|
182
183
|
```sh
|
|
183
184
|
npx @unotest/web login # a link and a code; approve in the browser
|
|
184
|
-
npx @unotest/web box create # rents a box named after the project, size S
|
|
185
|
+
cd unotest && npx @unotest/web box create # rents a box named after the project, size S
|
|
185
186
|
```
|
|
186
187
|
|
|
187
188
|
`login` signs this machine in to unotest cloud — the account that rents
|
|
@@ -198,6 +199,13 @@ one of them, and `box logs` the end of a box's own log without logging in to
|
|
|
198
199
|
it; `box destroy` does what it says, and `whoami` and `logout` complete the
|
|
199
200
|
set. In CI, export `UNOTEST_CLOUD_TOKEN` instead of signing in.
|
|
200
201
|
|
|
202
|
+
A box runs only your tests: it does not start your app, which must be
|
|
203
|
+
reachable at a public address. An environment whose `APP_BASE_URL` is
|
|
204
|
+
`localhost`, a private network (`10.x`, `192.168.x`, …) or a local-only
|
|
205
|
+
name (`*.local`, a compose service) stays behind with a note, and
|
|
206
|
+
`box create` rents nothing when no environment is left.
|
|
207
|
+
`--env <name>` (repeatable) sends only the environments named.
|
|
208
|
+
|
|
201
209
|
On a box the suite's files are read-only and a run may write in two places
|
|
202
210
|
only. Which ones, the variables a run is given and where a `shell()` step
|
|
203
211
|
starts are on one page:
|
|
@@ -308,7 +316,7 @@ If your team runs a box (a machine that keeps the environments, the
|
|
|
308
316
|
schedules and the history in one place), tests get there by being pushed:
|
|
309
317
|
|
|
310
318
|
```sh
|
|
311
|
-
npx @unotest/web bundle push --box https://tests.example.com
|
|
319
|
+
cd unotest && npx @unotest/web bundle push --box https://tests.example.com
|
|
312
320
|
```
|
|
313
321
|
|
|
314
322
|
It packs `unotest/` — the suite package, with its config, its
|
|
@@ -338,7 +346,7 @@ pushing an unchanged suite is a no-op.
|
|
|
338
346
|
From a CI job, push and run in one command:
|
|
339
347
|
|
|
340
348
|
```sh
|
|
341
|
-
npx @unotest/web bundle push --run --env test --collection smoke --pr 412
|
|
349
|
+
cd unotest && npx @unotest/web bundle push --run --env test --collection smoke --pr 412
|
|
342
350
|
```
|
|
343
351
|
|
|
344
352
|
The box answers as soon as the runs are queued and gives you their ids —
|
|
@@ -353,6 +361,7 @@ settings, its secrets — are sent separately, from the same files a local
|
|
|
353
361
|
run reads:
|
|
354
362
|
|
|
355
363
|
```sh
|
|
364
|
+
cd unotest
|
|
356
365
|
npx @unotest/web env push dev # .env + .env.dev + .secrets + .secrets.dev
|
|
357
366
|
npx @unotest/web env set dev REGION eu-west
|
|
358
367
|
printf '%s' "$KEY" | npx @unotest/web env set dev API_KEY --secret
|
|
@@ -383,6 +392,7 @@ environment's public URL, and `assertJudge` runs its judge in-process there
|
|
|
383
392
|
same terminal — no browser, no shell on the box:
|
|
384
393
|
|
|
385
394
|
```sh
|
|
395
|
+
cd unotest
|
|
386
396
|
npx @unotest/web box runs --env acme/test --latest
|
|
387
397
|
npx @unotest/web box run checkout-mqf3pwr1 --env acme/test
|
|
388
398
|
```
|
|
@@ -392,7 +402,7 @@ verdicts. A run whose test skipped itself reads `skipped`, with the reason,
|
|
|
392
402
|
and exits 0 like a local skip. When you want the artifacts too:
|
|
393
403
|
|
|
394
404
|
```sh
|
|
395
|
-
npx @unotest/web box run checkout-mqf3pwr1 --env acme/test --download
|
|
405
|
+
cd unotest && npx @unotest/web box run checkout-mqf3pwr1 --env acme/test --download
|
|
396
406
|
```
|
|
397
407
|
|
|
398
408
|
That saves the run's `*.unotest.zip` under `.unotest/box/` and unpacks its
|
|
@@ -447,7 +457,7 @@ you have just ordered may take a moment to appear.
|
|
|
447
457
|
## 5. Watch it run — the viewer
|
|
448
458
|
|
|
449
459
|
`cd unotest && npx @unotest/web viewer` opens a local UI (no cloud, no
|
|
450
|
-
account):
|
|
460
|
+
account); Ctrl-C in its terminal stops it:
|
|
451
461
|
|
|
452
462
|
- **Scenario tree** — scenarios, collections, helpers, and run history.
|
|
453
463
|
- **Run from the UI** — results stream live over WebSocket as steps execute.
|
|
@@ -468,7 +478,7 @@ reads back to repair a step when a selector drifts:
|
|
|
468
478
|
```js
|
|
469
479
|
function test_login() {
|
|
470
480
|
step("Log in as the demo user", () => {
|
|
471
|
-
goto('
|
|
481
|
+
goto('/login');
|
|
472
482
|
fill(getByLabel('Email'), 'demo@example.com');
|
|
473
483
|
click(getByRole('button', { name: 'Continue' }));
|
|
474
484
|
});
|
|
@@ -479,6 +489,9 @@ function test_login() {
|
|
|
479
489
|
}
|
|
480
490
|
```
|
|
481
491
|
|
|
492
|
+
`goto('/login')` opens that path of `APP_BASE_URL` from `unotest/.env`, the
|
|
493
|
+
address of your app.
|
|
494
|
+
|
|
482
495
|
The DSL uses the familiar modern browser-automation vocabulary, so it reads
|
|
483
496
|
the way you already expect:
|
|
484
497
|
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -129,9 +129,12 @@ declare const LinterRuleIdSchema: z.ZodEnum<["lint:deep-css", "lint:xpath", "lin
|
|
|
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
|
+
/** Removed ids whose check lives on under a new id. A removed id missing
|
|
133
|
+
* here has no successor: its entry just does nothing. */
|
|
134
|
+
declare const REMOVED_RULE_SUCCESSORS: ReadonlyMap<string, LinterRuleId>;
|
|
132
135
|
declare const LinterConfigSchema: z.ZodObject<{
|
|
133
136
|
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: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"]
|
|
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", "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" | "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" | "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">>>;
|
|
135
138
|
}, "strict", z.ZodTypeAny, {
|
|
136
139
|
enabled: boolean;
|
|
137
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">>;
|
|
@@ -639,7 +642,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
639
642
|
}>;
|
|
640
643
|
linter: z.ZodObject<{
|
|
641
644
|
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: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"]
|
|
645
|
+
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", "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" | "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" | "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">>>;
|
|
643
646
|
}, "strict", z.ZodTypeAny, {
|
|
644
647
|
enabled: boolean;
|
|
645
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">>;
|
|
@@ -1087,4 +1090,4 @@ type UnotestConfig = z.infer<typeof UnotestConfigSchema>;
|
|
|
1087
1090
|
type UnotestConfigInput = z.input<typeof UnotestConfigSchema>;
|
|
1088
1091
|
declare const DEFAULT_CONFIG: UnotestConfig;
|
|
1089
1092
|
|
|
1090
|
-
export { BROWSER_CHANNEL_WORDS, type Browser, type BrowserChannel, BrowserChannelSchema, BrowserSchema, DEFAULT_CONFIG, type DialogPolicy, DialogPolicySchema, type DisplayMode, DisplayModeSchema, type EnvConfig, EnvConfigSchema, type FailureBundleConfig, FailureBundleConfigSchema, type LinterConfig, LinterConfigSchema, type LinterRuleId, LinterRuleIdSchema, type LinterSeverity, LinterSeveritySchema, type McpConfig, McpConfigSchema, type QueueConfig, QueueConfigSchema, REMOVED_VALIDATOR_RULE_IDS, type RetryConfig, RetryConfigSchema, type RetryReason, RetryReasonSchema, SYSTEM_BROWSER_CHANNELS, type SandboxConfig, SandboxConfigSchema, type ScheduleConfig, ScheduleSchema, type UnotestConfig, type UnotestConfigInput, UnotestConfigSchema, type Viewport, ViewportSchema, type WebServerConfig, WebServerConfigSchema, WebServersConfigSchema, viewportDeviceConflict };
|
|
1093
|
+
export { BROWSER_CHANNEL_WORDS, type Browser, type BrowserChannel, BrowserChannelSchema, BrowserSchema, DEFAULT_CONFIG, type DialogPolicy, DialogPolicySchema, type DisplayMode, DisplayModeSchema, type EnvConfig, EnvConfigSchema, type FailureBundleConfig, FailureBundleConfigSchema, type LinterConfig, LinterConfigSchema, type LinterRuleId, LinterRuleIdSchema, type LinterSeverity, LinterSeveritySchema, type McpConfig, McpConfigSchema, type QueueConfig, QueueConfigSchema, REMOVED_RULE_SUCCESSORS, REMOVED_VALIDATOR_RULE_IDS, type RetryConfig, RetryConfigSchema, type RetryReason, RetryReasonSchema, SYSTEM_BROWSER_CHANNELS, type SandboxConfig, SandboxConfigSchema, type ScheduleConfig, ScheduleSchema, type UnotestConfig, type UnotestConfigInput, UnotestConfigSchema, type Viewport, ViewportSchema, type WebServerConfig, WebServerConfigSchema, WebServersConfigSchema, viewportDeviceConflict };
|
package/dist/config/schema.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x163ea0=_0x2744;(function(_0x31a826,_0x564aee){var _0x5308df={_0x1e71f7:0x105,_0x39999b:0x12e,_0x2e18c9:0xb0},_0x404314=_0x2744,_0x143204=_0x31a826();while(!![]){try{var _0x811506=parseInt(_0x404314(0x12a))/0x1+-parseInt(_0x404314(0x10b))/0x2+-parseInt(_0x404314(0xd0))/0x3*(-parseInt(_0x404314(_0x5308df._0x1e71f7))/0x4)+-parseInt(_0x404314(0xcb))/0x5+-parseInt(_0x404314(_0x5308df._0x39999b))/0x6*(-parseInt(_0x404314(_0x5308df._0x2e18c9))/0x7)+-parseInt(_0x404314(0xad))/0x8+parseInt(_0x404314(0xf7))/0x9;if(_0x811506===_0x564aee)break;else _0x143204['push'](_0x143204['shift']());}catch(_0x1d1d62){_0x143204['push'](_0x143204['shift']());}}}(_0x2a32,0xe6e59));var __defProp=Object['defineProperty'],__name=(_0x27c182,_0x5af6fb)=>__defProp(_0x27c182,'name',{'value':_0x5af6fb,'configurable':!![]});function _0x2744(_0x18f6c7,_0x434143){_0x18f6c7=_0x18f6c7-0xa0;var _0x2a3284=_0x2a32();var _0x274471=_0x2a3284[_0x18f6c7];if(_0x2744['EEJwYW']===undefined){var _0xaa9036=function(_0x3db30e){var _0x8affed='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x3e4354='',_0x555ce3='';for(var _0x27c182=0x0,_0x5af6fb,_0x3ccddf,_0x1b58b5=0x0;_0x3ccddf=_0x3db30e['charAt'](_0x1b58b5++);~_0x3ccddf&&(_0x5af6fb=_0x27c182%0x4?_0x5af6fb*0x40+_0x3ccddf:_0x3ccddf,_0x27c182++%0x4)?_0x3e4354+=String['fromCharCode'](0xff&_0x5af6fb>>(-0x2*_0x27c182&0x6)):0x0){_0x3ccddf=_0x8affed['indexOf'](_0x3ccddf);}for(var _0x4bbfe4=0x0,_0x11bc4f=_0x3e4354['length'];_0x4bbfe4<_0x11bc4f;_0x4bbfe4++){_0x555ce3+='%'+('00'+_0x3e4354['charCodeAt'](_0x4bbfe4)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x555ce3);};_0x2744['koqflg']=_0xaa9036,_0x2744['hDuBsp']={},_0x2744['EEJwYW']=!![];}var _0x397513=_0x2a3284[0x0],_0x7b5d5f=_0x18f6c7+_0x397513,_0x3f28c5=_0x2744['hDuBsp'][_0x7b5d5f];return!_0x3f28c5?(_0x274471=_0x2744['koqflg'](_0x274471),_0x2744['hDuBsp'][_0x7b5d5f]=_0x274471):_0x274471=_0x3f28c5,_0x274471;}import{z as _0x3e4354}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0x3ccddf,_0x1b58b5){var _0x490c6a={_0x205615:0xb4},_0x22f677=_0x2744;let _0x4bbfe4;for(const _0x11bc4f of _0x1b58b5){const _0x296ff1=levenshteinDistance(_0x3ccddf[_0x22f677(_0x490c6a._0x205615)](),_0x11bc4f[_0x22f677(0xb4)]());if(_0x296ff1>MAX_EDITS)continue;if(_0x4bbfe4===void 0x0||_0x296ff1<_0x4bbfe4[_0x22f677(0xe5)])_0x4bbfe4={'key':_0x11bc4f,'distance':_0x296ff1};}return _0x4bbfe4?.['key'];}__name(closestKey,_0x163ea0(0xcd));function unknownKeyMessage(_0x2adc02,_0x2d3375){var _0x288fb9={_0x22e601:0xbf},_0x2c8637={_0x297e3e:0xff,_0x50d01f:0xb8},_0x2b7481=_0x163ea0;return _0x2adc02[_0x2b7481(0xdc)](_0x53416b=>{var _0xc9739b=_0x2b7481;const _0x3d4cd5=closestKey(_0x53416b,_0x2d3375);return _0x3d4cd5===void 0x0?_0xc9739b(_0x2c8637._0x297e3e)+_0x53416b+'\x22\x20—\x20not\x20a\x20config\x20key;\x20check\x20your\x20@unotest/web\x20version\x20if\x20it\x20comes\x20from\x20a\x20newer\x20release':_0xc9739b(_0x2c8637._0x297e3e)+_0x53416b+_0xc9739b(_0x2c8637._0x50d01f)+_0x3d4cd5+'\x22?';})[_0x2b7481(_0x288fb9._0x22e601)](';\x20');}__name(unknownKeyMessage,_0x163ea0(0xd6));function strictObject(_0x86542e){var _0x355807={_0xc28e8a:0xbe,_0x2b8bdc:0xc1},_0x41afad=_0x163ea0;const _0x3adf1d=Object[_0x41afad(_0x355807._0xc28e8a)](_0x86542e);return z[_0x41afad(0xaa)](_0x86542e,{'errorMap':__name((_0x533266,_0x23d08f)=>_0x533266[_0x41afad(0x114)]===z['ZodIssueCode'][_0x41afad(0x11a)]?{'message':unknownKeyMessage(_0x533266[_0x41afad(0xbe)],_0x3adf1d)}:{'message':_0x23d08f['defaultError']},_0x41afad(_0x355807._0x2b8bdc))})[_0x41afad(0xf9)]();}__name(strictObject,_0x163ea0(0x116));import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x555ce3}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x555ce3['object']({'userDataDir':_0x555ce3[_0x163ea0(0x12d)]()[_0x163ea0(0x113)](0x1)[_0x163ea0(0x128)](),'profile':_0x555ce3[_0x163ea0(0x117)](_0x163ea0(0xea))[_0x163ea0(0x128)](),'args':_0x555ce3[_0x163ea0(0x104)](_0x555ce3['string']()[_0x163ea0(0x113)](0x1))[_0x163ea0(0x128)]()})[_0x163ea0(0xf9)](),PROFILES={'ios':{'browsers':['webkit'],'device':'iPhone\x2015','displayMode':_0x163ea0(0x103)}},PROFILE_NAMES=Object['keys'](PROFILES);function profileConflict(_0x9fda9c,_0x3fa521){var _0x59f7e2={_0x43ef2a:0xb5},_0x452d6a=_0x163ea0;return'profile\x20\x22'+_0x9fda9c+_0x452d6a(0x131)+_0x3fa521['map'](_0x4a4fc3=>'`'+_0x4a4fc3+'`')[_0x452d6a(0xbf)]('\x20and\x20')+'\x20itself\x20—\x20drop\x20'+(_0x3fa521[_0x452d6a(0xa7)]===0x1?'it':_0x452d6a(0xf3))+_0x452d6a(_0x59f7e2._0x43ef2a);}__name(profileConflict,_0x163ea0(0x115));var BrowserSchema=_0x3e4354['enum']([_0x163ea0(0xaf),_0x163ea0(0xfd),'webkit']),SYSTEM_BROWSER_CHANNELS=['chrome',_0x163ea0(0x106),_0x163ea0(0xa6),'chromium'],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x3e4354[_0x163ea0(0x133)]([_0x3e4354[_0x163ea0(0xfc)](SYSTEM_BROWSER_CHANNELS),_0x3e4354[_0x163ea0(0x117)](BUNDLED_BROWSER_CHANNEL)['transform'](()=>null),_0x3e4354['null']()])[_0x163ea0(0x128)](),DisplayModeSchema=_0x3e4354[_0x163ea0(0xfc)]([_0x163ea0(0xe7),_0x163ea0(0x103),_0x163ea0(0xc3),_0x163ea0(0x132)]),ViewportSchema=strictObject({'width':_0x3e4354[_0x163ea0(0x10c)]()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)]()['optional'](),'height':_0x3e4354['number']()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)]()[_0x163ea0(0x128)](),'deviceScaleFactor':_0x3e4354[_0x163ea0(0x10c)]()['positive']()[_0x163ea0(0x128)]()}),ConfigViewportSchema=ViewportSchema[_0x163ea0(0x119)]();function viewportDeviceConflict(_0x383f0b,_0x5ee5ad,_0x1a3ba6=_0x163ea0(0xab)){var _0x183b9b={_0x2c97d1:0x11d,_0x142ed9:0xb9},_0x3d527d=_0x163ea0;if(_0x383f0b!==null||_0x5ee5ad===void 0x0)return void 0x0;return _0x1a3ba6+_0x3d527d(_0x183b9b._0x2c97d1)+_0x5ee5ad+_0x3d527d(_0x183b9b._0x142ed9);}__name(viewportDeviceConflict,_0x163ea0(0xe2));var RetryReasonSchema=_0x3e4354[_0x163ea0(0xfc)]([_0x163ea0(0x120),_0x163ea0(0x130),'crash']),RetryConfigSchema=strictObject({'count':_0x3e4354[_0x163ea0(0x10c)]()['int']()[_0x163ea0(0x113)](0x0)[_0x163ea0(0xb1)](0xa),'on':_0x3e4354['array'](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x3e4354['literal'](!![])[_0x163ea0(0xc4)](!![]),'tier2':_0x3e4354[_0x163ea0(0xa0)](),'tier3':strictObject({'network':_0x3e4354[_0x163ea0(0xa0)](),'video':_0x3e4354['boolean']()}),'retention':strictObject({'runs':_0x3e4354[_0x163ea0(0x10c)]()[_0x163ea0(0x122)]()['positive'](),'days':_0x3e4354[_0x163ea0(0x10c)]()['int']()[_0x163ea0(0xe0)]()}),'storageDir':_0x3e4354['string']()[_0x163ea0(0x113)](0x1),'pageHtml':_0x3e4354[_0x163ea0(0xfc)]([_0x163ea0(0xcf),_0x163ea0(0x125)])}),DialogPolicySchema=_0x3e4354[_0x163ea0(0xfc)]([_0x163ea0(0xeb),_0x163ea0(0xed),_0x163ea0(0xe8)]),REMOVED_VALIDATOR_RULE_IDS=['validator:unsupported-statement','validator:unsupported-expression',_0x163ea0(0x107),_0x163ea0(0xdb),'validator:library-member','validator:implicit-declaration'],LinterRuleIdSchema=_0x3e4354[_0x163ea0(0xfc)]([_0x163ea0(0xf2),_0x163ea0(0xd3),_0x163ea0(0x11c),_0x163ea0(0x109),_0x163ea0(0xc2),_0x163ea0(0x110),_0x163ea0(0xd8),_0x163ea0(0x126),_0x163ea0(0xb3),_0x163ea0(0x10d),_0x163ea0(0xe1),_0x163ea0(0x129),_0x163ea0(0x102),'lint:flow-returns-value',_0x163ea0(0xf5),_0x163ea0(0xb7),_0x163ea0(0x12f),_0x163ea0(0xf8),_0x163ea0(0x100),_0x163ea0(0x12b),_0x163ea0(0x108),_0x163ea0(0x11f),_0x163ea0(0xef),_0x163ea0(0xe4),_0x163ea0(0xd7),_0x163ea0(0xe9),_0x163ea0(0xba),_0x163ea0(0x124),'validator:arg-kind',_0x163ea0(0xbb),'validator:step-shape',_0x163ea0(0xcc),_0x163ea0(0xd9),_0x163ea0(0xc8),_0x163ea0(0xa3),_0x163ea0(0x112),_0x163ea0(0x10f),_0x163ea0(0x11b),'validator:semantic-loss','validator:list-arg','validator:wrapped-format',_0x163ea0(0xee),_0x163ea0(0x10a),'validator:teardown-name-conflict',_0x163ea0(0xa2),_0x163ea0(0xec),_0x163ea0(0xc6),_0x163ea0(0x10e),_0x163ea0(0xf0),_0x163ea0(0xdd),'validator:array-member-receiver','validator:options',_0x163ea0(0xe6),_0x163ea0(0xe3),_0x163ea0(0xd4),_0x163ea0(0x123),_0x163ea0(0xbd),_0x163ea0(0xfa),'validator:template-escape-changed','validator:unknown-member',...REMOVED_VALIDATOR_RULE_IDS]),LinterSeveritySchema=_0x3e4354[_0x163ea0(0xfc)]([_0x163ea0(0xf4),_0x163ea0(0xd5),'error']),LinterConfigSchema=strictObject({'enabled':_0x3e4354[_0x163ea0(0xa0)](),'rules':_0x3e4354[_0x163ea0(0x12c)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x3e4354[_0x163ea0(0xa0)]()['default'](!![]),'concurrency':_0x3e4354['number']()['int']()[_0x163ea0(0xe0)]()['default'](0x1)}),ScheduleSchema=strictObject({'collection':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x113)](0x1),'cron':_0x3e4354['string']()[_0x163ea0(0x113)](0x1),'env':_0x3e4354[_0x163ea0(0x12d)]()['min'](0x1)[_0x163ea0(0x128)](),'prepare':_0x3e4354['string']()[_0x163ea0(0x113)](0x1)[_0x163ea0(0x128)]()}),McpConfigSchema=strictObject({'transport':_0x3e4354[_0x163ea0(0x117)]('stdio')}),SandboxConfigSchema=strictObject({'shellCwd':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x128)](),'shellTimeoutMs':_0x3e4354['number']()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)]()[_0x163ea0(0x128)](),'exportSecrets':_0x3e4354[_0x163ea0(0x104)](_0x3e4354[_0x163ea0(0x12d)]())[_0x163ea0(0x128)](),'database':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x128)](),'apiBaseUrl':_0x3e4354['string']()[_0x163ea0(0x11e)]()[_0x163ea0(0x128)](),'uploadDir':_0x3e4354['string']()[_0x163ea0(0x128)](),'readRoots':_0x3e4354[_0x163ea0(0x104)](_0x3e4354[_0x163ea0(0x12d)]()['min'](0x1))['optional']()}),WebServerConfigSchema=strictObject({'command':_0x3e4354['string']()[_0x163ea0(0x113)](0x1),'url':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x11e)](),'reuseExistingServer':_0x3e4354[_0x163ea0(0xa0)]()[_0x163ea0(0xc4)](!![]),'timeoutMs':_0x3e4354[_0x163ea0(0x10c)]()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)]()[_0x163ea0(0xc4)](0xea60)}),WebServersConfigSchema=_0x3e4354[_0x163ea0(0x133)]([WebServerConfigSchema,_0x3e4354[_0x163ea0(0x104)](WebServerConfigSchema)['min'](0x1)])[_0x163ea0(0xa8)](_0x1bd62b=>Array[_0x163ea0(0xa5)](_0x1bd62b)?_0x1bd62b:[_0x1bd62b])['superRefine']((_0x542e6b,_0x1a9c73)=>{var _0xecef78={_0x339484:0xb6,_0x5a52cc:0x11e,_0x152101:0x111,_0xb00e1c:0xc5},_0x2b3da7=_0x163ea0;const _0x3c83fe=new Set();_0x542e6b[_0x2b3da7(0xac)]((_0x53eb9,_0x140ad3)=>{var _0x49d8ba=_0x2b3da7;_0x3c83fe[_0x49d8ba(0xdf)](_0x53eb9['url'])&&_0x1a9c73[_0x49d8ba(0xde)]({'code':_0x3e4354['ZodIssueCode'][_0x49d8ba(_0xecef78._0x339484)],'path':[_0x140ad3,_0x49d8ba(_0xecef78._0x5a52cc)],'message':_0x49d8ba(0xce)+_0x140ad3+_0x49d8ba(_0xecef78._0x152101)+_0x53eb9[_0x49d8ba(0x11e)]+_0x49d8ba(_0xecef78._0xb00e1c)}),_0x3c83fe[_0x49d8ba(0xa4)](_0x53eb9['url']);});}),EnvConfigSchema=strictObject({'shared':_0x3e4354[_0x163ea0(0x104)](_0x3e4354[_0x163ea0(0x12d)]())[_0x163ea0(0xc4)]([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x11e)]()[_0x163ea0(0x128)](),'webServer':WebServersConfigSchema[_0x163ea0(0x128)](),'generate':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x113)](0x1)['optional'](),'browsers':_0x3e4354[_0x163ea0(0x104)](BrowserSchema)[_0x163ea0(0x113)](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema[_0x163ea0(0x128)](),'device':_0x3e4354[_0x163ea0(0x12d)]()['min'](0x1)[_0x163ea0(0x128)](),'profile':_0x3e4354[_0x163ea0(0xfc)](PROFILE_NAMES)[_0x163ea0(0x128)](),'displayMode':DisplayModeSchema[_0x163ea0(0x128)](),'timezone':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x121)](isTimeZone,_0x5d6b8c=>({'message':_0x163ea0(0xc7)+_0x5d6b8c+_0x163ea0(0x101)}))[_0x163ea0(0x128)](),'locale':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x121)](isLocale,_0x427b3f=>({'message':_0x163ea0(0xa9)+_0x427b3f+_0x163ea0(0xda)}))[_0x163ea0(0x128)](),'maxContexts':_0x3e4354[_0x163ea0(0x10c)]()['int']()[_0x163ea0(0xe0)]()['optional'](),'launch':LaunchConfigSchema[_0x163ea0(0x128)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x128)](),'testDir':_0x3e4354[_0x163ea0(0x12d)]()[_0x163ea0(0x113)](0x1),'helpersDir':_0x3e4354['string']()['min'](0x1),'defaultTimeoutMs':_0x3e4354[_0x163ea0(0x10c)]()[_0x163ea0(0x122)]()['positive'](),'defaultNavigationTimeoutMs':_0x3e4354[_0x163ea0(0x10c)]()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)](),'teardownTimeoutMs':_0x3e4354[_0x163ea0(0x10c)]()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)]()[_0x163ea0(0x128)](),'testTimeoutMs':_0x3e4354['number']()[_0x163ea0(0x122)]()[_0x163ea0(0xe0)]()[_0x163ea0(0x128)](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x3e4354[_0x163ea0(0x104)](ScheduleSchema)[_0x163ea0(0xc4)]([]),'sandbox':SandboxConfigSchema})[_0x163ea0(0xbc)]((_0x786f62,_0x3996e3)=>{var _0x382323={_0x461e4c:0xde,_0x1e62c6:0x118,_0x45b57a:0x127,_0x44a4f3:0x127,_0x4ddfb3:0xa7},_0x18b4ca=_0x163ea0;const _0x373624=viewportDeviceConflict(_0x786f62['viewport'],_0x786f62['device']);_0x373624!==void 0x0&&_0x3996e3[_0x18b4ca(_0x382323._0x461e4c)]({'code':_0x3e4354[_0x18b4ca(0xf1)][_0x18b4ca(0xb6)],'path':['viewport'],'message':_0x373624});if(_0x786f62[_0x18b4ca(_0x382323._0x1e62c6)]!==void 0x0){const _0x1ce446=PROFILES[_0x786f62[_0x18b4ca(_0x382323._0x1e62c6)]],_0x32342f=[..._0x786f62[_0x18b4ca(_0x382323._0x45b57a)][_0x18b4ca(0xbf)]()!==_0x1ce446[_0x18b4ca(_0x382323._0x44a4f3)][_0x18b4ca(0xbf)]()?['browsers']:[],..._0x786f62[_0x18b4ca(0xb2)]!==_0x1ce446['device']?[_0x18b4ca(0xb2)]:[]];_0x32342f[_0x18b4ca(_0x382323._0x4ddfb3)]>0x0&&_0x3996e3[_0x18b4ca(0xde)]({'code':_0x3e4354['ZodIssueCode'][_0x18b4ca(0xb6)],'path':[_0x18b4ca(0x118)],'message':profileConflict(_0x786f62[_0x18b4ca(_0x382323._0x1e62c6)],_0x32342f)});}});function isTimeZone(_0x547ba8){var _0xff16f3={_0x422040:0xfe,_0xf913e0:0xca,_0x36c26e:0xa7},_0x345966=_0x163ea0;try{return new Intl[(_0x345966(_0xff16f3._0x422040))](_0x345966(_0xff16f3._0xf913e0),{'timeZone':_0x547ba8}),_0x547ba8[_0x345966(_0xff16f3._0x36c26e)]>0x0;}catch{return![];}}__name(isTimeZone,_0x163ea0(0xc9));function _0x2a32(){var _0xf91e08=['iIdIGjqGzxHWzwn0zwqGyw4GsufoqsbUyw1Lihn1y2GGyxmGiKv1CM9Wzs9nywrYAwqI','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','C3rHBMrHBg9Uzq','yxjYyxK','mJe1mJK4ohDTzNP6sG','BxnLzgDL','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0CMLUzY1Tzw1Izxi','BgLUDdPZA2LWlw91DhnPzguTDgvZDa','BgLUDdPWyxvZzs1LEhbSAwnPDa','DMfSAwrHDg9YoNrLyxjKB3DUlxnOyxbL','mZy2nJK0mgHZt3LvBa','BNvTyMvY','BgLUDdPYzwDLEc1PBNzHBgLK','DMfSAwrHDg9YoMnOywLUlxjLy2vPDMvY','DMfSAwrHDg9YoNrVCc1SzxzLBc1ZDgf0zw1LBNq','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','xs51CMWG','DMfSAwrHDg9YoNzHCI1ZAgfWzq','BwLU','y29Kzq','ChjVzMLSzunVBMzSAwn0','C3rYAwn0t2jQzwn0','BgL0zxjHBa','ChjVzMLSzq','BNvSBgfIBgu','Dw5YzwnVz25PEMvKx2TLExm','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','igTLzxbZihrOzsbYzwfSigjYB3DZzxiGD2LUzg93lcbHBMqGzgv2AwnLici','DxjS','BgLUDdPZzxqTDgvZDc10Aw1LB3v0lw91DhnPzguTDgvZDa','DhjHBNnPzw50','CMvMAw5L','Aw50','DMfSAwrHDg9YoNbHz2uTy29Kzs1JBg9ZDxjL','DMfSAwrHDg9YoMfYAxr5','zNvSBa','BgLUDdPTDxn0ywnOzs1PBI1KC2W','yNjVD3nLCNm','B3b0Aw9UywW','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','mtq3nJGZnfvqwLj5tW','BgLUDdPZAgfKB3DZlwrZBc1MDw5JDgLVBG','CMvJB3jK','C3rYAw5N','mtC1ota1meLRDgjfCq','BgLUDdPLEhrLCM5HBc12yxjPywjSzs1UBY12ywX1zq','BMv0D29YAW','iIbZzxrZia','zNvSBhnJCMvLBG','Dw5PB24','yM9VBgvHBG','z2v0q2fUB25Py2fStg9JywXLCW','DMfSAwrHDg9YoNDHAxqTDw50AwWTC2HHCgu','DMfSAwrHDg9YoMLMlxnOyxbL','ywrK','AxnbCNjHEq','y2HYB21LlwjLDge','BgvUz3rO','DhjHBNnMB3jT','Aw52ywXPzcbSB2nHBguGiG','B2jQzwn0','DMLLD3bVCNq6ig51BgW','zM9YrwfJAa','mJqZmZKWnhrswfrbCq','Dw5VDgvZDc9LmMu','y2HYB21PDw0','mtrOA0Lbv28','Bwf4','zgv2AwnL','BgLUDdPNB3rVlwnVBMnHDa','Dg9mB3DLCKnHC2u','igzYB20GDgHLignVBMzPzYWGB3iGzhjVCcb0AguGChjVzMLSzs4','y3vZDg9T','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','iIdIGjqGzgLKihLVDsbTzwfUici','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','C3vWzxjszwzPBMu','DMfSAwrHDg9YoNbHz2uTy29Kzs1ZEw50yxG','A2v5CW','AM9PBG','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','zxjYB3jnyxa','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','BwLUAw1HBc11Aq','zgvMyxvSDa','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','DMfSAwrHDg9YoMXVy2f0B3iTAw5KzxGTywnJzxnZ','Dw5RBM93BIb0Aw1LihPVBMuGiG','DMfSAwrHDg9YoMzVCI1ZAgfWzq','AxnuAw1LwM9Uzq','zw4Tvvm','otyWmdqWt1nLvxvM','DMfSAwrHDg9YoM1LDgeTC2HHCgu','y2XVC2vZDeTLEq','D2vIu2vYDMvYwW','CMvKywn0zwq','m0Psr0DxBW','zxjYB3i','C3rKAw8','BgLUDdP4Cgf0Aa','DMfSAwrHDg9YoMv2ywX1yxrLlwLUDgvYCg9SyxrPB24','D2fYBG','Dw5RBM93BKTLEu1LC3nHz2u','BgLUDdPYB2XLlxvUA25VD24TB3b0Aw9U','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','iIdIGjqGzxHWzwn0zwqGysbcq1aGndCGDgfNihn1y2GGyxmGiMvZluvtiG','DMfSAwrHDg9YoM91Dc1VzI1Syw5NDwfNzq','BwfW','DMfSAwrHDg9YoNn0CMLUzY1Tzw1IzxiTCMvJzwL2zxi','ywrKsxnZDwu','AgfZ','Cg9ZAxrPDMu','BgLUDdPLy2HVlwfZC2vYDa','DMLLD3bVCNrezxzPy2vdB25MBgLJDa','DMfSAwrHDg9YoMfZEw5Jlwf3ywL0','BgLUDdPMAwX0zxiTDw5RBM93BI1VChrPB24','zgLZDgfUy2u','DMfSAwrHDg9YoMLTCgXPy2L0lwDSB2jHBa','yNjVD3nLCG','BwfUDwfS','BgLUDdP0ExbLzc1ZDgvWlwf2ywLSywjSzq','CgvYlxrLC3q','ywnJzxb0','DMfSAwrHDg9YoMfZC2vYDc1UzxzLCI1ZAgfWzq','zgLZBwLZCW','DMfSAwrHDg9YoMnVBNn0lwfZC2LNBG','BgLUDdP3ywL0lwv4y2vLzhmTDgvZDc1IDwrNzxq','DMfSAwrHDg9YoNrVCc1SzxzLBc1JB25ZDa','wM9KsxnZDwvdB2rL','BgLUDdPKzwvWlwnZCW','DgHLBq','B2zM','BgLUDdPSzwDHy3KTBgf5B3v0','lNvUB3rLC3qVzMfPBhvYzxm','nJa2nJm0mLDAv0nsvG','BgLUDdPLBNyTAg9ZDc1MCM9TlwjHC2u','C3rYAwn0','DMfSAwrHDg9YoNbHz2uTy29Kzs1ZDhjPBMC','AxnmB2nHBgu','zw51Bq','zMLYzwzVEa','rgf0zvrPBwvgB3jTyxq','Dw5RBM93BIbRzxKGiG','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq'];_0x2a32=function(){return _0xf91e08;};return _0x2a32();}function isLocale(_0x16c13b){var _0x101955={_0x15450b:0xa1},_0x5b71e9=_0x163ea0;try{return Intl[_0x5b71e9(_0x101955._0x15450b)](_0x16c13b)['length']===0x1;}catch{return![];}}__name(isLocale,_0x163ea0(0xfb));var DEFAULT_CONFIG={'browsers':[_0x163ea0(0xaf)],'retry':{'count':0x0,'on':[_0x163ea0(0x120)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x163ea0(0xf6),'pageHtml':_0x163ea0(0xcf)},'dialogPolicy':_0x163ea0(0xeb),'testDir':_0x163ea0(0xae),'helpersDir':_0x163ea0(0xc0),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x163ea0(0xd5),'lint:xpath':'warn','lint:obfuscated-class':_0x163ea0(0xd5),'lint:pause-explicit':_0x163ea0(0xd5),'lint:disambig-by-index':_0x163ea0(0xf4),'lint:evaluate-discouraged':_0x163ea0(0xd5),'lint:scenario-in-root':_0x163ea0(0xd1),'lint:mustache-in-dsl':_0x163ea0(0xd1),'lint:goto-concat':_0x163ea0(0xd5),'lint:regex-invalid':'error','lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':'warn','lint:legacy-layout':_0x163ea0(0xd5),'lint:external-variable-undeclared':_0x163ea0(0xd1),'lint:external-variable-no-value':_0x163ea0(0xd1),'lint:env-host-from-base':_0x163ea0(0xd1),'lint:one-test-per-file':_0x163ea0(0xd5),'lint:shadows-dsl-function':'warn','lint:skip-outside-test':_0x163ea0(0xd1),'lint:set-test-timeout-outside-test':_0x163ea0(0xd1),'lint:wait-exceeds-test-budget':_0x163ea0(0xd5),'lint:filter-unknown-option':'error','lint:role-unknown-option':'error','validator:unknown-function':_0x163ea0(0xd1)}},'env':{'shared':[]},'mcp':{'transport':_0x163ea0(0xd2)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,DisplayModeSchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,REMOVED_VALIDATOR_RULE_IDS,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema,viewportDeviceConflict};
|
|
1
|
+
var _0x5c18ee=_0x5299;(function(_0x33ead3,_0x1b1733){var _0x4b9fdd={_0x948307:0x206,_0xd72b91:0x1d5,_0x266206:0x1d8,_0x553389:0x1d0},_0x40347b=_0x5299,_0x29baa7=_0x33ead3();while(!![]){try{var _0x59ba30=parseInt(_0x40347b(_0x4b9fdd._0x948307))/0x1+parseInt(_0x40347b(0x1ce))/0x2*(parseInt(_0x40347b(_0x4b9fdd._0xd72b91))/0x3)+-parseInt(_0x40347b(0x1e8))/0x4+-parseInt(_0x40347b(_0x4b9fdd._0x266206))/0x5+-parseInt(_0x40347b(0x23f))/0x6+parseInt(_0x40347b(0x220))/0x7*(parseInt(_0x40347b(_0x4b9fdd._0x553389))/0x8)+parseInt(_0x40347b(0x1cc))/0x9*(parseInt(_0x40347b(0x1c9))/0xa);if(_0x59ba30===_0x1b1733)break;else _0x29baa7['push'](_0x29baa7['shift']());}catch(_0x4c60e3){_0x29baa7['push'](_0x29baa7['shift']());}}}(_0x1b9d,0x639b7));var __defProp=Object[_0x5c18ee(0x1d7)],__name=(_0x3d9ab9,_0x21dd48)=>__defProp(_0x3d9ab9,_0x5c18ee(0x1bb),{'value':_0x21dd48,'configurable':!![]});import{z as _0x553f6a}from'zod';function _0x1b9d(){var _0x43b52d=['ywnJzxb0','DMfSAwrHDg9YoNrLyxjKB3DUlxnOyxbL','DMfSAwrHDg9YoMnOywLUlxjLy2vPDMvY','BgLUDdPNB3rVlwnVBMnHDa','DMfSAwrHDg9YoMfYzY1RAw5K','zNvSBa','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BgLUDdPYB2XLlxvUA25VD24TB3b0Aw9U','B2zM','B2jQzwn0','y2HYB21LlwjLDge','BwfUDwfS','DMfSAwrHDg9YoMnVBNn0lwfZC2LNBG','zw4Tvvm','Dw5RBM93BKTLEu1LC3nHz2u','BgLUDdPLy2HVlwfZC2vYDa','mtyWnJqYmMnVyvDMyG','BgLUDdPKzwvWlwnZCW','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','Cg9ZAxrPDMu','zNvSBhnJCMvLBG','DhjHBNnMB3jT','DMfSAwrHDg9YoNrLyxjKB3DUlw5HBwuTy29UzMXPy3q','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','AM9PBG','zMLYzwzVEa','iIdIGjqGzgLKihLVDsbTzwfUici','rgf0zvrPBwvgB3jTyxq','BwLU','BgL0zxjHBa','zM9YrwfJAa','C3rYAw5N','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','DMfSAwrHDg9YoMLMlxnOyxbL','BgvUz3rO','BMfTzq','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoMXPC3qTyxjN','wM9KsxnZDwvdB2rL','y3vZDg9T','DMfSAwrHDg9YoNbHz2uTy29Kzs1ZEw50yxG','igzYB20GDgHLignVBMzPzYWGB3iGzhjVCcb0AguGChjVzMLSzs4','yM9VBgvHBG','BgLUDdPZzxqTDgvZDc10Aw1LB3v0lw91DhnPzguTDgvZDa','BMv0D29YAW','DMfSAwrHDg9YoM91Dc1VzI1Syw5NDwfNzq','Dw5PB24','C3vWzxjszwzPBMu','mtbUDLLwzwe','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','DMfSAwrHDg9YoNzHCI1ZAgfWzq','ndKXnZa5nMjuBwPjwq','lNvUB3rLC3qVzMfPBhvYzxm','mJm1mJu2t1HTDKPf','CMvMAw5L','mJGYngfSsgjyAG','DMfSAwrHDg9YoNvUA25VD24TBwvTyMvY','DMfSAwrHDg9YoNrVCc1SzxzLBc1ZDgf0zw1LBNq','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoNbHz2uTy29Kzs1ZDhjPBMC','nNrIBKPLBW','DMLLD3bVCNq','zgvMAw5LuhjVCgvYDhK','mteZmZmWnuf4CLDeuq','DMfSAwrHDg9YoNbHz2uTy29Kzs1JBg9ZDxjL','BgLUDdP4Cgf0Aa','xs51CMWG','CMvKywn0zwq','A2v5','DMfSAwrHDg9YoMfYCMf5lw1LBwjLCI1YzwnLAxzLCG','C3rKAw8','igTLzxbZihrOzsbYzwfSigjYB3DZzxiGD2LUzg93lcbHBMqGzgv2AwnLici','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','yNjVD3nLCNm','AxnbCNjHEq','iIbZzxrZia','BwfW','y29Kzq','BgLUDdPZA2LWlw91DhnPzguTDgvZDa','mte5nZG0ngDnEeXvAG','igL0C2vSzIdIGjqGzhjVCca','zgv2AwnL','y2HYB21L','Bwf4','DhjHBNnPzw50','DMfSAwrHDg9YoMXVy2f0B3iTAw5KzxGTywnJzxnZ','y2HYB21PDw0','zgvMyxvSDevYCM9Y','D2vIA2L0','D2fYBG','y2XVC2vZDeTLEq','C3rYAwn0','DMfSAwrHDg9YoMzVCI1ZAgfWzq','C3rHBMrHBg9Uzq','BwLUAw1HBc11Aq','BNvSBgfIBgu','DMfSAwrHDg9YoNrLBxbSyxrLlwvZy2fWzs1JAgfUz2vK','ChjVzMLSzunVBMzSAwn0','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','yxjYyxK','DMfSAwrHDg9YoMv2ywX1yxrLlwLUDgvYCg9SyxrPB24','Aw52ywXPzcbSB2nHBguGiG','z2v0q2fUB25Py2fStg9JywXLCW','zgvMyxvSDa','DMfSAwrHDg9YoM9WDgLVBNm','CgvYlxrLC3q','BgLUDdPYzwDLEc1PBNzHBgLK','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0CMLUzY1Tzw1Izxi','Dw5RBM93BIbRzxKGiG','mteWnJy5vu5Ivef1','Dw5VDgvZDc9LmMu','B3b0Aw9UywW','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','BgLUDdPZAgfKB3DZlwrZBc1MDw5JDgLVBG','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','ChjVzMLSzq','AgfZ','BNvSBa','DMfSAwrHDg9YoMXPyNjHCNKTBwvTyMvY','DMfSAwrHDg9YoMLTCgXPy2L0lwrLy2XHCMf0Aw9U','DMfSAwrHDg9YoMLTCgXPy2L0lwDSB2jHBa','BgLUDdP3ywL0lwv4y2vLzhmTDgvZDc1IDwrNzxq','BgLUDdPLBNyTAg9ZDc1MCM9TlwjHC2u','BgLUDdPLEhrLCM5HBc12yxjPywjSzs1UBY12ywX1zq','BgLUDdPSzwDHy3KTBgf5B3v0','A2v5CW','zw51Bq','ywrKsxnZDwu','AxnmB2nHBgu','DMfSAwrHDg9YoMfZC2vYDc1UzxzLCI1ZAgfWzq','zxjYB3i','DMfSAwrHDg9YoNn0CMLUzY1Tzw1IzxiTCMvJzwL2zxi','BgLUDdP0ExbLzc1ZDgvWlwf2ywLSywjSzq','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DgHLBq','nJeZoxvxze1mDG','zgLZDgfUy2u','Aw50','CMvJB3jK','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','D2vIu2vYDMvYwW','BNvTyMvY','DMLLD3bVCNq6ig51BgW','ChjVzMLSzsaI','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','BgLUDdPWyxvZzs1LEhbSAwnPDa','DxjS','DMLLD3bVCNrezxzPy2vdB25MBgLJDa','DMfSAwrHDg9YoNDHAxqTDw50AwWTC2HHCgu','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24'];_0x1b9d=function(){return _0x43b52d;};return _0x1b9d();}import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0xd02fbc,_0x4e3ca7){var _0x587f0b={_0x5c3ab9:0x221},_0x37baab=_0x5c18ee;let _0x22158e;for(const _0x49372c of _0x4e3ca7){const _0x48c016=levenshteinDistance(_0xd02fbc['toLowerCase'](),_0x49372c['toLowerCase']());if(_0x48c016>MAX_EDITS)continue;if(_0x22158e===void 0x0||_0x48c016<_0x22158e[_0x37baab(_0x587f0b._0x5c3ab9)])_0x22158e={'key':_0x49372c,'distance':_0x48c016};}return _0x22158e?.[_0x37baab(0x1dd)];}__name(closestKey,_0x5c18ee(0x1f3));function unknownKeyMessage(_0x5cea31,_0x27b057){var _0xfa2adc={_0x6ee80e:0x1e5,_0x5c0efa:0x247},_0x28a21b={_0x350253:0x249},_0x4b5dd9=_0x5c18ee;return _0x5cea31[_0x4b5dd9(_0xfa2adc._0x6ee80e)](_0x359732=>{var _0x55f4fa=_0x4b5dd9;const _0x1551f5=closestKey(_0x359732,_0x27b057);return _0x1551f5===void 0x0?'unknown\x20key\x20\x22'+_0x359732+'\x22\x20—\x20not\x20a\x20config\x20key;\x20check\x20your\x20@unotest/web\x20version\x20if\x20it\x20comes\x20from\x20a\x20newer\x20release':_0x55f4fa(0x205)+_0x359732+_0x55f4fa(_0x28a21b._0x350253)+_0x1551f5+'\x22?';})[_0x4b5dd9(_0xfa2adc._0x5c0efa)](';\x20');}__name(unknownKeyMessage,_0x5c18ee(0x23d));function strictObject(_0xc92c77){var _0x1398b0={_0x29852c:0x216,_0xe2b0dd:0x1f4},_0x123cb1=_0x5c18ee;const _0x36e469=Object[_0x123cb1(_0x1398b0._0x29852c)](_0xc92c77);return z[_0x123cb1(0x238)](_0xc92c77,{'errorMap':__name((_0x3d8a39,_0x25eaa1)=>_0x3d8a39[_0x123cb1(0x1e6)]===z[_0x123cb1(0x1bf)]['unrecognized_keys']?{'message':unknownKeyMessage(_0x3d8a39[_0x123cb1(0x216)],_0x36e469)}:{'message':_0x25eaa1[_0x123cb1(0x1f0)]},'errorMap')})[_0x123cb1(_0x1398b0._0xe2b0dd)]();}__name(strictObject,'strictObject');import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x23f993}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x23f993[_0x5c18ee(0x238)]({'userDataDir':_0x23f993[_0x5c18ee(0x24e)]()[_0x5c18ee(0x24b)](0x1)[_0x5c18ee(0x208)](),'profile':_0x23f993[_0x5c18ee(0x24c)](_0x5c18ee(0x202))[_0x5c18ee(0x208)](),'args':_0x23f993[_0x5c18ee(0x1fc)](_0x23f993['string']()[_0x5c18ee(0x24b)](0x1))[_0x5c18ee(0x208)]()})[_0x5c18ee(0x1f4)](),PROFILES={'ios':{'browsers':[_0x5c18ee(0x1f1)],'device':'iPhone\x2015','displayMode':_0x5c18ee(0x1f6)}},PROFILE_NAMES=Object[_0x5c18ee(0x216)](PROFILES);function profileConflict(_0x5d6adc,_0x55fb3f){var _0x43aafd={_0x655ebf:0x228,_0x499b3c:0x1e4,_0x43ef9b:0x251,_0x552518:0x21f},_0x527838=_0x5c18ee;return _0x527838(_0x43aafd._0x655ebf)+_0x5d6adc+_0x527838(_0x43aafd._0x499b3c)+_0x55fb3f[_0x527838(0x1e5)](_0x3fd6e7=>'`'+_0x3fd6e7+'`')[_0x527838(0x247)]('\x20and\x20')+_0x527838(0x1e9)+(_0x55fb3f[_0x527838(_0x43aafd._0x43ef9b)]===0x1?'it':_0x527838(_0x43aafd._0x552518))+_0x527838(0x1c2);}__name(profileConflict,_0x5c18ee(0x1fa));var BrowserSchema=_0x553f6a[_0x5c18ee(0x217)]([_0x5c18ee(0x1ef),_0x5c18ee(0x248),'webkit']),SYSTEM_BROWSER_CHANNELS=[_0x5c18ee(0x1eb),'msedge',_0x5c18ee(0x239),_0x5c18ee(0x1ef)],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x553f6a[_0x5c18ee(0x1c7)]([_0x553f6a[_0x5c18ee(0x217)](SYSTEM_BROWSER_CHANNELS),_0x553f6a[_0x5c18ee(0x24c)](BUNDLED_BROWSER_CHANNEL)[_0x5c18ee(0x244)](()=>null),_0x553f6a[_0x5c18ee(0x20e)]()])[_0x5c18ee(0x208)](),DisplayModeSchema=_0x553f6a['enum'](['browser',_0x5c18ee(0x1f6),_0x5c18ee(0x1f7),_0x5c18ee(0x243)]),ViewportSchema=strictObject({'width':_0x553f6a[_0x5c18ee(0x226)]()['int']()['positive']()['optional'](),'height':_0x553f6a[_0x5c18ee(0x226)]()[_0x5c18ee(0x222)]()['positive']()['optional'](),'deviceScaleFactor':_0x553f6a[_0x5c18ee(0x226)]()['positive']()[_0x5c18ee(0x208)]()}),ConfigViewportSchema=ViewportSchema[_0x5c18ee(0x1f8)]();function viewportDeviceConflict(_0x36a33b,_0x38d7b9,_0x42193e=_0x5c18ee(0x227)){var _0x4df4b8={_0x112289:0x1e0},_0x11cd41=_0x5c18ee;if(_0x36a33b!==null||_0x38d7b9===void 0x0)return void 0x0;return _0x42193e+_0x11cd41(_0x4df4b8._0x112289)+_0x38d7b9+_0x11cd41(0x1e1);}__name(viewportDeviceConflict,_0x5c18ee(0x22c));var RetryReasonSchema=_0x553f6a[_0x5c18ee(0x217)]([_0x5c18ee(0x1ed),_0x5c18ee(0x1c5),'crash']),RetryConfigSchema=strictObject({'count':_0x553f6a[_0x5c18ee(0x226)]()[_0x5c18ee(0x222)]()[_0x5c18ee(0x24b)](0x0)[_0x5c18ee(0x1ec)](0xa),'on':_0x553f6a[_0x5c18ee(0x1fc)](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x553f6a[_0x5c18ee(0x24c)](!![])[_0x5c18ee(0x200)](!![]),'tier2':_0x553f6a[_0x5c18ee(0x1c3)](),'tier3':strictObject({'network':_0x553f6a[_0x5c18ee(0x1c3)](),'video':_0x553f6a[_0x5c18ee(0x1c3)]()}),'retention':strictObject({'runs':_0x553f6a['number']()[_0x5c18ee(0x222)]()[_0x5c18ee(0x242)](),'days':_0x553f6a['number']()[_0x5c18ee(0x222)]()['positive']()}),'storageDir':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x24b)](0x1),'pageHtml':_0x553f6a[_0x5c18ee(0x217)]([_0x5c18ee(0x1dc),_0x5c18ee(0x234)])}),DialogPolicySchema=_0x553f6a[_0x5c18ee(0x217)]([_0x5c18ee(0x22f),'dismiss',_0x5c18ee(0x23a)]),REMOVED_VALIDATOR_RULE_IDS=[_0x5c18ee(0x1fb),_0x5c18ee(0x22e),_0x5c18ee(0x204),_0x5c18ee(0x1c6),_0x5c18ee(0x20f),_0x5c18ee(0x210)],LinterRuleIdSchema=_0x553f6a[_0x5c18ee(0x217)]([_0x5c18ee(0x240),_0x5c18ee(0x1da),_0x5c18ee(0x20b),_0x5c18ee(0x22a),_0x5c18ee(0x209),_0x5c18ee(0x1bc),_0x5c18ee(0x1bd),'lint:mustache-in-dsl',_0x5c18ee(0x232),_0x5c18ee(0x203),_0x5c18ee(0x23e),_0x5c18ee(0x229),_0x5c18ee(0x21e),'lint:flow-returns-value',_0x5c18ee(0x215),_0x5c18ee(0x241),_0x5c18ee(0x214),_0x5c18ee(0x213),_0x5c18ee(0x246),_0x5c18ee(0x20a),_0x5c18ee(0x1e7),_0x5c18ee(0x1c4),_0x5c18ee(0x212),'lint:filter-unknown-option',_0x5c18ee(0x236),_0x5c18ee(0x21d),'validator:unknown-function','validator:arity',_0x5c18ee(0x233),_0x5c18ee(0x235),'validator:step-shape',_0x5c18ee(0x1d3),'validator:function-shape',_0x5c18ee(0x1f5),_0x5c18ee(0x250),_0x5c18ee(0x1cb),_0x5c18ee(0x1d2),_0x5c18ee(0x24f),_0x5c18ee(0x1ca),_0x5c18ee(0x1be),_0x5c18ee(0x224),_0x5c18ee(0x23b),_0x5c18ee(0x230),_0x5c18ee(0x245),_0x5c18ee(0x22d),_0x5c18ee(0x21a),_0x5c18ee(0x1ee),_0x5c18ee(0x231),'validator:top-level-const',_0x5c18ee(0x21c),_0x5c18ee(0x1de),_0x5c18ee(0x201),_0x5c18ee(0x211),'validator:async-await',_0x5c18ee(0x1fd),_0x5c18ee(0x1d9),_0x5c18ee(0x1c1),_0x5c18ee(0x1d4),_0x5c18ee(0x1f9),_0x5c18ee(0x1d1),...REMOVED_VALIDATOR_RULE_IDS]),LinterSeveritySchema=_0x553f6a[_0x5c18ee(0x217)]([_0x5c18ee(0x237),_0x5c18ee(0x1f2),_0x5c18ee(0x21b)]),SUCCESSORS=new Map([[_0x5c18ee(0x210),'validator:implicit-global'],[_0x5c18ee(0x1fb),_0x5c18ee(0x1d2)]]),REMOVED_RULE_SUCCESSORS=SUCCESSORS;function carrySuccessorLevels(_0x1cd2a3){const _0xb516b6={..._0x1cd2a3};for(const [_0x55539c,_0x2a4c18]of SUCCESSORS){const _0x111eeb=_0x1cd2a3[_0x55539c];if(_0x111eeb!==void 0x0&&_0x1cd2a3[_0x2a4c18]===void 0x0)_0xb516b6[_0x2a4c18]=_0x111eeb;}return _0xb516b6;}__name(carrySuccessorLevels,'carrySuccessorLevels');var LinterConfigSchema=strictObject({'enabled':_0x553f6a[_0x5c18ee(0x1c3)](),'rules':_0x553f6a[_0x5c18ee(0x223)](LinterRuleIdSchema,LinterSeveritySchema)[_0x5c18ee(0x244)](carrySuccessorLevels)}),QueueConfigSchema=strictObject({'enabled':_0x553f6a[_0x5c18ee(0x1c3)]()[_0x5c18ee(0x200)](!![]),'concurrency':_0x553f6a[_0x5c18ee(0x226)]()[_0x5c18ee(0x222)]()[_0x5c18ee(0x242)]()['default'](0x1)}),ScheduleSchema=strictObject({'collection':_0x553f6a['string']()[_0x5c18ee(0x24b)](0x1),'cron':_0x553f6a['string']()[_0x5c18ee(0x24b)](0x1),'env':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x24b)](0x1)[_0x5c18ee(0x208)](),'prepare':_0x553f6a[_0x5c18ee(0x24e)]()['min'](0x1)[_0x5c18ee(0x208)]()}),McpConfigSchema=strictObject({'transport':_0x553f6a['literal'](_0x5c18ee(0x1df))}),SandboxConfigSchema=strictObject({'shellCwd':_0x553f6a['string']()[_0x5c18ee(0x208)](),'shellTimeoutMs':_0x553f6a[_0x5c18ee(0x226)]()[_0x5c18ee(0x222)]()['positive']()[_0x5c18ee(0x208)](),'exportSecrets':_0x553f6a[_0x5c18ee(0x1fc)](_0x553f6a[_0x5c18ee(0x24e)]())['optional'](),'database':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x208)](),'apiBaseUrl':_0x553f6a['string']()[_0x5c18ee(0x22b)]()[_0x5c18ee(0x208)](),'uploadDir':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x208)](),'readRoots':_0x553f6a[_0x5c18ee(0x1fc)](_0x553f6a['string']()[_0x5c18ee(0x24b)](0x1))[_0x5c18ee(0x208)]()}),WebServerConfigSchema=strictObject({'command':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x24b)](0x1),'url':_0x553f6a['string']()['url'](),'reuseExistingServer':_0x553f6a[_0x5c18ee(0x1c3)]()['default'](!![]),'timeoutMs':_0x553f6a[_0x5c18ee(0x226)]()['int']()['positive']()['default'](0xea60)}),WebServersConfigSchema=_0x553f6a['union']([WebServerConfigSchema,_0x553f6a['array'](WebServerConfigSchema)['min'](0x1)])[_0x5c18ee(0x244)](_0x2c14fa=>Array[_0x5c18ee(0x1e3)](_0x2c14fa)?_0x2c14fa:[_0x2c14fa])[_0x5c18ee(0x1c8)]((_0x587f9d,_0x12496a)=>{var _0x3954cb={_0x31eb88:0x20d,_0x90d603:0x22b,_0x25589e:0x1c0,_0x38fa97:0x1db,_0xd59929:0x22b},_0xe6ef19=_0x5c18ee;const _0x52317e=new Set();_0x587f9d[_0xe6ef19(0x24d)]((_0x4a8f2e,_0x94857e)=>{var _0x24da65=_0xe6ef19;_0x52317e[_0x24da65(_0x3954cb._0x31eb88)](_0x4a8f2e[_0x24da65(_0x3954cb._0x90d603)])&&_0x12496a[_0x24da65(0x218)]({'code':_0x553f6a[_0x24da65(0x1bf)][_0x24da65(_0x3954cb._0x25589e)],'path':[_0x94857e,_0x24da65(0x22b)],'message':_0x24da65(0x225)+_0x94857e+_0x24da65(_0x3954cb._0x38fa97)+_0x4a8f2e['url']+'\x20is\x20already\x20another\x20server\x27s\x20—\x20each\x20server\x20needs\x20its\x20own\x20readiness\x20URL.'}),_0x52317e['add'](_0x4a8f2e[_0x24da65(_0x3954cb._0xd59929)]);});}),EnvConfigSchema=strictObject({'shared':_0x553f6a[_0x5c18ee(0x1fc)](_0x553f6a[_0x5c18ee(0x24e)]())[_0x5c18ee(0x200)]([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x22b)]()[_0x5c18ee(0x208)](),'webServer':WebServersConfigSchema[_0x5c18ee(0x208)](),'generate':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x24b)](0x1)[_0x5c18ee(0x208)](),'browsers':_0x553f6a['array'](BrowserSchema)[_0x5c18ee(0x24b)](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema[_0x5c18ee(0x208)](),'device':_0x553f6a['string']()[_0x5c18ee(0x24b)](0x1)[_0x5c18ee(0x208)](),'profile':_0x553f6a['enum'](PROFILE_NAMES)[_0x5c18ee(0x208)](),'displayMode':DisplayModeSchema['optional'](),'timezone':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x1cf)](isTimeZone,_0x1be7e4=>({'message':'unknown\x20time\x20zone\x20\x22'+_0x1be7e4+'\x22\x20—\x20expected\x20an\x20IANA\x20name\x20such\x20as\x20\x22Europe/Madrid\x22'}))[_0x5c18ee(0x208)](),'locale':_0x553f6a['string']()[_0x5c18ee(0x1cf)](isLocale,_0x361ad5=>({'message':_0x5c18ee(0x1fe)+_0x361ad5+'\x22\x20—\x20expected\x20a\x20BCP\x2047\x20tag\x20such\x20as\x20\x22es-ES\x22'}))[_0x5c18ee(0x208)](),'maxContexts':_0x553f6a[_0x5c18ee(0x226)]()[_0x5c18ee(0x222)]()['positive']()[_0x5c18ee(0x208)](),'launch':LaunchConfigSchema[_0x5c18ee(0x208)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x208)](),'testDir':_0x553f6a[_0x5c18ee(0x24e)]()['min'](0x1),'helpersDir':_0x553f6a[_0x5c18ee(0x24e)]()[_0x5c18ee(0x24b)](0x1),'defaultTimeoutMs':_0x553f6a[_0x5c18ee(0x226)]()['int']()[_0x5c18ee(0x242)](),'defaultNavigationTimeoutMs':_0x553f6a[_0x5c18ee(0x226)]()['int']()[_0x5c18ee(0x242)](),'teardownTimeoutMs':_0x553f6a['number']()['int']()['positive']()[_0x5c18ee(0x208)](),'testTimeoutMs':_0x553f6a[_0x5c18ee(0x226)]()[_0x5c18ee(0x222)]()[_0x5c18ee(0x242)]()[_0x5c18ee(0x208)](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x553f6a[_0x5c18ee(0x1fc)](ScheduleSchema)[_0x5c18ee(0x200)]([]),'sandbox':SandboxConfigSchema})[_0x5c18ee(0x1c8)]((_0x3523ca,_0x3bf840)=>{var _0x2138c9={_0x36db53:0x1ea,_0x19ff36:0x20c,_0x3c9bcc:0x247,_0x1ca0a2:0x1e2,_0x345d07:0x247,_0x5ba907:0x1c0,_0x1898dd:0x20c},_0x1682d4=_0x5c18ee;const _0x3e86a3=viewportDeviceConflict(_0x3523ca[_0x1682d4(0x1d6)],_0x3523ca[_0x1682d4(_0x2138c9._0x36db53)]);_0x3e86a3!==void 0x0&&_0x3bf840[_0x1682d4(0x218)]({'code':_0x553f6a[_0x1682d4(0x1bf)][_0x1682d4(0x1c0)],'path':[_0x1682d4(0x1d6)],'message':_0x3e86a3});if(_0x3523ca[_0x1682d4(_0x2138c9._0x19ff36)]!==void 0x0){const _0x3a8eaa=PROFILES[_0x3523ca['profile']],_0x6ceec=[..._0x3523ca[_0x1682d4(0x1e2)][_0x1682d4(_0x2138c9._0x3c9bcc)]()!==_0x3a8eaa[_0x1682d4(_0x2138c9._0x1ca0a2)][_0x1682d4(_0x2138c9._0x345d07)]()?['browsers']:[],..._0x3523ca[_0x1682d4(0x1ea)]!==_0x3a8eaa[_0x1682d4(0x1ea)]?[_0x1682d4(0x1ea)]:[]];_0x6ceec[_0x1682d4(0x251)]>0x0&&_0x3bf840[_0x1682d4(0x218)]({'code':_0x553f6a['ZodIssueCode'][_0x1682d4(_0x2138c9._0x5ba907)],'path':[_0x1682d4(_0x2138c9._0x1898dd)],'message':profileConflict(_0x3523ca[_0x1682d4(0x20c)],_0x6ceec)});}});function isTimeZone(_0x45cb16){var _0x24e0b2=_0x5c18ee;try{return new Intl[(_0x24e0b2(0x24a))](_0x24e0b2(0x23c),{'timeZone':_0x45cb16}),_0x45cb16[_0x24e0b2(0x251)]>0x0;}catch{return![];}}function _0x5299(_0x37a812,_0x53e9c9){_0x37a812=_0x37a812-0x1bb;var _0x1b9dad=_0x1b9d();var _0x5299f8=_0x1b9dad[_0x37a812];if(_0x5299['ndUckk']===undefined){var _0x2cea1d=function(_0x3ac257){var _0x10450e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x553f6a='',_0x23f993='';for(var _0x3d9ab9=0x0,_0x21dd48,_0xd02fbc,_0x4e3ca7=0x0;_0xd02fbc=_0x3ac257['charAt'](_0x4e3ca7++);~_0xd02fbc&&(_0x21dd48=_0x3d9ab9%0x4?_0x21dd48*0x40+_0xd02fbc:_0xd02fbc,_0x3d9ab9++%0x4)?_0x553f6a+=String['fromCharCode'](0xff&_0x21dd48>>(-0x2*_0x3d9ab9&0x6)):0x0){_0xd02fbc=_0x10450e['indexOf'](_0xd02fbc);}for(var _0x22158e=0x0,_0x49372c=_0x553f6a['length'];_0x22158e<_0x49372c;_0x22158e++){_0x23f993+='%'+('00'+_0x553f6a['charCodeAt'](_0x22158e)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x23f993);};_0x5299['SovqMJ']=_0x2cea1d,_0x5299['xhRjtV']={},_0x5299['ndUckk']=!![];}var _0x5e8c45=_0x1b9dad[0x0],_0x31c26d=_0x37a812+_0x5e8c45,_0x2dd9a9=_0x5299['xhRjtV'][_0x31c26d];return!_0x2dd9a9?(_0x5299f8=_0x5299['SovqMJ'](_0x5299f8),_0x5299['xhRjtV'][_0x31c26d]=_0x5299f8):_0x5299f8=_0x2dd9a9,_0x5299f8;}__name(isTimeZone,'isTimeZone');function isLocale(_0x1b72c4){var _0x434733=_0x5c18ee;try{return Intl[_0x434733(0x1ff)](_0x1b72c4)[_0x434733(0x251)]===0x1;}catch{return![];}}__name(isLocale,_0x5c18ee(0x219));var DEFAULT_CONFIG={'browsers':[_0x5c18ee(0x1ef)],'retry':{'count':0x0,'on':[_0x5c18ee(0x1ed)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x5c18ee(0x1cd),'pageHtml':_0x5c18ee(0x1dc)},'dialogPolicy':_0x5c18ee(0x22f),'testDir':_0x5c18ee(0x207),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x5c18ee(0x1f2),'lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x5c18ee(0x1f2),'lint:disambig-by-index':_0x5c18ee(0x237),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x5c18ee(0x21b),'lint:mustache-in-dsl':'error','lint:goto-concat':_0x5c18ee(0x1f2),'lint:regex-invalid':_0x5c18ee(0x21b),'lint:echo-assert':_0x5c18ee(0x1f2),'lint:lint-ok-missing-reason':_0x5c18ee(0x1f2),'lint:flow-returns-value':'warn','lint:legacy-layout':_0x5c18ee(0x1f2),'lint:external-variable-undeclared':_0x5c18ee(0x21b),'lint:external-variable-no-value':'error','lint:env-host-from-base':_0x5c18ee(0x21b),'lint:one-test-per-file':_0x5c18ee(0x1f2),'lint:shadows-dsl-function':'warn','lint:skip-outside-test':_0x5c18ee(0x21b),'lint:set-test-timeout-outside-test':_0x5c18ee(0x21b),'lint:wait-exceeds-test-budget':'warn','lint:filter-unknown-option':'error','lint:role-unknown-option':_0x5c18ee(0x21b),'validator:unknown-function':_0x5c18ee(0x21b)}},'env':{'shared':[]},'mcp':{'transport':_0x5c18ee(0x1df)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,DisplayModeSchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,REMOVED_RULE_SUCCESSORS,REMOVED_VALIDATOR_RULE_IDS,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema,viewportDeviceConflict};
|