Commit Graph
56 Commits
Author SHA1 Message Date
Céline Debled bc41a25c7d feat(lightpanda): load linked stylesheets by default (#1923) 2026-11-18 10:01:15 +00:00
Kayaan Tharani 1cbbeb1376 docs(revyl): recommend a 15 s assertion timeout and list the unsupported device methods (#1912) 2026-11-18 08:40:27 +02:00
9602daa960 feat(notte): add @e2e-dev/notte, a browser provider for Notte cloud browsers (#1726)
* 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>
2026-11-17 19:38:50 +00:00
Kayaan TharaniandOskar Kwaśniewski f659d64d80 feat(revyl): add @e2e-dev/revyl for mobile tests on Revyl devices (#1708)
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
2026-11-17 20:55:14 +02:00
Donough Liu 29a0261775 feat(moli): add managed local browser provider (#1843)
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
2026-11-17 07:03:27 +00:00
Oskar Kwaśniewski ceaea64cee chore(deps): bump workspace deps to latest, playwright-core to 1.65.1 (#1785) 2026-11-14 09:17:55 +00:00
Brendan Irvine-BroqueandOskar Kwaśniewski 352b774b33 feat(browser-run): add Cloudflare hosted browsers (#1634)
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
2026-11-13 08:46:31 +00:00
Kacper Kapuściak 220f22c88b docs(integrations): clarify hosted-device requirements (#1671) 2026-11-10 13:33:27 +00:00
Akarsh KushwahaandClaude Opus 5.5 695236e951 docs(eas): read the simulator build ID from E2E_IOS_BUILD_ID, not EAS_BUILD_ID (#1667)
* 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>
2026-11-10 10:11:54 +00:00
Tomas Varga ae5d121514 feat(e2b): run Android and web targets in E2B sandboxes (#1598) 2026-11-09 19:08:27 +01:00
Oskar Kwaśniewski 34a260cc59 chore(deps): bump workspace deps to latest, playwright-core to 1.65.0 (#1609) 2026-11-07 11:04:51 +01:00
Kacper Kapuściak f185ca8ba2 docs: retire sidebar page icons (#1582)
* 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
2026-11-05 18:23:59 +00:00
Nathan Walker 65ebc7d47b docs(mobile): NativeScript test ids and a Norrix CI page (#1567) 2026-11-05 11:58:25 +01:00
Oskar Kwaśniewski 0c0469605a chore: replace e2e.tester.army with e2e.com (#1572) 2026-11-05 09:23:45 +01:00
Kacper Kapuściak 1293b7807f docs(eas): call Expo's services by their Expo names (#1518)
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.
2026-11-03 11:16:48 +00:00
Kacper Kapuściak c59156e458 feat(eas): rename easSimulators() to expoSimulators() (#1517)
* 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
2026-11-03 09:21:33 +00:00
Manuel LopezandOskar Kwaśniewski 64432f1089 feat(browserstack): add @e2e-dev/browserstack device provider (#1307)
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
2026-10-30 13:58:48 +01:00
Kacper Kapuściak 38b802d61c docs(examples): supersede with-limrun with Limrun's official example (#1442) 2026-10-29 08:26:17 +00:00
Oskar Kwaśniewski 24fc856de6 docs(testmu): merge the device and browser pages into one (#1330) 2026-10-22 08:46:30 -04:00
92f8cb07bf feat(testmu): hosted Chrome and Edge for the web engine with testmuBrowsers() (#1200)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: SahilSawLT <sahilsaw@lambdatest.com>
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
2026-10-21 08:57:19 -04:00
Kacper Kapuściak 6a59d1acfb chore(deps): batch Dependabot updates (Playwright 1.64.1, oxc 0.154) (#1275)
Closes #1261, #1262, #1263, #1264, #1265, #1266, #1267, #1268.
2026-10-20 07:32:07 +00:00
Rudy Mizrahi CelekliandOskar Kwaśniewski 2219744952 fix(eas): validate session minute limits before acquiring devices (#897)
Co-authored-by: Oskar Kwaśniewski <oskar@okwasniewski.com>
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-16 15:38:52 +02:00
Kacper Kapuściak 897e368e5d docs(integrations): give TestMu AI its logo and fail docs:check on a vendor page without one (#1201)
* 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
2026-10-16 11:48:29 +00:00
88ed71768a feat(testmu): add @e2e-dev/testmu device provider (#772)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Anurag Sharma <38938168+anurag-lambdatest@users.noreply.github.com>
Co-authored-by: SahilSawLT <sahilsaw@lambdatest.com>
2026-10-16 12:31:13 +02:00
Oskar Kwaśniewski b41afa262e feat(lightpanda): add @e2e-dev/lightpanda, a browser provider for the Lightpanda headless browser (#1163) 2026-10-15 21:42:22 +02:00
Dery FerdikaandOskar Kwaśniewski 762f7dea4a docs(skill): drop agent-device version from limrun keyboard note (#1104)
* 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>
2026-10-14 10:50:15 +02:00
Kacper Kapuściakanddependabot[bot] 2536ed3454 chore(deps): batch Dependabot updates (Playwright 1.64, oxc 0.153, Next 16.4) (#1130)
* chore(ci): bump actions/setup-node from 7.0.0 to 7.1.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(ci): bump actions/upload-artifact from 7.0.1 to 7.0.2

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 7.0.1 to 7.0.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/043fb46d1a93c77aae656e7c1c64a875d1fc6a0a...cf430e030ddbb5b0abf93d22962f4752f3646cd9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): batch Dependabot updates

Combines #1121-#1129: actions/setup-node 7.1.0, actions/upload-artifact
7.0.2, next 16.4.0, playwright-core 1.64.0, @ai-sdk/provider 4.0.26,
oxc-parser/oxc-transform/@oxc-project/runtime 0.153.0, and
@modelcontextprotocol/server 2.3.1. The smol provider's Playwright image,
its unit test, and the smol docs move to 1.64.0 with playwright-core.

* docs(deps): restamp workaround comments for oxc 0.153 and Playwright 1.64

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-14 10:33:44 +02:00
Kacper Kapuściak 8d7700fbc1 docs(integrations): use Limrun's logo for its card and sidebar icon (#1069) 2026-10-12 17:37:30 +02:00
Kacper Kapuściak 5d4053e8fa docs: render an Open Graph card for every docs page with @vercel/og (#1062) 2026-10-12 15:10:32 +02:00
Oskar KwaśniewskiandClaude Fable 5.1 c4263bde17 fix(limrun): pin agent-device 0.21.25 to match mobile (#1066)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-12 14:50:13 +02:00
Mehmet Enes c807f94806 feat(limrun): add hosted device provider and app-flow example (#988) 2026-10-12 08:32:51 +00:00
Kacper Kapuściak 449fa93670 docs: rewrite and shorten the guide pages with the authoring-docs skill (#1019)
* 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
2026-10-10 12:55:15 +00:00
Kacper Kapuściak 521988496e docs(security): split the security page into a short guide and a rules reference (#1008)
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.
2026-10-09 13:13:28 +00:00
Kacper Kapuściak 67ab7d55d6 docs(integrations): shorten the smol machines page (#1005) 2026-10-09 14:03:45 +02:00
Kacper Kapuściak ef1ae5fddc docs(integrations): grey smol machines sidebar icon like its neighbors (#1001)
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.
2026-10-09 10:56:57 +00:00
BinBin He 06bb72653f feat(smol): @e2e-dev/smol, browsers and the app under test in branchable smol machines microVMs (#956) 2026-10-08 23:09:51 +02:00
Rudy Mizrahi Celekli 9236bea370 fix(eas): refuse cancelled acquisition before creating sessions (#906)
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
Signed-off-by: Rudy Celekli <rudy@gradiahq.com>
2026-10-07 23:51:42 +02:00
Kacper Kapuściak 00c6bba4e7 docs(ci): give each CI service its own sidebar page (#964) 2026-10-07 20:01:56 +02:00
Kacper Kapuściak 63482bd6fe docs: reorganize the sidebar into platforms and a deep dive (#870) 2026-10-05 20:39:06 +02:00
Oskar Kwaśniewski f88233fdce feat(web): locale and timezoneId options set the language and time zone every attempt runs in (#786)
* 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
2026-10-03 17:40:21 +02:00
Szymon DziedzicandClaude Opus 5.5 88cef2c26d feat(eas): read projectId from the app config when easSimulators() names none (#731)
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>
2026-10-01 21:30:05 +02:00
Oskar Kwaśniewski cec19ba1db docs: agent prompt quickstart, why-e2e intro, separate API testing page (#733)
* 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.
2026-10-01 18:36:22 +02:00
Szymon DziedzicandClaude Opus 5.5 1554360ba2 feat(eas): authenticate with the eas-cli login when EXPO_TOKEN is not set (#730)
* 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>
2026-10-01 17:20:20 +02:00
Oskar Kwaśniewski 3dc4ec9614 feat!: browser fixture, getByRole name arg, toMatchSchema, top-level hooks, separate credential namespace (#704)
* 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
2026-09-30 20:58:52 +02:00
Oskar Kwaśniewski 4d488f8286 feat!: the app is declared on its target; engines only drive it (#698)
* 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
2026-09-30 19:48:00 +02:00
Oskar Kwaśniewski f5bc45ac14 fix(web,kernel): Kernel downloads, crashed-worker leaks, icon-font names, and clearer attempt-scope limits (#669)
* 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.
2026-09-30 14:40:47 +02:00
devin-ai-integration[bot]andoskar 256513dc0b docs: sync the package manager choice across every command snippet (#679)
Co-authored-by: oskar <oskar@okwasniewski.com>
2026-09-30 14:40:08 +02:00
Oskar Kwaśniewski 0073644863 fix(config): refuse silent config mistakes: secret references as strings, nested unknown keys, directory globs (#670)
* 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.
2026-09-30 10:36:32 +02:00
Oskar Kwaśniewski 630c987960 docs(integrations): placeholder EAS project id, service logos on cards (#674)
* docs(integrations): placeholder EAS project id, service logos on cards

* docs(eas): session count is an upper bound, cleanup covers queued sessions
2026-09-30 09:37:51 +02:00
Oskar Kwaśniewski 86fb6eae1f feat(eas): @e2e-dev/eas, EAS Simulators for the mobile engine (#671)
* 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
2026-09-30 09:09:30 +02:00