@unotest/web 0.51.0 → 0.52.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 CHANGED
@@ -1,5 +1,84 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.52.0] - 2026-10-17
4
+
5
+ ### Minor Changes
6
+
7
+ - 4e37bc3: BREAKING: scenarios run on V8, the engine of Node and Chrome, as the JavaScript they are. Classes, getters, generators, `Date`, `Symbol`, `instanceof` and the built-in objects now work, with the semantics of the language; the white list of the old library is gone. A scenario still has no APIs of Node or of the browser (`require`, `process`, `fetch`, `window`, timers): `apiCall`, `shell`, `evaluate`, `pause` and `waitUntil` stand in for them, and `console` prints nowhere. A scenario is not a sandbox: it runs with the rights of the user who started it, as a Playwright test does.
8
+
9
+ What changes for a suite, beyond the `let` and Continue entries of this release:
10
+
11
+ - `keys()`, `values()` and `entries()` of a Map or a Set, and `matchAll`, were arrays and are now iterators. `for…of` and a spread read them as before; an array method or a DSL function needs the spread first: `[...m.keys()].map(…)`.
12
+ - A test was also cut after a fixed count of statements (`maxSteps budget (100000) exhausted`). That count is gone: only the time budget (`setTestTimeout(ms)`, else `testTimeoutMs` or `UNOTEST_MAX_DURATION_MS`) cuts a test, and an endless loop fails on it, naming its line. A run that relied on the count to stop an endless loop sooner now runs until the time budget.
13
+
14
+ Migration: run `npx @unotest/web lint --fix`, commit the `let` lines it writes, then run the suite. Add the spread where a test reads keys, values or entries with an array method. The upgrade guide on docs.unotest.com lists every case.
15
+
16
+ - a5d8901: BREAKING: scenarios now run on the V8 engine only, as the JavaScript they are; the interpreter is gone from `@unotest/web`, and so is its export: `AstExecutor` is no longer exported from the package root. The `UNOTEST_ENGINE` switch is gone too; a value left set is ignored.
17
+
18
+ What a run reports changes where JavaScript says it differently: a name nothing declares fails as `ReferenceError: <name> is not defined` (`lint` still names it, with the advice for `wait` / `sleep` / `waitForTimeout`), and a member read on `null` or `undefined` fails with JavaScript's `TypeError`. An object handed to a DSL function with a key it only inherits, written under `__proto__:` or made by `Object.create(…)`, fails the step instead of being sent without that key. `arr.sortBy(…)` is gone with the interpreter's library: JavaScript's arrays have no such method.
19
+
20
+ Migration: drop `UNOTEST_ENGINE` from your environment. Replace `rows.sortBy('order')` with `rows.sort((a, b) => a.order - b.order)` (strings: `a.name.localeCompare(b.name)`; `{desc: true}`: swap `a` and `b`). A test rig that built `AstExecutor` runs scenarios through `npx @unotest/web e2e` or the MCP `run_test` tool instead.
21
+
22
+ - dd454ed: BREAKING: a variable assigned without a declaration (`i = 0` with no `let`) is now an error, `validator:implicit-global`: in JavaScript such a name is a global, shared by every test of the run. It was an info, `validator:implicit-declaration`. `run_test` refuses the scenario on it, as on any lint error; `e2e` prints it and runs. The diagnostic carries a fix — `let i;` at the start of the `test_*`, `flow_*` or helper, where every step sees the name — and `lint --fix` or `eslint --fix` with the plugin writes it.
23
+
24
+ The validator no longer refuses JavaScript the scenario language left out, nor members the old library lacked: `validator:out-of-language`, `validator:library-member` and `validator:unsupported-string-member` report nothing. A member a string, an array, a number, a Map or a Set does not have in JavaScript is `validator:unknown-member`, now checked against JavaScript itself, so `'a'.charCodeAt(0)` and `/a/.exec(s)` lint clean. A statement at the top level of a file is `validator:top-level-statement` (it was `validator:unsupported-statement`).
25
+
26
+ Migration: run `npx @unotest/web lint --fix` once and commit the `let` lines it adds. In `linter.rules`, rename `validator:unsupported-statement` to `validator:top-level-statement` and `validator:implicit-declaration` to `validator:implicit-global`, and drop `validator:out-of-language`, `validator:library-member` and `validator:unsupported-string-member`. A config that still names one of the five loads: the entry is ignored, and `lint` warns that it does nothing.
27
+
28
+ `@unotest/protocol`: `DslDiagnostic.fix` — `{range: [start, end], text}`, the edit that removes the finding, with 0-based offsets into the source. `@unotest/dsl`: `ScenarioDiagnostic.fix`, and `applyFixes(source, fixes)` from `@unotest/dsl/validator`.
29
+
30
+ - dd454ed: New: `npx @unotest/web lint` type-checks each scenario as the JavaScript it is — the file, the helpers of `_helpers/`, the DSL declarations and the external variable names. It reports, as warnings under `ts:<code>`, what the validator leaves to JavaScript: a name nothing declares, a member a value does not have (`Math.tau`), an argument of the wrong type (`n.toFixed('two')`). Where the validator reports at the same position, its line stands alone. The check needs `typescript` in the project (`npm i -D typescript`, an optional peer dependency); without it `lint` says once that the layer was skipped. And `lint --fix` writes the fixes the diagnostics offer before it reports. replaces: reading a scenario by eye for a typo of a name or a key
31
+ - 9159456: BREAKING: `async` and `await` in a scenario are a lint error, `validator:async-await`. Before, `await` was allowed in an `async function` and changed nothing. Now that scenarios run as JavaScript, an async function returns at its first `await`, and the rest of it runs after the test is over: its checks fail nowhere, and the test passes. DSL calls return their result, so a scenario has nothing to await. `run_test` and `e2e` refuse to start on it, and a run that gets there anyway fails: a test, a step, a rollback block, a `waitUntil` or an `assertNever` body that returns a promise fails the test with `… returned a promise: … drop async and await`. Async code handed to the page, `evaluate(async () => …)`, is the page's and is not reported.
32
+
33
+ Migration: run `npx @unotest/web lint --fix`. Each finding carries a fix that drops the word, so `lint --fix` and `eslint --fix` with the plugin remove every `async` and `await` the scenarios hold.
34
+
35
+ - 1946b74: BREAKING: Continue on a failure pause now finishes the test as failed. No statement after the failure runs; the `teardown(...)` blocks play and the failure bundle taken at the pause stays the run's. Before, the run went on with the next statement and still ended failed, so a debug run could pause again at a later failure. The CLI says it at the pause: `⏸ paused on failure at <file>:<line>:<col> — Continue finishes this test as failed`. The viewer now offers Continue on a failure pause, labelled **Finish as failed**; Step is not offered there. MCP `resume` on a `paused-failure` runtime ends it the same way. A failure pause the runner resumes as a retry (`resumeRetriesFailedStep`) is unchanged.
36
+
37
+ Migration: to see what follows a failure, fix the scenario and run the test again; a `resume` per failure no longer walks the test to its end.
38
+
39
+ - 5d9d6a4: Changed: `viewer` opens a browser tab only when a person is at the terminal — stdin and stdout are TTYs and `CI` is unset (or `0` / `false`). Launched by an agent, a script or CI, it prints the URL and opens nothing. `viewer --open` opens the tab anyway; `UNOTEST_VIEWER_NO_OPEN=1` still turns it off and beats `--open`. `login` follows the same rule, so under `CI` it no longer opens a browser even on a pseudo-terminal, and the commands that ask a question no longer ask it there: `init` uses the system browser when it finds one (as in a pipe), `box create` leaves the Picker off unless `--picker` is given, and `box destroy` needs `--yes`. `viewer` now refuses an argument it does not know (exit 2) instead of ignoring it.
40
+
41
+ ### Patch Changes
42
+
43
+ - fa8d762: Fixed: `login` now also asks for `billing:read`, so `whoami` shows the balance on the documented path instead of "not visible to this key". The approval page still lets you untick it. A key from an earlier `login` keeps the permissions it was given: run `login` again (after `logout`) to get one that sees the balance.
44
+ - 82ca2ac: Changed: a test that never ends is cut by its time budget (`setTestTimeout(ms)`, else `testTimeoutMs`), not by a count of statements: the test fails naming the budget and the statement it was on, and its teardown blocks still play. Code that never returns to the runner, such as a regular expression that backtracks for minutes, is stopped a second after the budget, and its teardown blocks cannot play. A run that keeps too much in memory ends on a fixed memory limit, and the runner keeps going. `@unotest/dsl/executor` exports the budget readers a second engine shares with the interpreter: `durationBudget`, `timeLeft`, `withinDeadline`, `runHeapLimitBytes` and the `BudgetOptions` / `BudgetSite` types.
45
+ - 440bdcb: Changed: `@unotest/dsl/executor` exports what a second scenario engine needs to behave like the interpreter: the `waitUntil` and `assertNever` option readers and verdicts (`readWaitUntilOptions`, `waitUntilVerdict`, `readAssertNeverOptions`, `assertNeverVerdict`), a synchronous polling loop (`pollWindowSync`), `tagText`, `toExecutionError` and `softFailuresError`. A rollback frame is now `TeardownFrame<B>`, generic in what the engine that registered it plays it with (`ScenarioTeardownFrame` is `TeardownFrame<Closure>`); an engine handed a frame another engine registered refuses it with `ForeignTeardownFrameError`. Scenarios run exactly as before.
46
+ - be2f2dc: Changed: debugging works on V8 as it did before: breakpoints, Step, the viewer's Pause, the pause on a failure nobody catches, Vars while paused, and Stop on a pause.
47
+ - 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
+ - 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
+ - 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: Fixed: a scenario's environment no longer holds the runner's own credentials.
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.
56
+
57
+ The docs now say plainly what this is: a guard against a slip, not a
58
+ sandbox. A scenario runs with the rights of the account that starts it.
59
+
60
+ - 223f143: Fixed: the viewer on a box starts again. Since 0.50.0 it created the breakpoint folder in the project at startup; a box mounts the project read-only, so the viewer exited and was restarted every few seconds, and the box showed "the viewer for this environment is not running".
61
+
62
+ The viewer now creates nothing at startup: the breakpoint folder appears with the first breakpoint. On a box the breakpoints live in the environment's run history, where both the viewer and the runs can write. Locally nothing changes: the store is still `.unotest/debugger.json`.
63
+
64
+ A breakpoint that cannot be saved because the folder is read-only is no longer lost silently: the viewer shows the reason above the steps.
65
+
66
+ `@unotest/protocol`: `localStateDirFrom(env, projectRoot)` names the directory of the tool's local state, and `debuggerFileNameFor(suffix)` the store's file name inside it. `@unotest/core`: `debuggerFileIn(stateDir, projectRoot, suffix)` takes that directory explicitly; `debuggerFile` and `readDebuggerBreakpoints` take an optional environment; `isNotWritable(error)` tells a read-only refusal apart.
67
+
68
+ - Updated dependencies [82ca2ac]
69
+ - Updated dependencies [440bdcb]
70
+ - Updated dependencies [dd454ed]
71
+ - Updated dependencies [843b58e]
72
+ - Updated dependencies [9159456]
73
+ - Updated dependencies [1946b74]
74
+ - Updated dependencies [423d119]
75
+ - Updated dependencies [223f143]
76
+ - @unotest/dsl@0.52.0
77
+ - @unotest/protocol@0.52.0
78
+ - @unotest/viewer@0.52.0
79
+ - @unotest/core@0.52.0
80
+ - @unotest/grounder-client@0.52.0
81
+
3
82
  ## [0.51.0] - 2026-10-15
