* fix(e2e): load TypeScript with an oxc loader instead of tsx
* fix(e2e): close loader edge cases: sourceless CommonJS, export maps without extensions, unreadable tsconfig, chained source maps, Windows require paths
* fix(e2e): refuse Bun and Deno runtimes, name oxc load failures, follow Yarn PnP export targets
* perf(e2e): skip the syntax check for files whose only @ is in a package import
* fix(e2e): allow type-only exports in .cts, warn from runner only, Bun check first, docs
* fix(e2e): workers warn about tsconfigs runner did not, FILE: urls, foreign infra errors, review tests
* feat(web)!: pin playwright-core and add an install command
@e2e-dev/web depends on playwright-core 1.63.0 instead of peering on
playwright. New e2e-web bin installs browsers for the pinned version:
npx @e2e-dev/web install chromium --with-deps. e2e init no longer adds
playwright.
* test(web): run the e2e-web bin for real, and in CI
* test(web): spawn the built e2e-web bin so Node 22.12 runs it
Drops NPM_TOKEN from release.yml; each package grants release.yml publish
rights via an npm trusted publisher. Release job moves to ubuntu-latest
because npm rejects OIDC from self-hosted runners (Blacksmith included).
publishConfig.provenance pins removed so provenance attaches automatically
once the repo is public. Setup recipe documented in CONTRIBUTING.md.
* fix(skill): declare the app on the target in skill and docs config examples
The bundled skill and docs/authentication.mdx still taught web({ url, command }), removed in #698. The skill's two config examples now live in docs/examples/skill/, typechecked and mirrored by check-docs-examples, so the old shape fails pnpm check.
* fix(skill): run the docs drift check on skill changes, drop stale service wording
* feat(config)!: remove specVersion from the config
The runner version is the format version. A config that still sets
specVersion fails INVALID_CONFIG telling the author to remove it. The
report's run.specVersion and the replay cache key keep their hard-coded
copies.
* feat(collect): "!" exclusions in the tests globs
An entry starting with "!" removes files an including glob matched,
in any order. Discovery never reads a directory an exclusion takes
whole, unless an including glob could reach a dot name beneath it.
A list of only exclusions is INVALID_CONFIG.
* refactor!: CacheStore and web({ screencast }) renames
TraceCacheStore is CacheStore, and the docs, skill, and CLI call the
cache the replay cache. web({ video: { size, quality } }) is
web({ screencast }) with WebScreencastOptions; web({ video }) fails
INVALID_CONFIG naming screencast.
* feat(secrets): secrets.get() in engine options, resolved per attempt
At config evaluation, before any run exists, secrets.get(name) returns
a reference by name. An engine declares the handles its options hold
in defineEngine({ secrets }); the config load fails INVALID_CONFIG for
a name no secret or credential has. The engine reads the value through
EngineAttemptContext.resolveSecret, which runs a provider fresh and
registers the value in the session and process ledgers before it
returns, without tainting the viewport. e2e/engine exports isSecret.
web({ basicAuth: { password } }) takes a Secret and declares it. Docs
show process.loadEnvFile('.env') in the config.
* feat(run)!: trace and video share recording modes; artifacts holds only store
One RecordingMode ('off' | 'on' | 'retain-on-failure' | 'on-first-retry' |
'on-all-retries') for trace and video, set on the config, a target, the CLI
(--trace [mode], --video [mode]) and a test, one precedence rule: config,
target, CLI, test. Trace defaults to on locally, on-first-retry in CI, with
a plan-time notice when a retry mode meets retries: 0. Serial members cannot
set trace.
Capability rule: a mode from the config root or a flag applies to targets
whose engine can record it, one notice naming the rest; a mode set on a
target or a test is required and fails with UNSUPPORTED_ARTIFACT.
artifacts.kinds (both forms) and artifacts.trace are removed and fail
INVALID_CONFIG naming the trace mode they meant. Failure screenshot and
screen text are always captured when the engine can. MCP sessions keep the
target's trace mode and trace only under 'on'.
* feat(run)!: output directory for every run result; ArtifactStore.putLink
output (default .e2e) and --output <dir> on run and explore hold report.json,
junit.xml, summary.md, ai-trace.json, artifacts/, sessions/ and the e2e mcp
session files; --last-failed reads <output>/report.json. The reportSibling
derivation from the artifacts dir is gone. --artifacts stays as a hidden
flag that fails with the --output it maps to.
A run clears <output>/artifacts at start. cache.dir stays independent. An
output that is the project root or outside it, is or sits in cache.dir,
would hold cache.dir under artifacts/, sessions/ or videos/, or holds a
tests glob root fails INVALID_CONFIG with the reason.
ArtifactStore gains optional putLink(link) for provider-hosted video links;
its ref lands beside the url. A passed retain-on-failure attempt's link is
never handed over, and a failing putLink never fails the run.
bench-ab and the mobile workflow move to --output.
* test(secrets): a hold's registry is probed by an unknown name, now that get() defers without one
* test(web): the download trigger's measured wait tolerates a timer firing early
* fix(secrets): rewrite the trace of an attempt whose engine holds a secret
A Playwright trace records the context options, basic-auth password in
plaintext, but a trace was rewritten only after a fill. resolveSecret now
marks the session so its trace goes through the redactor, screencast
frames kept since the value never reached the screen. The fake engine
writes a real trace archive, and the basic-auth fixture escapes its echo
and refuses a malformed header.
* fix(web): race the basic-auth secret with the attempt's signal
A provider still resolving after the launch timeout set the session after
the runner ended the attempt, so the retry failed with an attempt already
running. Resolution now runs first, raced with the signal.
* fix(mcp): a session notes a configured trace its engine cannot record
* test: a shadow-free fake trace archive and an ungarbled exclusion title
* docs: output paths, replay cache wording, and review corrections
--last-failed, --ai-trace, and the json reporter name <output> paths;
the skill says output never moves cache/ or the app's log; the
INVALID_GLOB row states the check the code makes; serial members list
only; the engine vocabulary names Secret and isSecret; the basic-auth
example uses a provider; the last trace cache wording is replay cache.
* chore(changeset): leave released notes alone; pending notes match the renames
Released CHANGELOG entries keep TraceCacheStore, the name they shipped
with; cache-store-rename.md announces the rename. The pending video and
provider recording changesets name on-all-retries and web({ screencast }).
* chore(bench): refuse a forwarded --output the harness would not clean up
* fix(secrets): a rewritten trace drops its screencast frames, engine-held secrets included
Every node of the engine's semantic tree is compared with Chrome's
accessibility tree over CDP and Playwright's getByRole on fixture pages and
every web-benchmark scenario. Known disagreements live in a committed
expectations file with reasons; new and stale ones fail.
* fix(mobile): the build installs in prepare, setPermission and setLocation hold up on a bare session and a cold emulator
Three sources of red mobile gates that were ours, not agent-device's:
- prepare boots the device and opens the pinned app, but with appPath the
app was not installed yet, so the warm-up opened nothing and the first
test on every device paid the install and the automation runner's cold
start. The install moves into prepare; a worker without one still
installs in init.
- device.setPermission before app.open() failed with "permission setting
requires an active app in session" once the previous test left the
session on no app. The engine brings the pinned app to the foreground
first, and once more on that refusal.
- device.setLocation on Android set a fix the app could not read: the
previous run's clearLocation had switched location services off and the
emulator keeps that. The fix switches them on first.
The pull-to-refresh test tapped the claim button inside expect.poll; once
the button was gone the tap held the poll for its whole budget and the poll
timed out on a claim that had landed (0/3 locally before, 3/3 after).
mobile.yml skips the agentic suite for Dependabot, whose runs carry no
model key, and uploads reports on failure only, since the artifact quota
was full and ~20 failed jobs had lost theirs.
* fix(mobile): a longPress with no duration holds for one second
The agent's long_press names no duration, so agent-device's default hold
applied: under half a second, shorter than a React Native Pressable's
delayLongPress of 500 ms and the 800 ms the Gestures scenario sets. The
model's long press registered as a tap and the scenario never advanced
(android agentic on #539's first run, 5 model calls, rerun the same).
One second clears those, as Detox's default does; a test passes duration
for more.
* test(mobile-benchmark): the location read polls without an assertion inside
The poll asserted "not reading" on every iteration with the assertion's
own budget, so a first fix the emulator's provider took long to produce
held the poll past its deadline (android deterministic on #539's second
run, rescued by the rerun). The poll now only looks, taps read again once
the last read has answered, and gives the first fix after location
services come back on a minute.
* feat(mobile)!: the engine installs nothing on its own; the suite installs with device.installApp()
appPath stays the build the suite runs against, but neither prepare nor
init installs it any more. device.installApp() with no path installs it,
once per device, where the suite says so, and pins what it installed when
no app is; a device provider still installs on the device it leases. A
pinned app is opened by the warm-up whether or not its build is on yet.
The mobile benchmark installs through a `build` fixture in tests/fixtures.ts
that every test takes: one install per worker, kept on globalThis because
the runner re-imports the module per retry and serial group. The step shows
in the first test's report as device.installApp.
* fix(mobile): the warm-up skips a pinned app whose build the suite has yet to install, and CI keeps every run's report
With appPath and no install, prepare tried to open the pinned app on each
device and logged the failure as a runner that did not warm up. There is
nothing to open yet; the log now says the suite's device.installApp() is
what comes first.
mobile.yml uploads the report from every run (it is small and holds what
the first attempt of a flaky test met) and the artifacts only from a red
one, so a rescued attempt keeps its evidence without the quota cost.
* ci(mobile): each mobile benchmark job posts its run as a pull request comment
The web benchmark's two suites post through @e2edev/github; the four mobile jobs did not. E2E_MOBILE_BENCHMARK_COMMENT names each job's comment (ios, ios agent, android, android agent) and the --last-failed pass posts as its own (ios retry), since the page lists only the tests a run selected.
* ci(mobile): the second pass posts nothing, the first pass is the comment
A retry comment under its own key would outlive the failure that caused it: a later commit whose first pass is green never touches it.
packages/ holds what publishes to npm, apps/ the private apps and suites that consume the built packages. Package names, scripts, and --filter targets are unchanged, so the committed recordings and the Expo build cache carry over.
The 19 trace-cache entries the agentic suite records are committed; CI
replays them read-only and calls the model only for a step with no
recording, so the gate runs at deterministic speed and cost (15 replayed, 6
live by design: planted-bug judgments and values read off the screen). The
policy lives once in AGENTS.md; every package's run artifacts are ignored
through one **/ rule set, and no rule ignores .e2e/cache any more.