* feat(notte): add @e2e-dev/notte, a browser provider for Notte cloud browsers
notte() runs each test attempt in its own Notte cloud browser session and
stops it when the attempt ends. It leases in attempt scope only: a Notte
session refuses Target.createBrowserContext, which worker scope needs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* feat(notte): downloads, sweep, and console links, verified on the testbed
- downloads.read copies each download from the session's file storage,
found by the site's suggested name. @e2e-dev/web now passes that name to
providers as BrowserDownloadContext.suggestedFilename (optional,
additive).
- sweep stops the sessions of workers that died, found through per-session
marker files under the system temp directory, since Notte sessions have
no tags.
- The progress line links the session's console page instead of the
token-bearing viewer URL.
- A start response without cdp_url falls back to the session's debug info.
- apps/testbed gets e2e.notte.config.ts and test:notte.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(notte): address review: fail-closed ledger, required suggestedFilename, paged downloads, shared sweep helper
* docs(notte): add notte() to the security table and skill setup
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
Manage local Moli CDP browsers through the web engine's BrowserProvider API.
Each worker gets an available loopback port, layout and resource loading,
startup cancellation, and process cleanup when its lease ends.
Wire the testbed, documentation, consumer skill, build and test commands,
and a patch changeset for @e2e-dev/moli.
Keep process-group shutdown active after an executable wrapper exits,
and surface process-inspection failures in the provider tests.
Verified locally:
- pnpm check
- 16 Moli provider unit tests
- Testbed on two workers: 16 passed, 1 expected skip; both browsers released
- Empty and whitespace CDP URLs use managed browsers; padded URLs attach
without stopping the existing server
- MCP login, secret fill, assertions, and screenshot
- Packed packages installed, typechecked, and run in an isolated project
* docs(eas): read the simulator build ID from E2E_IOS_BUILD_ID, not EAS_BUILD_ID
The Expo Simulators examples read `process.env.EAS_BUILD_ID` for
`expoSimulators({ buildId })`. In an Expo Workflows job, Expo sets that
variable to the ID of the running job, so the copied config asked for a
session with the job's ID instead of the simulator build's. The examples
now read `E2E_IOS_BUILD_ID` and say to set it from the build job's
`outputs.build_id`, as Expo's with-e2e workflow does.
Fixes#1656
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs(eas): set the build ID in the test job's env, beside its needs
The workflow example showed `env:` at the workflow root, where `needs`
does not resolve. It now sits under the test job, which declares
`needs: [build_ios]`, as Expo's with-e2e workflow does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* docs: retire sidebar page icons
The docs sidebar no longer shows icons. Drop icon: from every page's frontmatter, delete the grey silhouettes in docs/images/icons/, and make check-docs-logos fail on any frontmatter icon instead of requiring one on vendor pages. Card logos stay required. The authoring-docs skill trades its Page icons section for a short Vendor logos one.
* docs: require a migrate overview card for each migration guide
* docs: match only top-level icon keys in check-docs-logos
Follows https://docs.expo.dev/eas-to-expo/. EAS Workflows is now Expo Workflows, EAS Build Expo Build, and the provider's errors and logs name Expo. The eas CLI, eas.json, EAS_* variables, the @e2e-dev/eas package, and page URLs keep their names.
* feat(eas): rename easSimulators() to expoSimulators()
The docs call the service Expo Simulators. easSimulators() and
EasSimulatorsOptions stay as deprecated aliases.
* docs(eas): name the deprecated alias and Expo in the rename
* docs(integrations): give TestMu AI its logo and fail docs:check on a vendor page without one
The TestMu AI page shipped in #772 with no sidebar icon and a Font Awesome
card on the integrations overview. The authoring-docs rule existed, but
the PR was a package PR and never loaded the skill.
scripts/check-docs-logos.ts now fails pnpm docs:check when a page under
docs/integrations/, docs/ci/, or docs/migrate/ has no logo as its sidebar
icon, a card linking to it has none, or it has no overview card. The
authoring-docs and ship-pr skills state the rule and point to the check.
* docs(scripts): reject a logo path that leaves its directory; scope the overview-card rule in ship-pr
* docs(skill): name agent-device 0.21.25 in the setup reference
The setup reference's limrun section said agent-device 0.21.22, but the
mobile and limrun packages pin 0.21.25 and the limrun docs page already
names 0.21.25. PR #1066 bumped the packages, docs, and example but missed
the bundled skill, so the `locator.press('Enter')` capability note pointed
at a version no install carries.
* docs(skill): drop agent-device version from limrun keyboard note
---------
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
* docs(agent-steps): rewrite with the authoring-docs skill
* docs(agents): rewrite with the authoring-docs skill
* docs(api-testing): rewrite with the authoring-docs skill
* docs(authentication): rewrite with the authoring-docs skill
INVALID_CONFIG also fires for a password shorter than 6 characters.
* docs(browser): rewrite with the authoring-docs skill
* docs(bug-bash): rewrite with the authoring-docs skill
* docs(cache): rewrite with the authoring-docs skill
* docs(ci): rewrite with the authoring-docs skill
Rerun folders are rerun-<n>/, not rerun-1/. Merge exit codes into Gate pull requests.
* docs(ci/bitrise): rewrite with the authoring-docs skill
* docs(ci/codemagic): rewrite with the authoring-docs skill
* docs(ci/eas-workflows): rewrite with the authoring-docs skill
* docs(ci/github-actions): rewrite with the authoring-docs skill
* docs(coding-agents): rewrite with the authoring-docs skill
* docs(core-concepts): rewrite with the authoring-docs skill
* docs(debugging): rewrite with the authoring-docs skill
* docs(decision-models): rewrite with the authoring-docs skill
A point tap costs three decision calls and one text call, not four.
* docs(example-projects): rewrite with the authoring-docs skill
* docs(executors): rewrite with the authoring-docs skill
* docs(explore): rewrite with the authoring-docs skill
* docs(github): rewrite with the authoring-docs skill
* docs(index): rewrite with the authoring-docs skill
* docs(integrations/eas): rewrite with the authoring-docs skill
* docs(integrations/index): rewrite with the authoring-docs skill
* docs(integrations/kernel): rewrite with the authoring-docs skill
* docs(integrations/smol): rewrite with the authoring-docs skill
* docs(migrate/cypress): rewrite with the authoring-docs skill
* docs(migrate/detox): rewrite with the authoring-docs skill
* docs(migrate/maestro): rewrite with the authoring-docs skill
Fold the command map tables into accordions.
* docs(migrate/playwright): rewrite with the authoring-docs skill
List use and testMatch among the Playwright keys e2e rejects. Fold the mapping tables into accordions.
* docs(migrate/selenium): rewrite with the authoring-docs skill
* docs(mobile): rewrite with the authoring-docs skill
Fix the Android installApp troubleshooting entry: agent-device 0.21.22 parses the manifest itself and searches ~/Library/Android/sdk on macOS.
* docs(models): rewrite with the authoring-docs skill
* docs(quickstart): rewrite with the authoring-docs skill
* docs(security): rewrite with the authoring-docs skill
Name smol beside Kernel and EAS Simulators among the integrations that make outbound connections.
* docs(subscriptions): rewrite with the authoring-docs skill
npx e2e login with no provider opens a picker.
* docs(telemetry): rewrite with the authoring-docs skill
Add the source-checkout, unwritable-preferences, and CI opt-out rules.
* docs(tools): rewrite with the authoring-docs skill
Config load fails only when an entry sets both tools and a custom executor.
* docs(visual-testing): rewrite with the authoring-docs skill
* docs(web): rewrite with the authoring-docs skill
Fold the Next.js dev-origins section, merge the basicAuth examples, and fix the reuseExisting row: in CI e2e ignores it and only a server that already answers is APP_ALREADY_RUNNING. Drop the unrelated agents block from the command config example.
* docs(writing-an-engine): rewrite with the authoring-docs skill
Remove the origin-check claim for location; PR #290 removed origin policy.
* docs(models): keep process.loadEnvFile() as a way to load the pulled OIDC token
* docs(mobile): restore the imports in the several-devices and agent-tools configs
* docs(agent-steps): shorten
Prose words 841 -> 764.
* docs(agents): shorten
Prose words 789 -> 675.
* docs(api-testing): shorten
Prose words 270 -> 266.
* docs(authentication): shorten
Prose words 1000 -> 849.
* docs(browser): shorten
Prose words 1934 -> 1697.
* docs(bug-bash): shorten
Prose words 615 -> 585.
* docs(cache): shorten
Prose words 2793 -> 2374.
* docs(ci): shorten
Prose words 1338 -> 1182.
* docs(ci/bitrise): shorten
Prose words 321 -> 306.
* docs(ci/codemagic): shorten
Prose words 259 -> 250.
* docs(ci/eas-workflows): shorten
Prose words 431 -> 394.
* docs(ci/github-actions): shorten
Prose words 544 -> 453.
* docs(coding-agents): shorten
Prose words 841 -> 735.
* docs(core-concepts): shorten
Prose words 686 -> 620.
* docs(debugging): shorten
Prose words 1826 -> 1604.
* docs(decision-models): shorten
Prose words 1003 -> 942.
* docs(example-projects): shorten
Prose words 347 -> 288.
* docs(executors): shorten
Prose words 1297 -> 1114.
* docs(explore): shorten
Prose words 451 -> 413.
* docs(github): shorten
Prose words 723 -> 626.
* docs(index): shorten
Prose words 387 -> 333.
* docs(integrations/eas): shorten
Prose words 1293 -> 1119.
* docs(integrations/index): shorten
Prose words 174 -> 163.
* docs(integrations/kernel): shorten
Prose words 794 -> 620.
* docs(integrations/smol): shorten
Prose words 924 -> 855.
* docs(migrate/cypress): shorten
Prose words 957 -> 890.
* docs(migrate/detox): shorten
Prose words 1073 -> 1021.
* docs(migrate/maestro): shorten
Prose words 2464 -> 2246.
* docs(migrate/playwright): shorten
Prose words 4835 -> 4546.
* docs(migrate/selenium): shorten
Prose words 933 -> 887.
* docs(mobile): shorten
Prose words 2912 -> 2595.
* docs(models): shorten
Prose words 1187 -> 1048.
* docs(quickstart): shorten
Prose words 980 -> 946.
* docs(security): shorten
Prose words 587 -> 559.
* docs(subscriptions): shorten
Prose words 694 -> 651.
* docs(telemetry): shorten
Prose words 2158 -> 1999.
* docs(tools): shorten
Prose words 460 -> 397.
* docs(visual-testing): shorten
Prose words 583 -> 566.
* docs(web): shorten
Prose words 1262 -> 1104.
* docs(writing-an-engine): shorten
Prose words 1731 -> 1522.
* docs(agent-steps): address review findings
* docs(agents): address review findings
* docs(authentication): address review findings
* docs(cache): address review findings
* docs(ci): address review findings
* docs(coding-agents): address review findings
* docs(debugging): address review findings
* docs(example-projects): address review findings
* docs(executors): address review findings
* docs(index): address review findings
* docs(integrations/eas): address review findings
* docs(migrate/maestro): address review findings
* docs(subscriptions): address review findings
* docs(telemetry): address review findings
* docs(tools): address review findings
* docs(web): address review findings
* docs(writing-an-engine): address review findings
The guide answers what most readers ask: how secrets stay out of the model,
what can still leak, and what runs with your permissions. Every rule moves to
docs/reference/security.mdx. smol host-loopback access moves to the smol
page's warning. Fixes facts that no longer matched src/: defineTool errors are
INVALID_CONFIG, the CI cache default skips a cache.store, start-screen replay
matches routes, and outbound connections now list login, models, init, and the
smol image pull.
The smol page icon pointed at the full-color card logo in
/images/integrations/, a white tile the sidebar filter in style.css never
touches. Add a transparent black silhouette under /images/icons/, cropped
and thickened to match the other marks, and document the page icon rules
in the authoring-docs skill.
* feat(web): locale and timezoneId options set the language and time zone every attempt runs in
* docs(web): timezoneId validation is best effort, the browser has the final word
easSimulators() takes the project from extra.eas.projectId of the app config
beside e2e.config.ts: app.config.json or app.json read as JSON, a dynamic
app.config.* evaluated by the project's own `expo config --type public` with
EXPO_NO_DOTENV=1, as eas-cli runs it. The read happens once per run and
project root, across every easSimulators() target; a failed read is not
kept. `projectId` still wins.
@e2e-dev/mobile passes the config's projectRoot to DeviceProvider.acquire so a
provider reads project files there instead of process.cwd().
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* docs: agent prompt quickstart, why-e2e intro, separate API testing page
* docs(api-testing): keep the signed-in fixture's cookies on the app origin
* test(skill): walk the docs without entering node_modules
Node 22's recursive readdirSync followed the workspace symlink loop under
docs/node_modules and failed with ELOOP before the filter could drop it.
* feat(eas): authenticate with the eas-cli login when EXPO_TOKEN is not set
easSimulators() now reads the session eas login keeps in ~/.expo/state.json
(under USERPROFILE on Windows, HOME elsewhere) and sends it as the
expo-session header, as eas-cli does. EXPO_TOKEN still wins and goes out as
Authorization: Bearer. Only the production login is read, since the sessions
API is always api.expo.dev. release stops each session with the client that
created it, so a logout or account switch during the run cannot strand a
billed session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(eas): keep the lease's client until stop succeeds; separate local credential errors in docs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* feat!: browser fixture, getByRole name arg, toMatchSchema, top-level hooks, separate credential namespace
API review feedback before launch:
- web fixture renamed browser (Web -> Browser, WebExpectation ->
BrowserExpectation); requires: ['browser']; destructuring web hints the
new name. web() factory and other Web* types unchanged.
- getByRole(role, name, options?) beside the object form; MCP locate
writes the short form.
- expect(value).toMatchSchema(standardSchema): sync, returns the typed
output; poll resolves to it, soft returns undefined after a kept failure.
- describe, beforeEach, afterEach, beforeAll, afterAll exported from e2e;
web and mobile export typed beforeEach/afterEach.
- credentials and secrets are separate namespaces: a password handle is
<name>.password, secrets.get() never returns it. Committed recordings
migrated offline (old key hash verified, then recomputed).
- runtime test.skip keeps Playwright semantics; docs say it throws.
* docs(web): browser acts on one active tab; cookies, routes, dialogs cover the whole browser
* fix(secrets): judge a fill's purpose by the config, not the handle; no old-name hints
A config-time secrets.get() handle reads its purpose from the run's
registry again, and authorizeSecretFill checks the registered purpose, so a
handle claiming generic-secret cannot put a password into a plain field.
Drop the web fixture migration hint. Changesets name the on-screen marker
change for replay entries.
* docs(skill): browser fixture, getByRole name arg, toMatchSchema, top-level hooks, credential namespace on the rewritten skill
* fix(expect): negated toMatchSchema returns nothing, as its type says
* fix(expect,docs): soft double negation stays soft, null ~standard is INVALID_ARGUMENT, Playwright samples keep Playwright's getByRole
Also documents SoftExpectCall, SoftValueExpectation, and NegatedPollExpectation
on the expect reference, requires: ['browser'] in the skill's options table,
and tightens the poll and secret-purpose tests.
* docs(babysit): triage pattern for scripted renames that rewrite another library's code
* docs: engine options take a secrets entry, web package hook exports, vault example imports
* refactor(secrets)!: credentials hold their password, allSecrets feeds fills; engines export describe and every hook; BrowserRoute, BrowserResponse
From the maintainability review:
- ResolvedConfig.secrets is the config.secrets entries only; a credential
carries its password; allSecrets is the one map fills, the ledger, and
redaction read. The per-consumer purpose filters and the .password
suffix parsing are gone, and e2e mcp builds handles from config.
- The config load and a running test name the credential a missing
secrets.get() most likely meant.
- @e2e-dev/web and @e2e-dev/mobile export describe and all four hooks
beside test, so a test file registers from one import.
- WebRoute and WebResponse are BrowserRoute and BrowserResponse.
- getByRole normalizes its arguments once; isTextMatch is the one
string-or-RegExp check; poll reuses ValueMatcherName.
* revert(web): keep WebRoute and WebResponse; Browser names the fixture, Web the network and option types
* feat!: the app is declared on its target; engines only drive it
The app under test moves from the engine's options to `targets: [{ engine,
app }]`: `url`, `bundleId`, `appPath`, `identity`, `environment`,
`launchArguments`, `permissions`, `command`, and `readyUrl`. `web()` and
`mobile()` refuse every moved option in one `INVALID_CONFIG` naming the
target block; `defineEngine({ app })` is gone and engines check what their
platform needs in `validateApp`. `requires: ['browser' | 'native-app']` is
derived from the target's app. Replay cache and session keys are byte for
byte what they were, pinned by target-identity.test.ts.
Dependency services are not part of this version: `services` anywhere, and
`web({ services })`, fail saying so. `app.command` on port 0 without a
command, and `reuseExisting` on a free port, are refused. An `e2e mcp`
open cancelled or disconnected mid-start stops what it started, and a hung
shared start is abandoned once no session waits on it.
* fix: review follow-ups: cancelled opens, abandoned starts, null targets, stale docs
* refactor: drop the moved-option messages; old app keys are unknown keys
* test: give the replaced-nodes suite a budget that survives a loaded runner
* test: size the replaced-nodes hook budget to its seven tests
* fix(web): names read generated content and drop icon-font glyphs
The tree named <button><i class="fa fa-sign-in"> Login</i></button> "Login"
while getByRole read the ::before glyph and found nothing. Names now read
::before/::after content as accname, Chrome, and Playwright do; private-use
glyphs are dropped from the reported name, and a role query's string name
tolerates them in the browser's name.
* fix(web,kernel): waitForDownload works on a Kernel browser
A remote browser saves downloads to its own disk, so Playwright's saveAs
over CDP always failed with 'canceled'. BrowserProvider gains an optional
downloads { dir, read }: the engine points the context's downloads at dir
on the browser's machine and reads the finished file back. kernel()
implements it with the browser filesystem API. Without it, the failure
names the provider.
* fix(web): forward worker-side lease progress to the reporter
Attempt-scope and replacement leases were acquired with a discarded log,
so Kernel's live-view line never showed. Use the worker's init log.
* fix(web,kernel): sweep leases a dead worker left open
A worker killed mid-attempt in kernel({ scope: 'attempt' }) leaked its
browser until Kernel's timeout. BrowserProvider gains an optional sweep,
called once per target in finish after the held leases are released;
kernel() deletes every active browser tagged with the run and target.
* fix(web,e2e): name persistent-context limits early
app.clearState() in attempt scope said 'engine web does not implement it';
the engine now refuses it naming the mode. A session consumed on a target
without a state capability fails selection with COLLECTION_ERROR instead
of failing session.save() after the setup test logged in.
* fix(kernel): trim Kernel error messages; docs: attempt scope rules out userAgent
The SDK keeps the newline Kernel ends an error body with, splitting the
run's error line. Trim every SDK failure's message.
* fix(web): absolute downloads.dir; crosscheck spaces glyphs as the tree does
Also guards the provider-downloads test cleanup and notes in the changeset
that a role query by a glyph-only control's title finds nothing.
* test(skill): fail a skill or docs paragraph that passes the removed --artifacts
* fix(config): name the replacement for a removed createAgent import
* fix(config): keep the code of a config error raised while the config evaluates
* fix(secrets): refuse a secrets.get() reference where a string is needed
* fix(config): reject unknown keys in engine, command, test, and query options
* fix(config): refuse a tests entry naming a directory, name the ! entry excluding a positional
* refactor(config): derive option key lists from their types
* fix(config): one shared unknown-key check; drop undefined env values
Setup and describe option keys typed from their interfaces; a directory tests entry is INVALID_GLOB like a trailing slash.
* fix(collect): name the excluding ! entry when exclusions left nothing, and in on-disk casing
* fix(config): address review - exclusion hint for bare names, array env, qualified hints
* test(select): use a missing tmp root, not /root, which CI cannot stat
* fix(mobile): accept videoTouches, added on main by #671, in the mobile() key list
* fix(mobile): reject unknown permission names and states in mobile() and device.openApp
Names and states are checked against DevicePermission and PermissionState
through satisfies-typed key lists. INVALID_CONFIG at load, INVALID_ARGUMENT
from device.openApp, before any device command. rejectUnknownKeys takes an
optional code for the test-time case.
* fix(eas): reject unknown easSimulators() options with INVALID_CONFIG
Its options are its own, mapped onto EAS's create input, not a passed-through
SDK body, so a typo such as buildID was dropped silently. Its two other option
refusals are INVALID_CONFIG too. e2e is now a peer, for e2e/engine.
* fix(mobile): require a plain object for permissions; clarify eas and permission notes
A Map passed the object check with no own keys, and the preset applied none
of it.
* feat(mobile): videoTouches option, and record video with device scope so an attempt with no open app still records
* feat(eas): @e2e-dev/eas, EAS Simulators for the mobile engine
* fix(mobile): forget a session a device-scope recording ended, and hand providers the agent-device version
* fix(eas): pin the daemon's agent-device, idle guard across targets, idle below a short duration
* fix: record-only session bookkeeping on the attempt-end stop, per-session EAS idle deadlines
* fix(eas): an ended job is not ready, per-run release in tests, clearer session count and naming
* fix(eas): refuse an idle limit at or above the duration