4
83
 
5
84
  ### Minor Changes
@@ -2211,7 +2290,7 @@ picker on` fetches this project's own access and writes the three grounder
2211
2290
 
2212
2291
  That screen named one command:
2213
2292
 
2214
- npx @unotest/web bundle push --run --env ENVIRONMENT
2293
+ npx @unotest/web bundle push --run --env ENVIRONMENT
2215
2294
 
2216
2295
  In a project that has just been created, the command refuses with `no box
2217
2296
  address` before it does anything: the project holds neither the box's address
@@ -2220,8 +2299,8 @@ address` before it does anything: the project holds neither the box's address
2220
2299
 
2221
2300
  The screen now names both steps, in the order they have to happen:
2222
2301
 
2223
- npx @unotest/web box access larch
2224
- npx @unotest/web bundle push --run --env ENVIRONMENT
2302
+ npx @unotest/web box access larch
2303
+ npx @unotest/web bundle push --run --env ENVIRONMENT
2225
2304
 
2226
2305
  The box's own name is filled in when its licence carries one. `box access`
2227
2306
  with no name refuses, and its refusal offers to create a box — to somebody who
@@ -99,7 +99,8 @@ function dispatch(sub) {
99
99
  // arguments belong to the command, not to the dispatcher.
100
100
  return cliRoute(args);
101
101
  case "viewer":
102
- return cliRoute(["viewer"]);
102
+ // Forwarded whole: `--open` belongs to the command.
103
+ return cliRoute(args);
103
104
  case "prepare-fix":
104
105
  return {
105
106
  dist: "dist/runner/prepare-fix.js",
@@ -120,19 +120,24 @@ declare const FailureBundleConfigSchema: z.ZodObject<{
120
120
  type FailureBundleConfig = z.infer<typeof FailureBundleConfigSchema>;
121
121
  declare const DialogPolicySchema: z.ZodEnum<["accept", "dismiss", "manual"]>;
122
122
  type DialogPolicy = z.infer<typeof DialogPolicySchema>;
123
- 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:unsupported-statement", "validator:unsupported-expression", "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:unsupported-string-member", "validator:array-member-receiver", "validator:options", "validator:out-of-language", "validator:implicit-declaration", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:library-member", "validator:unknown-member"]>;
123
+ /** Validator rules a scenario that runs as JavaScript made moot. They
124
+ * report nothing; the ids stay in the enum so a config naming one still
125
+ * loads, and `lint` warns that the entry does nothing. Gone in the next
126
+ * major. */
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"]>;
124
129
  type LinterRuleId = z.infer<typeof LinterRuleIdSchema>;
125
130
  declare const LinterSeveritySchema: z.ZodEnum<["off", "warn", "error"]>;
126
131
  type LinterSeverity = z.infer<typeof LinterSeveritySchema>;
127
132
  declare const LinterConfigSchema: z.ZodObject<{
128
133
  enabled: z.ZodBoolean;
129
- 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:unsupported-statement", "validator:unsupported-expression", "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:unsupported-string-member", "validator:array-member-receiver", "validator:options", "validator:out-of-language", "validator:implicit-declaration", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:library-member", "validator:unknown-member"]>, 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: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"]>>;
130
135
  }, "strict", z.ZodTypeAny, {
131
136
  enabled: boolean;
132
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
133
138
  }, {
134
139
  enabled: boolean;
135
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
136
141
  }>;
137
142
  type LinterConfig = z.infer<typeof LinterConfigSchema>;
138
143
  declare const QueueConfigSchema: z.ZodObject<{
@@ -634,13 +639,13 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
634
639
  }>;
635
640
  linter: z.ZodObject<{
636
641
  enabled: z.ZodBoolean;
637
- 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:unsupported-statement", "validator:unsupported-expression", "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:unsupported-string-member", "validator:array-member-receiver", "validator:options", "validator:out-of-language", "validator:implicit-declaration", "validator:evaluate-interpolation", "validator:page-code-closure", "validator:page-code-syntax", "validator:page-code-string", "validator:template-escape-changed", "validator:library-member", "validator:unknown-member"]>, 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: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"]>>;
638
643
  }, "strict", z.ZodTypeAny, {
639
644
  enabled: boolean;
640
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
641
646
  }, {
642
647
  enabled: boolean;
643
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
644
649
  }>;
645
650
  mcp: z.ZodObject<{
646
651
  transport: z.ZodLiteral<"stdio">;
@@ -769,7 +774,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
769
774
  defaultNavigationTimeoutMs: number;
770
775
  linter: {
771
776
  enabled: boolean;
772
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
773
778
  };
774
779
  mcp: {
775
780
  transport: "stdio";
@@ -851,7 +856,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
851
856
  defaultNavigationTimeoutMs: number;
852
857
  linter: {
853
858
  enabled: boolean;
854
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
855
860
  };
856
861
  mcp: {
857
862
  transport: "stdio";
@@ -938,7 +943,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
938
943
  defaultNavigationTimeoutMs: number;
939
944
  linter: {
940
945
  enabled: boolean;
941
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
942
947
  };
943
948
  mcp: {
944
949
  transport: "stdio";
@@ -1020,7 +1025,7 @@ declare const UnotestConfigSchema: z.ZodEffects<z.ZodObject<{
1020
1025
  defaultNavigationTimeoutMs: number;
1021
1026
  linter: {
1022
1027
  enabled: boolean;
1023
- rules: Partial<Record<"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:unsupported-statement" | "validator:unsupported-expression" | "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:unsupported-string-member" | "validator:array-member-receiver" | "validator:options" | "validator:out-of-language" | "validator:implicit-declaration" | "validator:evaluate-interpolation" | "validator:page-code-closure" | "validator:page-code-syntax" | "validator:page-code-string" | "validator:template-escape-changed" | "validator:library-member" | "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: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">>;
1024
1029
  };
1025
1030
  mcp: {
1026
1031
  transport: "stdio";
@@ -1082,4 +1087,4 @@ type UnotestConfig = z.infer<typeof UnotestConfigSchema>;
1082
1087
  type UnotestConfigInput = z.input<typeof UnotestConfigSchema>;
1083
1088
  declare const DEFAULT_CONFIG: UnotestConfig;
1084
1089
 
1085
- 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, 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 };
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 };
@@ -1 +1 @@
1
- var _0x4a59ba=_0x22e4;(function(_0x380e73,_0x53d37d){var _0x14390d={_0x2741fd:0x1a3,_0x46eb96:0x1d1,_0x3f8632:0x1d3,_0x55a817:0x18e,_0x3c9882:0x1b9,_0x274aed:0x1e3},_0x35a80a=_0x22e4,_0x437c9b=_0x380e73();while(!![]){try{var _0x1dedce=-parseInt(_0x35a80a(_0x14390d._0x2741fd))/0x1*(parseInt(_0x35a80a(0x1a8))/0x2)+-parseInt(_0x35a80a(0x1b7))/0x3+-parseInt(_0x35a80a(_0x14390d._0x46eb96))/0x4+-parseInt(_0x35a80a(_0x14390d._0x3f8632))/0x5+parseInt(_0x35a80a(_0x14390d._0x55a817))/0x6+parseInt(_0x35a80a(0x200))/0x7*(-parseInt(_0x35a80a(_0x14390d._0x3c9882))/0x8)+parseInt(_0x35a80a(_0x14390d._0x274aed))/0x9;if(_0x1dedce===_0x53d37d)break;else _0x437c9b['push'](_0x437c9b['shift']());}catch(_0x30e74f){_0x437c9b['push'](_0x437c9b['shift']());}}}(_0x284d,0x2f3eb));var __defProp=Object['defineProperty'],__name=(_0x5154a0,_0x58d327)=>__defProp(_0x5154a0,_0x4a59ba(0x1bb),{'value':_0x58d327,'configurable':!![]});import{z as _0x1fe3aa}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0x1ba2e2,_0x20ddc1){var _0x52c04c={_0x1bcad9:0x1d8},_0x34fa72=_0x4a59ba;let _0x5aed4c;for(const _0x39252a of _0x20ddc1){const _0xdab434=levenshteinDistance(_0x1ba2e2[_0x34fa72(_0x52c04c._0x1bcad9)](),_0x39252a[_0x34fa72(_0x52c04c._0x1bcad9)]());if(_0xdab434>MAX_EDITS)continue;if(_0x5aed4c===void 0x0||_0xdab434<_0x5aed4c['distance'])_0x5aed4c={'key':_0x39252a,'distance':_0xdab434};}return _0x5aed4c?.['key'];}__name(closestKey,_0x4a59ba(0x1ad));function unknownKeyMessage(_0x5d0d12,_0x42ba05){var _0x3c5f7c={_0x3aee3c:0x1ea,_0x34ad35:0x1cf};return _0x5d0d12['map'](_0x562205=>{var _0x1940cb=_0x22e4;const _0x12dd88=closestKey(_0x562205,_0x42ba05);return _0x12dd88===void 0x0?_0x1940cb(_0x3c5f7c._0x3aee3c)+_0x562205+_0x1940cb(_0x3c5f7c._0x34ad35):_0x1940cb(0x1ea)+_0x562205+_0x1940cb(0x1d7)+_0x12dd88+'\x22?';})['join'](';\x20');}__name(unknownKeyMessage,_0x4a59ba(0x1be));function strictObject(_0x15c59d){var _0xe19253={_0x548076:0x1ec},_0x5a0b32=_0x4a59ba;const _0x1fca03=Object['keys'](_0x15c59d);return z[_0x5a0b32(_0xe19253._0x548076)](_0x15c59d,{'errorMap':__name((_0x50414d,_0x1eea77)=>_0x50414d[_0x5a0b32(0x1ba)]===z[_0x5a0b32(0x1e4)][_0x5a0b32(0x1f0)]?{'message':unknownKeyMessage(_0x50414d['keys'],_0x1fca03)}:{'message':_0x1eea77[_0x5a0b32(0x1a0)]},'errorMap')})[_0x5a0b32(0x1f4)]();}__name(strictObject,_0x4a59ba(0x196));import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0xa5eed0}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0xa5eed0[_0x4a59ba(0x1ec)]({'userDataDir':_0xa5eed0[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1)['optional'](),'profile':_0xa5eed0[_0x4a59ba(0x204)]('per-test')[_0x4a59ba(0x1e0)](),'args':_0xa5eed0[_0x4a59ba(0x1d6)](_0xa5eed0[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1))['optional']()})['strict'](),PROFILES={'ios':{'browsers':[_0x4a59ba(0x1a6)],'device':_0x4a59ba(0x1f1),'displayMode':_0x4a59ba(0x1cd)}},PROFILE_NAMES=Object[_0x4a59ba(0x18b)](PROFILES);function profileConflict(_0x455ac9,_0x5e5c54){var _0x548a79={_0x1e939f:0x1f9},_0x42745e=_0x4a59ba;return'profile\x20\x22'+_0x455ac9+'\x22\x20sets\x20'+_0x5e5c54[_0x42745e(0x1f8)](_0x324525=>'`'+_0x324525+'`')[_0x42745e(_0x548a79._0x1e939f)](_0x42745e(0x198))+'\x20itself\x20—\x20drop\x20'+(_0x5e5c54[_0x42745e(0x1ff)]===0x1?'it':_0x42745e(0x1bf))+'\x20from\x20the\x20config,\x20or\x20drop\x20the\x20profile.';}__name(profileConflict,_0x4a59ba(0x190));var BrowserSchema=_0x1fe3aa[_0x4a59ba(0x1eb)]([_0x4a59ba(0x199),_0x4a59ba(0x1a2),'webkit']),SYSTEM_BROWSER_CHANNELS=[_0x4a59ba(0x1d4),_0x4a59ba(0x1a1),_0x4a59ba(0x1a4),_0x4a59ba(0x199)],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x1fe3aa['union']([_0x1fe3aa['enum'](SYSTEM_BROWSER_CHANNELS),_0x1fe3aa[_0x4a59ba(0x204)](BUNDLED_BROWSER_CHANNEL)[_0x4a59ba(0x1cc)](()=>null),_0x1fe3aa['null']()])['optional'](),DisplayModeSchema=_0x1fe3aa[_0x4a59ba(0x1eb)]([_0x4a59ba(0x1cb),_0x4a59ba(0x1cd),_0x4a59ba(0x1d2),_0x4a59ba(0x1a9)]),ViewportSchema=strictObject({'width':_0x1fe3aa[_0x4a59ba(0x1ac)]()['int']()['positive']()['optional'](),'height':_0x1fe3aa['number']()[_0x4a59ba(0x1ef)]()['positive']()[_0x4a59ba(0x1e0)](),'deviceScaleFactor':_0x1fe3aa['number']()[_0x4a59ba(0x1e1)]()[_0x4a59ba(0x1e0)]()}),ConfigViewportSchema=ViewportSchema[_0x4a59ba(0x1c1)]();function viewportDeviceConflict(_0x5824e9,_0x49020b,_0x1cc1a9='viewport:\x20null'){var _0x18be22={_0x27ef17:0x1c6},_0x5272db=_0x4a59ba;if(_0x5824e9!==null||_0x49020b===void 0x0)return void 0x0;return _0x1cc1a9+'\x20keeps\x20the\x20real\x20browser\x20window,\x20and\x20device\x20\x22'+_0x49020b+_0x5272db(_0x18be22._0x27ef17);}__name(viewportDeviceConflict,_0x4a59ba(0x206));var RetryReasonSchema=_0x1fe3aa[_0x4a59ba(0x1eb)](['transient','network','crash']),RetryConfigSchema=strictObject({'count':_0x1fe3aa['number']()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1c5)](0x0)[_0x4a59ba(0x1a5)](0xa),'on':_0x1fe3aa['array'](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x1fe3aa[_0x4a59ba(0x204)](!![])['default'](!![]),'tier2':_0x1fe3aa[_0x4a59ba(0x1b0)](),'tier3':strictObject({'network':_0x1fe3aa[_0x4a59ba(0x1b0)](),'video':_0x1fe3aa[_0x4a59ba(0x1b0)]()}),'retention':strictObject({'runs':_0x1fe3aa['number']()['int']()[_0x4a59ba(0x1e1)](),'days':_0x1fe3aa['number']()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)]()}),'storageDir':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1),'pageHtml':_0x1fe3aa['enum']([_0x4a59ba(0x1fa),_0x4a59ba(0x1af)])}),DialogPolicySchema=_0x1fe3aa[_0x4a59ba(0x1eb)]([_0x4a59ba(0x1d0),_0x4a59ba(0x18f),_0x4a59ba(0x1c0)]),LinterRuleIdSchema=_0x1fe3aa[_0x4a59ba(0x1eb)]([_0x4a59ba(0x1ca),_0x4a59ba(0x1b1),_0x4a59ba(0x18a),'lint:pause-explicit',_0x4a59ba(0x1d9),'lint:evaluate-discouraged',_0x4a59ba(0x18c),_0x4a59ba(0x193),_0x4a59ba(0x202),_0x4a59ba(0x195),'lint:echo-assert','lint:api-call-file-body',_0x4a59ba(0x1f6),_0x4a59ba(0x197),'lint:legacy-layout',_0x4a59ba(0x1bd),_0x4a59ba(0x1b8),'lint:env-host-from-base',_0x4a59ba(0x1b5),'lint:shadows-dsl-function','lint:skip-outside-test','lint:set-test-timeout-outside-test','lint:filter-unknown-option',_0x4a59ba(0x1ae),_0x4a59ba(0x1ee),_0x4a59ba(0x1f5),_0x4a59ba(0x1f3),_0x4a59ba(0x1dc),_0x4a59ba(0x194),_0x4a59ba(0x1db),_0x4a59ba(0x19e),_0x4a59ba(0x1f2),_0x4a59ba(0x19f),'validator:if-shape',_0x4a59ba(0x1a7),'validator:unsupported-statement','validator:unsupported-expression',_0x4a59ba(0x1ed),_0x4a59ba(0x1aa),'validator:list-arg',_0x4a59ba(0x189),_0x4a59ba(0x1b2),_0x4a59ba(0x1c3),'validator:teardown-name-conflict',_0x4a59ba(0x1e2),_0x4a59ba(0x192),_0x4a59ba(0x1d5),_0x4a59ba(0x1bc),_0x4a59ba(0x1fc),_0x4a59ba(0x19b),_0x4a59ba(0x1f7),_0x4a59ba(0x207),'validator:options',_0x4a59ba(0x1fe),'validator:implicit-declaration',_0x4a59ba(0x18d),'validator:page-code-closure',_0x4a59ba(0x1df),'validator:page-code-string',_0x4a59ba(0x1ce),_0x4a59ba(0x1dd),_0x4a59ba(0x20b)]),LinterSeveritySchema=_0x1fe3aa[_0x4a59ba(0x1eb)]([_0x4a59ba(0x19a),_0x4a59ba(0x1da),_0x4a59ba(0x1ab)]),LinterConfigSchema=strictObject({'enabled':_0x1fe3aa[_0x4a59ba(0x1b0)](),'rules':_0x1fe3aa['record'](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x1fe3aa['boolean']()['default'](!![]),'concurrency':_0x1fe3aa['number']()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)]()[_0x4a59ba(0x1de)](0x1)}),ScheduleSchema=strictObject({'collection':_0x1fe3aa['string']()['min'](0x1),'cron':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1),'env':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1)[_0x4a59ba(0x1e0)](),'prepare':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1)[_0x4a59ba(0x1e0)]()}),McpConfigSchema=strictObject({'transport':_0x1fe3aa[_0x4a59ba(0x204)](_0x4a59ba(0x201))}),SandboxConfigSchema=strictObject({'shellCwd':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1e0)](),'shellTimeoutMs':_0x1fe3aa[_0x4a59ba(0x1ac)]()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)]()[_0x4a59ba(0x1e0)](),'exportSecrets':_0x1fe3aa[_0x4a59ba(0x1d6)](_0x1fe3aa[_0x4a59ba(0x1c8)]())[_0x4a59ba(0x1e0)](),'database':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1e0)](),'apiBaseUrl':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x20a)]()[_0x4a59ba(0x1e0)](),'uploadDir':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1e0)](),'readRoots':_0x1fe3aa[_0x4a59ba(0x1d6)](_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1))[_0x4a59ba(0x1e0)]()}),WebServerConfigSchema=strictObject({'command':_0x1fe3aa[_0x4a59ba(0x1c8)]()['min'](0x1),'url':_0x1fe3aa[_0x4a59ba(0x1c8)]()['url'](),'reuseExistingServer':_0x1fe3aa[_0x4a59ba(0x1b0)]()[_0x4a59ba(0x1de)](!![]),'timeoutMs':_0x1fe3aa['number']()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)]()[_0x4a59ba(0x1de)](0xea60)}),WebServersConfigSchema=_0x1fe3aa['union']([WebServerConfigSchema,_0x1fe3aa['array'](WebServerConfigSchema)[_0x4a59ba(0x1c5)](0x1)])[_0x4a59ba(0x1cc)](_0x25ff32=>Array[_0x4a59ba(0x1e8)](_0x25ff32)?_0x25ff32:[_0x25ff32])[_0x4a59ba(0x1c7)]((_0x309d01,_0x48d7cb)=>{var _0xc0e4ab={_0x21c5a5:0x20a,_0x285d7c:0x209,_0x1ff3bd:0x1e4,_0x2586ad:0x1b6},_0x3a2957=_0x4a59ba;const _0x75fdd7=new Set();_0x309d01[_0x3a2957(0x191)]((_0xc6131f,_0x1b3dcf)=>{var _0x63f2a0=_0x3a2957;_0x75fdd7[_0x63f2a0(0x1c9)](_0xc6131f[_0x63f2a0(_0xc0e4ab._0x21c5a5)])&&_0x48d7cb[_0x63f2a0(_0xc0e4ab._0x285d7c)]({'code':_0x1fe3aa[_0x63f2a0(_0xc0e4ab._0x1ff3bd)]['custom'],'path':[_0x1b3dcf,_0x63f2a0(_0xc0e4ab._0x21c5a5)],'message':_0x63f2a0(0x1e9)+_0x1b3dcf+_0x63f2a0(_0xc0e4ab._0x2586ad)+_0xc6131f[_0x63f2a0(0x20a)]+_0x63f2a0(0x19d)}),_0x75fdd7[_0x63f2a0(0x1c4)](_0xc6131f[_0x63f2a0(0x20a)]);});}),EnvConfigSchema=strictObject({'shared':_0x1fe3aa['array'](_0x1fe3aa[_0x4a59ba(0x1c8)]())[_0x4a59ba(0x1de)]([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x20a)]()[_0x4a59ba(0x1e0)](),'webServer':WebServersConfigSchema[_0x4a59ba(0x1e0)](),'generate':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1)[_0x4a59ba(0x1e0)](),'browsers':_0x1fe3aa[_0x4a59ba(0x1d6)](BrowserSchema)['min'](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema[_0x4a59ba(0x1e0)](),'device':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1)[_0x4a59ba(0x1e0)](),'profile':_0x1fe3aa[_0x4a59ba(0x1eb)](PROFILE_NAMES)['optional'](),'displayMode':DisplayModeSchema['optional'](),'timezone':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c2)](isTimeZone,_0x5a8f23=>({'message':'unknown\x20time\x20zone\x20\x22'+_0x5a8f23+'\x22\x20—\x20expected\x20an\x20IANA\x20name\x20such\x20as\x20\x22Europe/Madrid\x22'}))[_0x4a59ba(0x1e0)](),'locale':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c2)](isLocale,_0x8afdaf=>({'message':_0x4a59ba(0x1b3)+_0x8afdaf+_0x4a59ba(0x1e6)}))[_0x4a59ba(0x1e0)](),'maxContexts':_0x1fe3aa[_0x4a59ba(0x1ac)]()['int']()[_0x4a59ba(0x1e1)]()[_0x4a59ba(0x1e0)](),'launch':LaunchConfigSchema[_0x4a59ba(0x1e0)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x1fe3aa['string']()[_0x4a59ba(0x1e0)](),'testDir':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1),'helpersDir':_0x1fe3aa[_0x4a59ba(0x1c8)]()[_0x4a59ba(0x1c5)](0x1),'defaultTimeoutMs':_0x1fe3aa[_0x4a59ba(0x1ac)]()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)](),'defaultNavigationTimeoutMs':_0x1fe3aa['number']()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)](),'teardownTimeoutMs':_0x1fe3aa[_0x4a59ba(0x1ac)]()[_0x4a59ba(0x1ef)]()[_0x4a59ba(0x1e1)]()['optional'](),'testTimeoutMs':_0x1fe3aa[_0x4a59ba(0x1ac)]()['int']()[_0x4a59ba(0x1e1)]()['optional'](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x1fe3aa[_0x4a59ba(0x1d6)](ScheduleSchema)[_0x4a59ba(0x1de)]([]),'sandbox':SandboxConfigSchema})[_0x4a59ba(0x1c7)]((_0x1663d0,_0xc29648)=>{var _0x4de46d={_0x491f29:0x19c,_0x2d3706:0x1f9,_0x45d830:0x203,_0xcf0bee:0x1ff},_0x2ae329=_0x4a59ba;const _0x5bf322=viewportDeviceConflict(_0x1663d0['viewport'],_0x1663d0['device']);_0x5bf322!==void 0x0&&_0xc29648['addIssue']({'code':_0x1fe3aa[_0x2ae329(0x1e4)][_0x2ae329(0x205)],'path':[_0x2ae329(0x1b4)],'message':_0x5bf322});if(_0x1663d0[_0x2ae329(0x19c)]!==void 0x0){const _0x3d6356=PROFILES[_0x1663d0[_0x2ae329(_0x4de46d._0x491f29)]],_0x4abffb=[..._0x1663d0[_0x2ae329(0x1fd)]['join']()!==_0x3d6356[_0x2ae329(0x1fd)][_0x2ae329(_0x4de46d._0x2d3706)]()?[_0x2ae329(0x1fd)]:[],..._0x1663d0['device']!==_0x3d6356[_0x2ae329(0x203)]?[_0x2ae329(_0x4de46d._0x45d830)]:[]];_0x4abffb[_0x2ae329(_0x4de46d._0xcf0bee)]>0x0&&_0xc29648['addIssue']({'code':_0x1fe3aa[_0x2ae329(0x1e4)][_0x2ae329(0x205)],'path':[_0x2ae329(_0x4de46d._0x491f29)],'message':profileConflict(_0x1663d0['profile'],_0x4abffb)});}});function isTimeZone(_0x566e2c){var _0x2ea178={_0x194c99:0x1ff},_0x396f1f=_0x4a59ba;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x566e2c}),_0x566e2c[_0x396f1f(_0x2ea178._0x194c99)]>0x0;}catch{return![];}}__name(isTimeZone,_0x4a59ba(0x1e5));function isLocale(_0x3dfb10){try{return Intl['getCanonicalLocales'](_0x3dfb10)['length']===0x1;}catch{return![];}}function _0x284d(){var _0x74549=['iIdIGjqGzxHWzwn0zwqGysbcq1aGndCGDgfNihn1y2GGyxmGiMvZluvtiG','lNvUB3rLC3qVzMfPBhvYzxm','AxnbCNjHEq','D2vIu2vYDMvYwW','Dw5RBM93BIbRzxKGiG','zw51Bq','B2jQzwn0','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','BgLUDdP0ExbLzc1ZDgvWlwf2ywLSywjSzq','Aw50','Dw5YzwnVz25PEMvKx2TLExm','AvbOB25Lide1','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','DMfSAwrHDg9YoMfYAxr5','C3rYAwn0','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0CMLUzY1Tzw1Izxi','BwfW','AM9PBG','CMvKywn0zwq','AxnmB2nHBgu','DMfSAwrHDg9YoNrVCc1SzxzLBc1JB25ZDa','yNjVD3nLCNm','DMfSAwrHDg9YoM91Dc1VzI1Syw5NDwfNzq','BgvUz3rO','mta1wvHqA3vU','C3rKAw8','BgLUDdPNB3rVlwnVBMnHDa','zgv2AwnL','BgL0zxjHBa','y3vZDg9T','DMLLD3bVCNrezxzPy2vdB25MBgLJDa','DMfSAwrHDg9YoMfYCMf5lw1LBwjLCI1YzwnLAxzLCG','Dw5VDgvZDc9LmMu','ywrKsxnZDwu','DxjS','DMfSAwrHDg9YoNvUA25VD24TBwvTyMvY','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','A2v5CW','BgLUDdPZy2vUyxjPBY1PBI1YB290','DMfSAwrHDg9YoMv2ywX1yxrLlwLUDgvYCg9SyxrPB24','mta2mJy5nKfUDwLRwa','zgLZBwLZCW','ChjVzMLSzunVBMzSAwn0','zM9YrwfJAa','DMfSAwrHDg9YoMfZC2vYDc1UzxzLCI1ZAgfWzq','BgLUDdPTDxn0ywnOzs1PBI1KC2W','DMfSAwrHDg9YoNn0zxaTy292zxjHz2u','BgLUDdPYzwDLEc1PBNzHBgLK','C3rYAwn0t2jQzwn0','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','igfUzca','y2HYB21PDw0','B2zM','DMfSAwrHDg9YoNn0CMLUzY1Tzw1IzxiTCMvJzwL2zxi','ChjVzMLSzq','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','DMfSAwrHDg9YoM1LDgeTC2HHCgu','DMfSAwrHDg9YoMzVCI1ZAgfWzq','zgvMyxvSDevYCM9Y','BxnLzgDL','zMLYzwzVEa','nw1HBLPqEa','y2HYB21LlwjLDge','Bwf4','D2vIA2L0','DMfSAwrHDg9YoNzHCI1ZAgfWzq','nZi1nJHhD1zvwNu','zNvSBhnJCMvLBG','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','zxjYB3i','BNvTyMvY','y2XVC2vZDeTLEq','BgLUDdPYB2XLlxvUA25VD24TB3b0Aw9U','zNvSBa','yM9VBgvHBG','BgLUDdP4Cgf0Aa','DMfSAwrHDg9YoMnVBNn0lwfZC2LNBG','Aw52ywXPzcbSB2nHBguGiG','DMLLD3bVCNq','BgLUDdPVBMuTDgvZDc1WzxiTzMLSzq','xs51CMWG','mZmZode5AKToy09s','BgLUDdPLEhrLCM5HBc12yxjPywjSzs1UBY12ywX1zq','mtmXmde2vwr2sxzu','y29Kzq','BMfTzq','DMfSAwrHDg9YoMnOywLUlxjLy2vPDMvY','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','Dw5RBM93BKTLEu1LC3nHz2u','DgHLBq','BwfUDwfS','BNvSBgfIBgu','CMvMAw5L','DMfSAwrHDg9YoNrLyxjKB3DUlxnOyxbL','ywrK','BwLU','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','C3vWzxjszwzPBMu','C3rYAw5N','AgfZ','BgLUDdPKzwvWlwnZCW','yNjVD3nLCG','DhjHBNnMB3jT','C3rHBMrHBg9Uzq','DMfSAwrHDg9YoNrLBxbSyxrLlwvZy2fWzs1JAgfUz2vK','iIdIGjqGBM90igeGy29UzMLNigTLEtSGy2HLy2SGEw91CIbaDw5VDgvZDc93zwiGDMvYC2LVBIbPzIbPDcbJB21LCYbMCM9TigeGBMv3zxiGCMvSzwfZzq','ywnJzxb0','otm2ntCYswTHAu1T','BwLUAw1HBc11Aq','mtu4ntK1AuXbAffW','y2HYB21L','DMfSAwrHDg9YoMXVy2f0B3iTAw5KzxGTywnJzxnZ','yxjYyxK','iIdIGjqGzgLKihLVDsbTzwfUici','Dg9mB3DLCKnHC2u','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','D2fYBG','DMfSAwrHDg9YoNn0zxaTC2HHCgu','DMfSAwrHDg9YoMfYzY1RAw5K','DMfSAwrHDg9YoMXPyNjHCNKTBwvTyMvY','zgvMyxvSDa','DMfSAwrHDg9YoNbHz2uTy29Kzs1ZEw50yxG','B3b0Aw9UywW','Cg9ZAxrPDMu','DMfSAwrHDg9YoNDHAxqTDw50AwWTC2HHCgu','nZm4ntq4muX3yxn5uq','wM9KsxnZDwvdB2rL','AxnuAw1LwM9Uzq'];_0x284d=function(){return _0x74549;};return _0x284d();}__name(isLocale,_0x4a59ba(0x1fb));function _0x22e4(_0x4cbd9e,_0x2c89b4){_0x4cbd9e=_0x4cbd9e-0x189;var _0x284d21=_0x284d();var _0x22e425=_0x284d21[_0x4cbd9e];if(_0x22e4['sLPXsJ']===undefined){var _0x4ad10a=function(_0x233ea4){var _0x1fabf5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1fe3aa='',_0xa5eed0='';for(var _0x5154a0=0x0,_0x58d327,_0x1ba2e2,_0x20ddc1=0x0;_0x1ba2e2=_0x233ea4['charAt'](_0x20ddc1++);~_0x1ba2e2&&(_0x58d327=_0x5154a0%0x4?_0x58d327*0x40+_0x1ba2e2:_0x1ba2e2,_0x5154a0++%0x4)?_0x1fe3aa+=String['fromCharCode'](0xff&_0x58d327>>(-0x2*_0x5154a0&0x6)):0x0){_0x1ba2e2=_0x1fabf5['indexOf'](_0x1ba2e2);}for(var _0x5aed4c=0x0,_0x39252a=_0x1fe3aa['length'];_0x5aed4c<_0x39252a;_0x5aed4c++){_0xa5eed0+='%'+('00'+_0x1fe3aa['charCodeAt'](_0x5aed4c)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa5eed0);};_0x22e4['gMKZxK']=_0x4ad10a,_0x22e4['evyCbe']={},_0x22e4['sLPXsJ']=!![];}var _0x12ae93=_0x284d21[0x0],_0x456b92=_0x4cbd9e+_0x12ae93,_0x62ccad=_0x22e4['evyCbe'][_0x456b92];return!_0x62ccad?(_0x22e425=_0x22e4['gMKZxK'](_0x22e425),_0x22e4['evyCbe'][_0x456b92]=_0x22e425):_0x22e425=_0x62ccad,_0x22e425;}var DEFAULT_CONFIG={'browsers':[_0x4a59ba(0x199)],'retry':{'count':0x0,'on':['transient']},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x4a59ba(0x1e7),'pageHtml':_0x4a59ba(0x1fa)},'dialogPolicy':_0x4a59ba(0x1d0),'testDir':_0x4a59ba(0x208),'helpersDir':'unotest/e2e/_helpers','defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':_0x4a59ba(0x1da),'lint:xpath':_0x4a59ba(0x1da),'lint:obfuscated-class':_0x4a59ba(0x1da),'lint:pause-explicit':_0x4a59ba(0x1da),'lint:disambig-by-index':_0x4a59ba(0x19a),'lint:evaluate-discouraged':_0x4a59ba(0x1da),'lint:scenario-in-root':_0x4a59ba(0x1ab),'lint:mustache-in-dsl':'error','lint:goto-concat':'warn','lint:regex-invalid':_0x4a59ba(0x1ab),'lint:echo-assert':_0x4a59ba(0x1da),'lint:lint-ok-missing-reason':_0x4a59ba(0x1da),'lint:flow-returns-value':_0x4a59ba(0x1da),'lint:legacy-layout':_0x4a59ba(0x1da),'lint:external-variable-undeclared':_0x4a59ba(0x1ab),'lint:external-variable-no-value':_0x4a59ba(0x1ab),'lint:env-host-from-base':'error','lint:one-test-per-file':'warn','lint:shadows-dsl-function':'warn','lint:skip-outside-test':'error','lint:set-test-timeout-outside-test':_0x4a59ba(0x1ab),'lint:filter-unknown-option':_0x4a59ba(0x1ab),'lint:role-unknown-option':_0x4a59ba(0x1ab),'validator:unknown-function':_0x4a59ba(0x1ab)}},'env':{'shared':[]},'mcp':{'transport':_0x4a59ba(0x201)},'queue':{'enabled':!![],'concurrency':0x1},'schedules':[],'sandbox':{}};export{BROWSER_CHANNEL_WORDS,BrowserChannelSchema,BrowserSchema,DEFAULT_CONFIG,DialogPolicySchema,DisplayModeSchema,EnvConfigSchema,FailureBundleConfigSchema,LinterConfigSchema,LinterRuleIdSchema,LinterSeveritySchema,McpConfigSchema,QueueConfigSchema,RetryConfigSchema,RetryReasonSchema,SYSTEM_BROWSER_CHANNELS,SandboxConfigSchema,ScheduleSchema,UnotestConfigSchema,ViewportSchema,WebServerConfigSchema,WebServersConfigSchema,viewportDeviceConflict};
1
+ var _0x94fbd1=_0x43b1;(function(_0x16aa0d,_0x3894a3){var _0x1804f1={_0x2bbdc2:0x191,_0x11f89b:0x1b3,_0x32a0b8:0x1a6,_0x1eefcc:0x1ab,_0x237c84:0x1b0},_0x21c4de=_0x43b1,_0x31e415=_0x16aa0d();while(!![]){try{var _0x59ba74=parseInt(_0x21c4de(_0x1804f1._0x2bbdc2))/0x1*(-parseInt(_0x21c4de(0x167))/0x2)+-parseInt(_0x21c4de(_0x1804f1._0x11f89b))/0x3*(parseInt(_0x21c4de(_0x1804f1._0x32a0b8))/0x4)+-parseInt(_0x21c4de(0x1b1))/0x5+-parseInt(_0x21c4de(_0x1804f1._0x1eefcc))/0x6+-parseInt(_0x21c4de(0x193))/0x7+-parseInt(_0x21c4de(0x1b9))/0x8+-parseInt(_0x21c4de(0x16c))/0x9*(-parseInt(_0x21c4de(_0x1804f1._0x237c84))/0xa);if(_0x59ba74===_0x3894a3)break;else _0x31e415['push'](_0x31e415['shift']());}catch(_0x2766dc){_0x31e415['push'](_0x31e415['shift']());}}}(_0x2246,0x91e94));var __defProp=Object['defineProperty'],__name=(_0x4a7d26,_0x30a697)=>__defProp(_0x4a7d26,'name',{'value':_0x30a697,'configurable':!![]});import{z as _0x148b79}from'zod';import{z}from'zod';import{levenshteinDistance}from'@unotest/core';var MAX_EDITS=0x2;function closestKey(_0xb10a8e,_0x263039){var _0x4fc4e5={_0x221a0b:0x1b4},_0x1b9a3e=_0x43b1;let _0x41e896;for(const _0xe180b2 of _0x263039){const _0x24dfe0=levenshteinDistance(_0xb10a8e['toLowerCase'](),_0xe180b2[_0x1b9a3e(0x1c0)]());if(_0x24dfe0>MAX_EDITS)continue;if(_0x41e896===void 0x0||_0x24dfe0<_0x41e896[_0x1b9a3e(_0x4fc4e5._0x221a0b)])_0x41e896={'key':_0xe180b2,'distance':_0x24dfe0};}return _0x41e896?.[_0x1b9a3e(0x1dc)];}__name(closestKey,_0x94fbd1(0x161));function unknownKeyMessage(_0xa4b08c,_0x110097){var _0xd8f418={_0x333bbb:0x1a2},_0x3f3a3f={_0x5d7dbd:0x197,_0x2413f5:0x155},_0x55b50e=_0x94fbd1;return _0xa4b08c[_0x55b50e(0x1a4)](_0x4e0045=>{var _0x11d7c3=_0x55b50e;const _0x4ca508=closestKey(_0x4e0045,_0x110097);return _0x4ca508===void 0x0?_0x11d7c3(0x197)+_0x4e0045+_0x11d7c3(0x1ac):_0x11d7c3(_0x3f3a3f._0x5d7dbd)+_0x4e0045+_0x11d7c3(_0x3f3a3f._0x2413f5)+_0x4ca508+'\x22?';})[_0x55b50e(_0xd8f418._0x333bbb)](';\x20');}__name(unknownKeyMessage,_0x94fbd1(0x15d));function strictObject(_0x53c3d1){var _0x475118={_0x391fd0:0x18c,_0x2bf7af:0x18e},_0x2216b7=_0x94fbd1;const _0x13443c=Object[_0x2216b7(0x1db)](_0x53c3d1);return z[_0x2216b7(_0x475118._0x391fd0)](_0x53c3d1,{'errorMap':__name((_0x232d32,_0x38a2f5)=>_0x232d32['code']===z['ZodIssueCode'][_0x2216b7(0x17c)]?{'message':unknownKeyMessage(_0x232d32['keys'],_0x13443c)}:{'message':_0x38a2f5[_0x2216b7(0x1c6)]},_0x2216b7(0x1bd))})[_0x2216b7(_0x475118._0x2bf7af)]();}__name(strictObject,'strictObject');import{BUNDLED_BROWSER_CHANNEL}from'@unotest/protocol';import{z as _0x10cb13}from'zod';import{UnotestError}from'@unotest/core';var LaunchConfigSchema=_0x10cb13[_0x94fbd1(0x18c)]({'userDataDir':_0x10cb13[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1)['optional'](),'profile':_0x10cb13[_0x94fbd1(0x1d8)]('per-test')[_0x94fbd1(0x159)](),'args':_0x10cb13[_0x94fbd1(0x190)](_0x10cb13['string']()['min'](0x1))[_0x94fbd1(0x159)]()})[_0x94fbd1(0x18e)](),PROFILES={'ios':{'browsers':[_0x94fbd1(0x1d7)],'device':'iPhone\x2015','displayMode':_0x94fbd1(0x1ce)}},PROFILE_NAMES=Object[_0x94fbd1(0x1db)](PROFILES);function profileConflict(_0x1b1b87,_0x29f83f){var _0x4b4cc9={_0x3ddd01:0x192,_0x456f21:0x156},_0x11a8f6=_0x94fbd1;return _0x11a8f6(_0x4b4cc9._0x3ddd01)+_0x1b1b87+_0x11a8f6(0x177)+_0x29f83f[_0x11a8f6(0x1a4)](_0xb23fb0=>'`'+_0xb23fb0+'`')['join']('\x20and\x20')+_0x11a8f6(_0x4b4cc9._0x456f21)+(_0x29f83f[_0x11a8f6(0x1a9)]===0x1?'it':_0x11a8f6(0x171))+'\x20from\x20the\x20config,\x20or\x20drop\x20the\x20profile.';}__name(profileConflict,'profileConflict');var BrowserSchema=_0x148b79['enum']([_0x94fbd1(0x19f),'firefox',_0x94fbd1(0x1d7)]),SYSTEM_BROWSER_CHANNELS=[_0x94fbd1(0x174),_0x94fbd1(0x1cf),'chrome-beta',_0x94fbd1(0x19f)],BROWSER_CHANNEL_WORDS=[...SYSTEM_BROWSER_CHANNELS,BUNDLED_BROWSER_CHANNEL],BrowserChannelSchema=_0x148b79[_0x94fbd1(0x1aa)]([_0x148b79[_0x94fbd1(0x1b5)](SYSTEM_BROWSER_CHANNELS),_0x148b79[_0x94fbd1(0x1d8)](BUNDLED_BROWSER_CHANNEL)[_0x94fbd1(0x158)](()=>null),_0x148b79[_0x94fbd1(0x186)]()])[_0x94fbd1(0x159)](),DisplayModeSchema=_0x148b79[_0x94fbd1(0x1b5)]([_0x94fbd1(0x1a3),_0x94fbd1(0x1ce),_0x94fbd1(0x16a),_0x94fbd1(0x1c2)]),ViewportSchema=strictObject({'width':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x1d9)]()['positive']()[_0x94fbd1(0x159)](),'height':_0x148b79[_0x94fbd1(0x1dd)]()['int']()[_0x94fbd1(0x18d)]()[_0x94fbd1(0x159)](),'deviceScaleFactor':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x18d)]()[_0x94fbd1(0x159)]()}),ConfigViewportSchema=ViewportSchema[_0x94fbd1(0x1b2)]();function _0x2246(){var _0x519669=['Aw50','AxnuAw1LwM9Uzq','A2v5CW','A2v5','BNvTyMvY','iIdIGjqGzgLKihLVDsbTzwfUici','igL0C2vSzIdIGjqGzhjVCca','D2vIu2vYDMvYwW','DhjHBNnMB3jT','B3b0Aw9UywW','zM9YrwfJAa','BgLUDdPSzwDHy3KTBgf5B3v0','Aw52ywXPzcbSB2nHBguGiG','Dw5RBM93BKTLEu1LC3nHz2u','ywrKsxnZDwu','BgLUDdPHCgKTy2fSBc1MAwXLlwjVzhK','DMfSAwrHDg9YoMXVy2f0B3iTAw5KzxGTywnJzxnZ','y2XVC2vZDeTLEq','DMfSAwrHDg9YoNnLBwfUDgLJlwXVC3m','BgLUDdPWyxvZzs1LEhbSAwnPDa','zgv2AwnL','DMfSAwrHDg9YoNDYyxbWzwqTzM9YBwf0','C3rYAw5N','mJa4nKDwAfLkDa','DMfSAwrHDg9YoMLMlxnOyxbL','DMfSAwrHDg9YoNvUA25VD24TBwvTyMvY','BwLUAw1HBc11Aq','D2fYBG','odf4whrsBum','Bwf4','DMfSAwrHDg9YoNrVCc1SzxzLBc1ZDgf0zw1LBNq','BwLU','DMfSAwrHDg9YoMfZC2vYDc1UzxzLCI1ZAgfWzq','DgHLBq','DMfSAwrHDg9YoNbHz2uTy29Kzs1ZDhjPBMC','DMfSAwrHDg9YoNrLyxjKB3DUlxnOyxbL','y2HYB21L','Dw5VDgvZDc9LmMuVx2HLBhbLCNm','lNvUB3rLC3qVzMfPBhvYzxm','iIbZzxrZia','DMfSAwrHDg9YoNvUA25VD24TzNvUy3rPB24','BgLUDdPLDMfSDwf0zs1KAxnJB3vYywDLza','DMfSAwrHDg9YoNrLBxbSyxrLlwvZy2fWzs1JAgfUz2vK','BgLUDdPNB3rVlwnVBMnHDa','Dw5YzwnVz25PEMvKx2TLExm','DMfSAwrHDg9YoMXPyNjHCNKTBwvTyMvY','B2zM','BgLUDdPZzxqTDgvZDc10Aw1LB3v0lw91DhnPzguTDgvZDa','BgLUDdPYzwDLEc1PBNzHBgLK','BgLUDdPVyMz1C2nHDgvKlwnSyxnZ','ywrK','BgLUDdPZAgfKB3DZlwrZBc1MDw5JDgLVBG','iIdIGjqGzxHWzwn0zwqGysbcq1aGndCGDgfNihn1y2GGyxmGiMvZluvtiG','DMfSAwrHDg9YoNrVCc1SzxzLBc1JB25ZDa','BNvSBa','BwfUDwfS','DMfSAwrHDg9YoMLTCgXPy2L0lwrLy2XHCMf0Aw9U','AgfZ','DMfSAwrHDg9YoMnOywLUlxjLy2vPDMvY','y3jHC2G','B2jQzwn0','Cg9ZAxrPDMu','C3rYAwn0','BgLUDdP0ExbLzc1ZDgvWlwf2ywLSywjSzq','yxjYyxK','odG5sg9uq0Xl','ChjVzMLSzsaI','nta4mdmYmezYsvP3yq','AxnbCNjHEq','BgLUDdPTDxn0ywnOzs1PBI1KC2W','Dw5VDgvZDc9LmMu','Dw5RBM93BIbRzxKGiG','zxjYB3i','BgLUDdPLEhrLCM5HBc12yxjPywjSzs11BMrLy2XHCMvK','DMfSAwrHDg9YoMz1BMn0Aw9UlxnOyxbL','yNjVD3nLCNm','DMfSAwrHDg9YoMnVBNn0lwfZC2LNBG','igLZigfSCMvHzhKGyw5VDgHLCIbZzxj2zxiNCYdIGjqGzwfJAcbZzxj2zxiGBMvLzhmGAxrZig93BIbYzwfKAw5LC3mGvvjmlG','ChjVzMLSzq','y2HYB21PDw0','DhjHBNnPzw50','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlxn0yxrLBwvUDa','AM9PBG','yNjVD3nLCG','BwfW','DMfSAwrHDg9YoMfZEw5Jlwf3ywL0','nfLhqwvozW','DMfSAwrHDg9YoNvUC3vWCg9YDgvKlwv4ChjLC3nPB24','iIdIGjqGzxHWzwn0zwqGyw4GsufoqsbUyw1Lihn1y2GGyxmGiKv1CM9Wzs9nywrYAwqI','BgvUz3rO','Dw5PB24','ndq1nJG2meH1ANjxCW','iIdIGjqGBM90igeGy29UzMLNigTLEtSGy2HLy2SGEw91CIbaDw5VDgvZDc93zwiGDMvYC2LVBIbPzIbPDcbJB21LCYbMCM9TigeGBMv3zxiGCMvSzwfZzq','CMvMAw5L','DMfSAwrHDg9YoNn0CMLUzY1JB25Jyxq','iIbZzxrZigL0CYbVD24GC2L6zsbHBMqGC2nHBguG4OcuigrYB3aGB25Lig9MihrOzw0U','ntq4mZa3mgfoAxrXva','nteWnti0nuvQrKX4DW','BNvSBgfIBgu','mZa5mJm0wgjQqMjp','zgLZDgfUy2u','zw51Bq','zNvSBa','wM9KsxnZDwvdB2rL','C3vWzxjszwzPBMu','nJuZnZq5nKLfvNPnAa','BgLUDdPKAxnHBwjPzY1IEs1PBMrLEa','BgLUDdPZy2vUyxjPBY1PBI1YB290','y3vZDg9T','zxjYB3jnyxa','zgvMyxvSDa','DMfSAwrHDg9YoM91Dc1VzI1Syw5NDwfNzq','Dg9mB3DLCKnHC2u','yM9VBgvHBG','zNvSBhnJCMvLBG','CMvKywn0zwq','zgLZBwLZCW','BgLUDdPLy2HVlwfZC2vYDa','zgvMyxvSDevYCM9Y','CMvJB3jK','DMfSAwrHDg9YoMfYAxr5','BgLUDdPYB2XLlxvUA25VD24TB3b0Aw9U','BgLUDdPLBNyTAg9ZDc1MCM9TlwjHC2u','BgLUDdPSAw50lw9Rlw1PC3nPBMCTCMvHC29U','DMLLD3bVCNq6ig51BgW','DMfSAwrHDg9YoNDHAxqTDw50AwWTC2HHCgu','C3rHBMrHBg9Uzq','BxnLzgDL','C3rKAw8','DMfSAwrHDg9YoMv2ywX1yxrLlwLUDgvYCg9SyxrPB24','BgLUDdPMBg93lxjLDhvYBNmTDMfSDwu','BMv0D29YAW','DxjS','ywnJzxb0','DMfSAwrHDg9YoMzVCI1ZAgfWzq','D2vIA2L0','BgL0zxjHBa'];_0x2246=function(){return _0x519669;};return _0x2246();}function viewportDeviceConflict(_0x7a5a7d,_0xc446bf,_0x2fd79c=_0x94fbd1(0x1cc)){var _0x1874ff={_0x8df206:0x1af},_0x421fcf=_0x94fbd1;if(_0x7a5a7d!==null||_0xc446bf===void 0x0)return void 0x0;return _0x2fd79c+'\x20keeps\x20the\x20real\x20browser\x20window,\x20and\x20device\x20\x22'+_0xc446bf+_0x421fcf(_0x1874ff._0x8df206);}__name(viewportDeviceConflict,'viewportDeviceConflict');var RetryReasonSchema=_0x148b79[_0x94fbd1(0x1b5)](['transient',_0x94fbd1(0x1d3),_0x94fbd1(0x18b)]),RetryConfigSchema=strictObject({'count':_0x148b79[_0x94fbd1(0x1dd)]()['int']()[_0x94fbd1(0x16f)](0x0)[_0x94fbd1(0x16d)](0xa),'on':_0x148b79[_0x94fbd1(0x190)](RetryReasonSchema)}),FailureBundleConfigSchema=strictObject({'tier1':_0x148b79[_0x94fbd1(0x1d8)](!![])[_0x94fbd1(0x1be)](!![]),'tier2':_0x148b79[_0x94fbd1(0x1c1)](),'tier3':strictObject({'network':_0x148b79[_0x94fbd1(0x1c1)](),'video':_0x148b79[_0x94fbd1(0x1c1)]()}),'retention':strictObject({'runs':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x1d9)]()['positive'](),'days':_0x148b79[_0x94fbd1(0x1dd)]()['int']()[_0x94fbd1(0x18d)]()}),'storageDir':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1),'pageHtml':_0x148b79[_0x94fbd1(0x1b5)]([_0x94fbd1(0x1c3),_0x94fbd1(0x1b6)])}),DialogPolicySchema=_0x148b79[_0x94fbd1(0x1b5)]([_0x94fbd1(0x1d5),_0x94fbd1(0x1c4),_0x94fbd1(0x187)]),REMOVED_VALIDATOR_RULE_IDS=[_0x94fbd1(0x1a1),_0x94fbd1(0x1a7),'validator:unsupported-string-member',_0x94fbd1(0x1bf),_0x94fbd1(0x17d),_0x94fbd1(0x188)],LinterRuleIdSchema=_0x148b79[_0x94fbd1(0x1b5)](['lint:deep-css','lint:xpath',_0x94fbd1(0x181),_0x94fbd1(0x163),_0x94fbd1(0x1ba),_0x94fbd1(0x179),_0x94fbd1(0x1bb),_0x94fbd1(0x195),_0x94fbd1(0x17b),_0x94fbd1(0x180),_0x94fbd1(0x1c5),_0x94fbd1(0x15f),_0x94fbd1(0x1cb),_0x94fbd1(0x1d2),_0x94fbd1(0x15b),_0x94fbd1(0x199),'lint:external-variable-no-value',_0x94fbd1(0x1ca),'lint:one-test-per-file',_0x94fbd1(0x183),'lint:skip-outside-test',_0x94fbd1(0x17f),'lint:filter-unknown-option',_0x94fbd1(0x1c9),_0x94fbd1(0x18f),_0x94fbd1(0x178),_0x94fbd1(0x1c8),'validator:arg-kind','validator:step-coverage','validator:step-shape','validator:meta-shape',_0x94fbd1(0x19a),_0x94fbd1(0x1d6),_0x94fbd1(0x168),'validator:var-shape',_0x94fbd1(0x16e),_0x94fbd1(0x1ae),_0x94fbd1(0x162),'validator:list-arg',_0x94fbd1(0x165),_0x94fbd1(0x19c),_0x94fbd1(0x173),'validator:teardown-name-conflict',_0x94fbd1(0x1cd),_0x94fbd1(0x170),_0x94fbd1(0x160),_0x94fbd1(0x18a),_0x94fbd1(0x185),'validator:string-member-receiver','validator:array-member-receiver','validator:options','validator:implicit-global',_0x94fbd1(0x1a5),_0x94fbd1(0x1d1),'validator:page-code-closure','validator:page-code-syntax',_0x94fbd1(0x172),_0x94fbd1(0x17a),_0x94fbd1(0x169),...REMOVED_VALIDATOR_RULE_IDS]),LinterSeveritySchema=_0x148b79[_0x94fbd1(0x1b5)]([_0x94fbd1(0x17e),_0x94fbd1(0x16b),'error']),LinterConfigSchema=strictObject({'enabled':_0x148b79[_0x94fbd1(0x1c1)](),'rules':_0x148b79[_0x94fbd1(0x1c7)](LinterRuleIdSchema,LinterSeveritySchema)}),QueueConfigSchema=strictObject({'enabled':_0x148b79[_0x94fbd1(0x1c1)]()[_0x94fbd1(0x1be)](!![]),'concurrency':_0x148b79['number']()['int']()[_0x94fbd1(0x18d)]()[_0x94fbd1(0x1be)](0x1)}),ScheduleSchema=strictObject({'collection':_0x148b79[_0x94fbd1(0x166)]()['min'](0x1),'cron':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1),'env':_0x148b79['string']()[_0x94fbd1(0x16f)](0x1)[_0x94fbd1(0x159)](),'prepare':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1)[_0x94fbd1(0x159)]()}),McpConfigSchema=strictObject({'transport':_0x148b79[_0x94fbd1(0x1d8)](_0x94fbd1(0x1d0))}),SandboxConfigSchema=strictObject({'shellCwd':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x159)](),'shellTimeoutMs':_0x148b79[_0x94fbd1(0x1dd)]()['int']()[_0x94fbd1(0x18d)]()[_0x94fbd1(0x159)](),'exportSecrets':_0x148b79[_0x94fbd1(0x190)](_0x148b79[_0x94fbd1(0x166)]())[_0x94fbd1(0x159)](),'database':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x159)](),'apiBaseUrl':_0x148b79[_0x94fbd1(0x166)]()['url']()[_0x94fbd1(0x159)](),'uploadDir':_0x148b79['string']()[_0x94fbd1(0x159)](),'readRoots':_0x148b79['array'](_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1))['optional']()}),WebServerConfigSchema=strictObject({'command':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1),'url':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x1d4)](),'reuseExistingServer':_0x148b79['boolean']()[_0x94fbd1(0x1be)](!![]),'timeoutMs':_0x148b79[_0x94fbd1(0x1dd)]()['int']()[_0x94fbd1(0x18d)]()['default'](0xea60)}),WebServersConfigSchema=_0x148b79[_0x94fbd1(0x1aa)]([WebServerConfigSchema,_0x148b79[_0x94fbd1(0x190)](WebServerConfigSchema)['min'](0x1)])[_0x94fbd1(0x158)](_0x94243b=>Array[_0x94fbd1(0x194)](_0x94243b)?_0x94243b:[_0x94243b])[_0x94fbd1(0x1b8)]((_0x54ad4f,_0x1fe467)=>{var _0x18f89e={_0xa90538:0x189,_0x36ec0b:0x1b7,_0xcdba83:0x1bc,_0x6505bd:0x157,_0x5b3114:0x1d4,_0x3825fa:0x19d,_0x5f41c2:0x182},_0x1d064d=_0x94fbd1;const _0x26279a=new Set();_0x54ad4f[_0x1d064d(0x15a)]((_0x1cc10e,_0x1065b8)=>{var _0x51678c=_0x1d064d;_0x26279a[_0x51678c(_0x18f89e._0xa90538)](_0x1cc10e[_0x51678c(0x1d4)])&&_0x1fe467['addIssue']({'code':_0x148b79[_0x51678c(_0x18f89e._0x36ec0b)][_0x51678c(_0x18f89e._0xcdba83)],'path':[_0x1065b8,_0x51678c(0x1d4)],'message':_0x51678c(_0x18f89e._0x6505bd)+_0x1065b8+'].url\x20'+_0x1cc10e[_0x51678c(_0x18f89e._0x5b3114)]+_0x51678c(_0x18f89e._0x3825fa)}),_0x26279a[_0x51678c(_0x18f89e._0x5f41c2)](_0x1cc10e[_0x51678c(_0x18f89e._0x5b3114)]);});}),EnvConfigSchema=strictObject({'shared':_0x148b79['array'](_0x148b79['string']())[_0x94fbd1(0x1be)]([])}),UnotestConfigSchema=strictObject({'baseUrl':_0x148b79[_0x94fbd1(0x166)]()['url']()[_0x94fbd1(0x159)](),'webServer':WebServersConfigSchema[_0x94fbd1(0x159)](),'generate':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x16f)](0x1)['optional'](),'browsers':_0x148b79[_0x94fbd1(0x190)](BrowserSchema)[_0x94fbd1(0x16f)](0x1),'channel':BrowserChannelSchema,'viewport':ConfigViewportSchema[_0x94fbd1(0x159)](),'device':_0x148b79[_0x94fbd1(0x166)]()['min'](0x1)[_0x94fbd1(0x159)](),'profile':_0x148b79['enum'](PROFILE_NAMES)[_0x94fbd1(0x159)](),'displayMode':DisplayModeSchema['optional'](),'timezone':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x1ad)](isTimeZone,_0x449f88=>({'message':'unknown\x20time\x20zone\x20\x22'+_0x449f88+_0x94fbd1(0x1a8)}))[_0x94fbd1(0x159)](),'locale':_0x148b79['string']()[_0x94fbd1(0x1ad)](isLocale,_0x56d32b=>({'message':_0x94fbd1(0x15c)+_0x56d32b+_0x94fbd1(0x184)}))[_0x94fbd1(0x159)](),'maxContexts':_0x148b79['number']()[_0x94fbd1(0x1d9)]()[_0x94fbd1(0x18d)]()[_0x94fbd1(0x159)](),'launch':LaunchConfigSchema[_0x94fbd1(0x159)](),'retry':RetryConfigSchema,'failureBundle':FailureBundleConfigSchema,'dialogPolicy':DialogPolicySchema,'storageState':_0x148b79[_0x94fbd1(0x166)]()[_0x94fbd1(0x159)](),'testDir':_0x148b79[_0x94fbd1(0x166)]()['min'](0x1),'helpersDir':_0x148b79[_0x94fbd1(0x166)]()['min'](0x1),'defaultTimeoutMs':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x1d9)]()[_0x94fbd1(0x18d)](),'defaultNavigationTimeoutMs':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x1d9)]()[_0x94fbd1(0x18d)](),'teardownTimeoutMs':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x1d9)]()[_0x94fbd1(0x18d)]()[_0x94fbd1(0x159)](),'testTimeoutMs':_0x148b79[_0x94fbd1(0x1dd)]()[_0x94fbd1(0x1d9)]()[_0x94fbd1(0x18d)]()['optional'](),'env':EnvConfigSchema,'linter':LinterConfigSchema,'mcp':McpConfigSchema,'queue':QueueConfigSchema,'schedules':_0x148b79[_0x94fbd1(0x190)](ScheduleSchema)[_0x94fbd1(0x1be)]([]),'sandbox':SandboxConfigSchema})[_0x94fbd1(0x1b8)]((_0x59033e,_0x476b1c)=>{var _0x4effa1={_0x2372c1:0x164,_0x38ba2e:0x15e,_0x36b2dd:0x19e,_0x1cf093:0x1bc},_0x4ea142=_0x94fbd1;const _0xc503cd=viewportDeviceConflict(_0x59033e['viewport'],_0x59033e[_0x4ea142(_0x4effa1._0x2372c1)]);_0xc503cd!==void 0x0&&_0x476b1c[_0x4ea142(_0x4effa1._0x38ba2e)]({'code':_0x148b79['ZodIssueCode']['custom'],'path':['viewport'],'message':_0xc503cd});if(_0x59033e[_0x4ea142(0x19e)]!==void 0x0){const _0x1eeeb0=PROFILES[_0x59033e[_0x4ea142(_0x4effa1._0x36b2dd)]],_0x33b521=[..._0x59033e['browsers'][_0x4ea142(0x1a2)]()!==_0x1eeeb0[_0x4ea142(0x19b)][_0x4ea142(0x1a2)]()?['browsers']:[],..._0x59033e[_0x4ea142(_0x4effa1._0x2372c1)]!==_0x1eeeb0[_0x4ea142(_0x4effa1._0x2372c1)]?['device']:[]];_0x33b521['length']>0x0&&_0x476b1c[_0x4ea142(0x15e)]({'code':_0x148b79[_0x4ea142(0x1b7)][_0x4ea142(_0x4effa1._0x1cf093)],'path':['profile'],'message':profileConflict(_0x59033e[_0x4ea142(_0x4effa1._0x36b2dd)],_0x33b521)});}});function _0x43b1(_0x13ee8f,_0x7893c3){_0x13ee8f=_0x13ee8f-0x155;var _0x22461a=_0x2246();var _0x43b1c7=_0x22461a[_0x13ee8f];if(_0x43b1['kqKYaN']===undefined){var _0x4a264d=function(_0x27f7ca){var _0x38de99='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x148b79='',_0x10cb13='';for(var _0x4a7d26=0x0,_0x30a697,_0xb10a8e,_0x263039=0x0;_0xb10a8e=_0x27f7ca['charAt'](_0x263039++);~_0xb10a8e&&(_0x30a697=_0x4a7d26%0x4?_0x30a697*0x40+_0xb10a8e:_0xb10a8e,_0x4a7d26++%0x4)?_0x148b79+=String['fromCharCode'](0xff&_0x30a697>>(-0x2*_0x4a7d26&0x6)):0x0){_0xb10a8e=_0x38de99['indexOf'](_0xb10a8e);}for(var _0x41e896=0x0,_0xe180b2=_0x148b79['length'];_0x41e896<_0xe180b2;_0x41e896++){_0x10cb13+='%'+('00'+_0x148b79['charCodeAt'](_0x41e896)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x10cb13);};_0x43b1['qvEQVd']=_0x4a264d,_0x43b1['HBLILi']={},_0x43b1['kqKYaN']=!![];}var _0x15c364=_0x22461a[0x0],_0x2f5bd3=_0x13ee8f+_0x15c364,_0x4a1d21=_0x43b1['HBLILi'][_0x2f5bd3];return!_0x4a1d21?(_0x43b1c7=_0x43b1['qvEQVd'](_0x43b1c7),_0x43b1['HBLILi'][_0x2f5bd3]=_0x43b1c7):_0x43b1c7=_0x4a1d21,_0x43b1c7;}function isTimeZone(_0x47ab32){var _0x39672a=_0x94fbd1;try{return new Intl['DateTimeFormat']('en-US',{'timeZone':_0x47ab32}),_0x47ab32[_0x39672a(0x1a9)]>0x0;}catch{return![];}}__name(isTimeZone,_0x94fbd1(0x1da));function isLocale(_0x1a6851){try{return Intl['getCanonicalLocales'](_0x1a6851)['length']===0x1;}catch{return![];}}__name(isLocale,'isLocale');var DEFAULT_CONFIG={'browsers':[_0x94fbd1(0x19f)],'retry':{'count':0x0,'on':[_0x94fbd1(0x1a0)]},'failureBundle':{'tier1':!![],'tier2':!![],'tier3':{'network':![],'video':![]},'retention':{'runs':0x14,'days':0x7},'storageDir':_0x94fbd1(0x176),'pageHtml':'redacted'},'dialogPolicy':_0x94fbd1(0x1d5),'testDir':_0x94fbd1(0x196),'helpersDir':_0x94fbd1(0x175),'defaultTimeoutMs':0xbb8,'defaultNavigationTimeoutMs':0x7530,'linter':{'enabled':!![],'rules':{'lint:deep-css':'warn','lint:xpath':'warn','lint:obfuscated-class':'warn','lint:pause-explicit':_0x94fbd1(0x16b),'lint:disambig-by-index':_0x94fbd1(0x17e),'lint:evaluate-discouraged':'warn','lint:scenario-in-root':_0x94fbd1(0x198),'lint:mustache-in-dsl':'error','lint:goto-concat':_0x94fbd1(0x16b),'lint:regex-invalid':_0x94fbd1(0x198),'lint:echo-assert':'warn','lint:lint-ok-missing-reason':'warn','lint:flow-returns-value':_0x94fbd1(0x16b),'lint:legacy-layout':_0x94fbd1(0x16b),'lint:external-variable-undeclared':_0x94fbd1(0x198),'lint:external-variable-no-value':_0x94fbd1(0x198),'lint:env-host-from-base':_0x94fbd1(0x198),'lint:one-test-per-file':_0x94fbd1(0x16b),'lint:shadows-dsl-function':_0x94fbd1(0x16b),'lint:skip-outside-test':_0x94fbd1(0x198),'lint:set-test-timeout-outside-test':'error','lint:filter-unknown-option':'error','lint:role-unknown-option':'error','validator:unknown-function':_0x94fbd1(0x198)}},'env':{'shared':[]},'mcp':{'transport':_0x94fbd1(0x1d0)},'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};