From c0e937328d8f330d022657b2935b90d004854a5b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Dec 2026 03:35:58 +0000 Subject: [PATCH] chore: version packages --- .changeset/act-tools-per-call.md | 6 -- .changeset/agent-step-edge-cases.md | 12 ---- .changeset/anyformat-image-codec.md | 8 --- .changeset/async-image-codec.md | 8 --- .changeset/bidi-cookie-samesite.md | 5 -- .changeset/bidi-drag-cancelled.md | 5 -- .changeset/bidi-engine.md | 5 -- .changeset/browser-locator-within.md | 9 --- .changeset/budget-timeout-latch.md | 6 -- .changeset/cached-drag-destination.md | 5 -- .changeset/cached-test-id-strongest-tier.md | 5 -- .changeset/claude-plugin-mcp.md | 5 -- .changeset/clear-response-readers.md | 5 -- .changeset/config-telemetry.md | 5 -- .changeset/desktop-title-bar-search-button.md | 5 -- .changeset/doctor-ios-simulator-build.md | 5 -- .changeset/electron-form-actions.md | 5 -- .../electron-held-input-and-launch-checks.md | 5 -- .../engine-contract-platform-engines.md | 8 --- .changeset/expect-config-group.md | 6 -- .changeset/expect-value-matchers.md | 6 -- .changeset/explore-json-stdout.md | 5 -- .changeset/full-page-clip-screenshots.md | 8 --- .changeset/ignore-snapshots.md | 6 -- .changeset/init-vite-app.md | 5 -- .changeset/label-scope-filter.md | 5 -- .changeset/launch-session-screenshots.md | 6 -- .changeset/locator-description-options.md | 5 -- .changeset/mcp-fold-large-screens.md | 6 -- .changeset/mcp-open-world-hint.md | 6 -- .changeset/opt-in-video-touches.md | 5 -- .changeset/own-property-name-sets.md | 6 -- .changeset/redact-inspect-escapes.md | 6 -- .changeset/replayable-swipes.md | 7 -- .changeset/retry-every-failure.md | 8 --- .changeset/run-code-mixed-locators.md | 6 -- .changeset/screenshot-config-defaults.md | 6 -- .changeset/silent-fixture-urls.md | 5 -- .changeset/since-last-run.md | 5 -- .changeset/snapshot-path-template.md | 6 -- .changeset/stream-redactor-marker-cut.md | 5 -- .changeset/strict-cache-html-report.md | 5 -- .changeset/strict-cache-no-live-act.md | 6 -- .changeset/target-engine-required.md | 6 -- .changeset/test-targets-option.md | 6 -- .changeset/tool-output-not-replayed.md | 6 -- packages/acp/CHANGELOG.md | 6 ++ packages/acp/package.json | 2 +- packages/bidi/CHANGELOG.md | 13 ++++ packages/bidi/package.json | 2 +- packages/core/CHANGELOG.md | 68 ++++++++++++++++++ packages/core/package.json | 2 +- packages/decision/CHANGELOG.md | 8 +++ packages/decision/package.json | 2 +- packages/desktop/CHANGELOG.md | 14 ++++ .../desktop/npm/darwin-arm64/CHANGELOG.md | 4 ++ .../desktop/npm/darwin-arm64/package.json | 2 +- packages/desktop/npm/darwin-x64/CHANGELOG.md | 4 ++ packages/desktop/npm/darwin-x64/package.json | 2 +- packages/desktop/package.json | 2 +- packages/e2e/CHANGELOG.md | 70 +++++++++++++++++++ packages/e2e/package.json | 2 +- packages/e2e/server.json | 4 +- packages/electron/CHANGELOG.md | 14 ++++ packages/electron/package.json | 2 +- packages/html-reporter/CHANGELOG.md | 6 ++ packages/html-reporter/package.json | 2 +- packages/mobile/CHANGELOG.md | 20 ++++++ packages/mobile/package.json | 2 +- packages/web/CHANGELOG.md | 12 ++++ packages/web/package.json | 2 +- plugins/e2e/.claude-plugin/plugin.json | 2 +- plugins/e2e/.codex-plugin/plugin.json | 2 +- plugins/e2e/.cursor-plugin/plugin.json | 2 +- plugins/e2e/.devin-plugin/plugin.json | 4 +- plugins/e2e/mcp.json | 2 +- plugins/e2e/plugin.json | 2 +- 77 files changed, 260 insertions(+), 296 deletions(-) delete mode 100644 .changeset/act-tools-per-call.md delete mode 100644 .changeset/agent-step-edge-cases.md delete mode 100644 .changeset/anyformat-image-codec.md delete mode 100644 .changeset/async-image-codec.md delete mode 100644 .changeset/bidi-cookie-samesite.md delete mode 100644 .changeset/bidi-drag-cancelled.md delete mode 100644 .changeset/bidi-engine.md delete mode 100644 .changeset/browser-locator-within.md delete mode 100644 .changeset/budget-timeout-latch.md delete mode 100644 .changeset/cached-drag-destination.md delete mode 100644 .changeset/cached-test-id-strongest-tier.md delete mode 100644 .changeset/claude-plugin-mcp.md delete mode 100644 .changeset/clear-response-readers.md delete mode 100644 .changeset/config-telemetry.md delete mode 100644 .changeset/desktop-title-bar-search-button.md delete mode 100644 .changeset/doctor-ios-simulator-build.md delete mode 100644 .changeset/electron-form-actions.md delete mode 100644 .changeset/electron-held-input-and-launch-checks.md delete mode 100644 .changeset/engine-contract-platform-engines.md delete mode 100644 .changeset/expect-config-group.md delete mode 100644 .changeset/expect-value-matchers.md delete mode 100644 .changeset/explore-json-stdout.md delete mode 100644 .changeset/full-page-clip-screenshots.md delete mode 100644 .changeset/ignore-snapshots.md delete mode 100644 .changeset/init-vite-app.md delete mode 100644 .changeset/label-scope-filter.md delete mode 100644 .changeset/launch-session-screenshots.md delete mode 100644 .changeset/locator-description-options.md delete mode 100644 .changeset/mcp-fold-large-screens.md delete mode 100644 .changeset/mcp-open-world-hint.md delete mode 100644 .changeset/opt-in-video-touches.md delete mode 100644 .changeset/own-property-name-sets.md delete mode 100644 .changeset/redact-inspect-escapes.md delete mode 100644 .changeset/replayable-swipes.md delete mode 100644 .changeset/retry-every-failure.md delete mode 100644 .changeset/run-code-mixed-locators.md delete mode 100644 .changeset/screenshot-config-defaults.md delete mode 100644 .changeset/silent-fixture-urls.md delete mode 100644 .changeset/since-last-run.md delete mode 100644 .changeset/snapshot-path-template.md delete mode 100644 .changeset/stream-redactor-marker-cut.md delete mode 100644 .changeset/strict-cache-html-report.md delete mode 100644 .changeset/strict-cache-no-live-act.md delete mode 100644 .changeset/target-engine-required.md delete mode 100644 .changeset/test-targets-option.md delete mode 100644 .changeset/tool-output-not-replayed.md create mode 100644 packages/bidi/CHANGELOG.md diff --git a/.changeset/act-tools-per-call.md b/.changeset/act-tools-per-call.md deleted file mode 100644 index 47357853c8..0000000000 --- a/.changeset/act-tools-per-call.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -`agent.act` takes `tools`: tools from `defineTool` offered to that one call, beside the agent's configured ones, so a tool can be scoped to a step instead of the whole config. A custom executor receives them as `step.tools` when it declares `tools: true`. [Project tools](https://e2e.com/docs/tools#pass-a-tool-to-one-call) diff --git a/.changeset/agent-step-edge-cases.md b/.changeset/agent-step-edge-cases.md deleted file mode 100644 index c1ca725114..0000000000 --- a/.changeset/agent-step-edge-cases.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch ---- - -Fix several agent step edge cases: - -- Agent params that use one object in two places, such as `{ billing: address, shipping: address }`, are accepted. Only a real cycle fails with `contains a cycle`. -- `scroll_to` with a list named as `#n42`, the way the screen lists it, checks only that list for the text, so a heading elsewhere with the same text no longer ends the scroll early. -- `attachScreenshot` adds a number to a label that was already used (`evidence-2.png`) instead of overwriting the earlier image that other artifacts still point to. -- A project tool's object result over 16 KiB reaches the model as JSON text cut at 16 KiB, with a notice like a long text result, unless the tool sets its own `toModelOutput`. -- A reply quoted back to the model for repair is cut without splitting an emoji in half, and a text reply in a code fence is parsed in linear time. diff --git a/.changeset/anyformat-image-codec.md b/.changeset/anyformat-image-codec.md deleted file mode 100644 index 0c4b4f338f..0000000000 --- a/.changeset/anyformat-image-codec.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@e2e-dev/core': patch -'@e2e-dev/decision': patch -'@e2e-dev/desktop': patch -'@e2e-dev/mobile': patch ---- - -Screenshots are now decoded, encoded, and compared with `@swc/anyformat-image` instead of `@napi-rs/image` and `pixelmatch`. Its comparison reproduces `pixelmatch` 8, so a `toHaveScreenshot` call counts the same pixels as before. It compares two screenshots about 2 times faster (about 5 times when they are equal), draws the diff image about 2 times faster, and encodes 15 to 30% faster. The native binding is about 0.9 MB unpacked instead of 14 to 28 MB. Bindings are published for every platform `@napi-rs/image` had one for. A missing binding now fails a comparison too, not only a decode or an encode. A pixel that a PNG's transparent color (`tRNS`) makes transparent now decodes as `0, 0, 0, 0`, as `pngjs` decodes it, not with its color kept. Comparing such a pixel is unchanged, since a transparent pixel is compared as white, but resizing a capture at a scale above 1 now averages it as black, so a stored screenshot of an engine that captures PNGs with a transparent color can stop matching. No engine in this repository does. diff --git a/.changeset/async-image-codec.md b/.changeset/async-image-codec.md deleted file mode 100644 index e176d9e2ff..0000000000 --- a/.changeset/async-image-codec.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@e2e-dev/core': patch -'@e2e-dev/decision': patch -'@e2e-dev/desktop': patch -'@e2e-dev/mobile': patch ---- - -Screenshots are now decoded, encoded, and compared off the main thread, on libuv's thread pool. A full-page screenshot used to block the worker's event loop for up to about 240 ms while it was encoded, which delayed engine messages, timers, and the runner's IPC. It now blocks it for about 3 ms, and each call takes the same time as before. Resizing a screenshot, for a model or for `toHaveScreenshot` on a screen whose scale is above 1, now runs there too, in the same call as the decode: on a full page it blocks the loop for about 2 ms and takes about 30% less time. The native resize gives the same pixels as the JavaScript one did. The desktop engine finds the window in a capture natively, about 10 ms sooner on a Retina window. diff --git a/.changeset/bidi-cookie-samesite.md b/.changeset/bidi-cookie-samesite.md deleted file mode 100644 index 195178d9ac..0000000000 --- a/.changeset/bidi-cookie-samesite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/bidi': patch ---- - -`browser.cookies()` on a `bidi()` target no longer reports `sameSite: 'None'` for a cookie set with no SameSite. On Chromium it reads `'Lax'`, as on `@e2e-dev/web`; on Firefox the field is left out, so `browser.setCookies(await browser.cookies())` no longer fails there. diff --git a/.changeset/bidi-drag-cancelled.md b/.changeset/bidi-drag-cancelled.md deleted file mode 100644 index b51c08a886..0000000000 --- a/.changeset/bidi-drag-cancelled.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/bidi': patch ---- - -`dragTo` and `swipeTo` on a `bidi()` target now drag with the pointer when the app cancels `dragstart`, as a list sorted by pointer does. Before, the action resolved after moving the pointer without pressing it, so the app saw no drag. diff --git a/.changeset/bidi-engine.md b/.changeset/bidi-engine.md deleted file mode 100644 index d8ad4ced77..0000000000 --- a/.changeset/bidi-engine.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/bidi': patch ---- - -New package: `@e2e-dev/bidi`, an experimental browser engine that drives Chromium or Firefox over the W3C WebDriver BiDi protocol. `engine: bidi()` (Chromium) or `engine: bidi({ browser: 'firefox' })` launches a pinned Chrome for Testing (its headless shell for a headless run) or Firefox build it downloads and checks against its SHA-256 (or `executablePath`), runs the chromium-bidi mapper in a child process for Chromium, and gives each attempt its own user context. It reads pages with its own in-page reader, so the `screen` locators and actions, frames, `agent` steps, and masked screenshots work as on `@e2e-dev/web`, and its `browser` fixture is a subset of web's with the same names: navigation, `locator`, `frameLocator`, `evaluate`, keyboard and mouse, cookies, `setViewport`, tabs, `onDialog`, and `expect(browser)`. Saved sessions keep cookies and `localStorage`. Routes, the clock, video, downloads, permissions, and providers are not supported yet. It imports only the public engine contract and no automation library. diff --git a/.changeset/browser-locator-within.md b/.changeset/browser-locator-within.md deleted file mode 100644 index 355084bbff..0000000000 --- a/.changeset/browser-locator-within.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@e2e-dev/web': patch -'@e2e-dev/core': patch -'e2e': patch -'@e2e-dev/mobile': patch -'@e2e-dev/desktop': patch ---- - -`browser.locator(selector, { within })` runs a CSS or XPath selector inside another locator, as Playwright's `within.locator(selector)` does: `browser.locator('td.price', { within: row })`. `within` is any locator from `screen` or `browser` and keeps its frame. Engines get the parts: a `selector` expression takes an optional `scope`, `resolveExpression` and the mobile engine answer it over the scope's descendants, `expressionSelectors` lists the scope's selectors, and a fixture reads a test's locator with `context.expressionOf(api, locator)`. A second argument to `browser.locator` that is not an options object now throws `INVALID_LOCATOR`, so `['td', '.price'].map(browser.locator)`, which passes the index, needs `map((selector) => browser.locator(selector))`. A frame's `locator()` now throws `INVALID_LOCATOR` for any second argument instead of dropping a `within`. `@e2e-dev/web` now needs `@e2e-dev/core` and `e2e` 0.27.0 or newer. [locator](https://e2e.com/docs/reference/web#locator) diff --git a/.changeset/budget-timeout-latch.md b/.changeset/budget-timeout-latch.md deleted file mode 100644 index c9a92ec2a0..0000000000 --- a/.changeset/budget-timeout-latch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/bidi': patch -'@e2e-dev/electron': patch ---- - -A step that timed out no longer sends one more input to the app. The timeout and the check before each input read different clocks, so the next input could get through. diff --git a/.changeset/cached-drag-destination.md b/.changeset/cached-drag-destination.md deleted file mode 100644 index d4094837a5..0000000000 --- a/.changeset/cached-drag-destination.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -Cached taps, hovers, and drags at a point recorded inside a control wait until the point lands inside that control on screen, so a drag waits for a late or hidden drop target, and a drag that waits for one end stops if a control named like the other end appears meanwhile, or leaves while the recorded point has to pick between them. A point placed inside one of several same-named controls hands off when a sibling overlaps it at that pixel. While replay waits for a control it found by test ID, it never falls back to a same-named control without that ID, and a drag whose drop point is ambiguous stops even while a source already on screen is still loading (hidden, without a box, or out of view); a source not on screen yet still waits. diff --git a/.changeset/cached-test-id-strongest-tier.md b/.changeset/cached-test-id-strongest-tier.md deleted file mode 100644 index 097b97d905..0000000000 --- a/.changeset/cached-test-id-strongest-tier.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -A cached drag no longer drags from a same-named control without the recorded test ID once a look has found the source by that test ID, also when several such controls replace a source recorded by its position. A drag whose source or drop target was found by test ID, then replaced by several same-named controls without it, keeps looking for the test ID instead of stopping at once. It drags the control with the recorded test ID if one comes back. Otherwise it stops with the same `target-ambiguous` reason when the wait runs out, up to 15 seconds later (`REPLAY_STALE` under `--strict-cache`). A cached tap, hover, or drag on a control recorded by its test ID and its position among same-named controls no longer acts on a same-named control without the test ID after a look listed the test ID on fewer or more controls than recorded; it keeps looking for the test ID the same way. diff --git a/.changeset/claude-plugin-mcp.md b/.changeset/claude-plugin-mcp.md deleted file mode 100644 index 66fc7f36d6..0000000000 --- a/.changeset/claude-plugin-mcp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"e2e": patch ---- - -The Claude Code plugin registers the e2e MCP server again, like the Codex and Cursor plugins, so Claude Code and Grok Build users no longer need to register it in the project. If you registered it in the project (`e2e init --mcp`), remove that entry once the plugin is installed, or the agent sees every tool twice. diff --git a/.changeset/clear-response-readers.md b/.changeset/clear-response-readers.md deleted file mode 100644 index eaeb200549..0000000000 --- a/.changeset/clear-response-readers.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -Clarify which call rejects when a `WebResponse` body can't be read, and that `json()` rejects with `SyntaxError` for invalid JSON. diff --git a/.changeset/config-telemetry.md b/.changeset/config-telemetry.md deleted file mode 100644 index 5f95d1222f..0000000000 --- a/.changeset/config-telemetry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'e2e': patch ---- - -`telemetry: false` in `e2e.config.ts` turns anonymous usage telemetry off for the project, on every machine and in CI, without `E2E_TELEMETRY_DISABLED` in each entry point. Every command that loads the config reads it, `run`, `explore`, and `mcp` among them, and `e2e telemetry` names it as the reason. It used to fail with `unknown config key "telemetry"`. The first-run telemetry notice now waits until the config has loaded with telemetry on, so a project that turned it off never prints it. `e2e telemetry --config ` exits 2 when that config is missing or does not load. [telemetry](https://e2e.com/docs/reference/config#telemetry) diff --git a/.changeset/desktop-title-bar-search-button.md b/.changeset/desktop-title-bar-search-button.md deleted file mode 100644 index 3e53feefa9..0000000000 --- a/.changeset/desktop-title-bar-search-button.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/desktop': patch ---- - -On macOS 27, `screen` and `desktop.windows()` leave out the Window sharing button and the small window macOS puts in the title bar of a recorded or shared window. A toolbar search field with no room to show reads as the `button` that opens it, not as a `textbox` no fill could reach. diff --git a/.changeset/doctor-ios-simulator-build.md b/.changeset/doctor-ios-simulator-build.md deleted file mode 100644 index e3e0bb5571..0000000000 --- a/.changeset/doctor-ios-simulator-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2e-dev/mobile": patch ---- - -Check in `e2e doctor` that an iOS `app.appPath` bundle is a simulator build matching `app.bundleId`. tvOS and visionOS simulator builds count, and a device build's message names the simulator SDK to build with. Whether the target drives simulators comes from agent-device's device inventory. diff --git a/.changeset/electron-form-actions.md b/.changeset/electron-form-actions.md deleted file mode 100644 index 3fec5c996e..0000000000 --- a/.changeset/electron-form-actions.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/electron': patch ---- - -`fill`, `check`, `selectOption`, and `setInputFiles` reach more of a real app's forms: `fill` and `check` on the text of a label act on the control it names, `fill` works on an element inside a contenteditable, `check` reads a switch Chromium knows through `ElementInternals`, a role list, or an upper-case `aria-checked`, and `selectOption` looks for the option after the select takes focus, so a select that reorders its options on focus gets the one asked for. An element that a focus handler replaced is no longer edited after it left the page: the action fails with `ACTION_MAY_HAVE_COMMITTED`, since the focus reached the app. An in-memory file keeps the `mimeType` the test gave, and a directory or a path the file system cannot look up is refused as a file to upload, except one directory alone for an input with `webkitdirectory`, which gets the files under it and refuses files, as on `web()`. An in-memory file is now made in the page and has no path on disk, so an app that reads its path with `webUtils.getPathForFile()` gets an empty string: use a file path when the Electron app needs a disk-backed file. diff --git a/.changeset/electron-held-input-and-launch-checks.md b/.changeset/electron-held-input-and-launch-checks.md deleted file mode 100644 index 85e8e230f1..0000000000 --- a/.changeset/electron-held-input-and-launch-checks.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/electron': patch ---- - -Keys and mouse buttons held with `electron.keyboard.down()` and `electron.mouse.down()` carry across the app's windows until `up()` releases them, whichever window is active, or every window where they went down closes or crashes, and `mouse.wheel()` sends the buttons held. An `up()` whose window closes before its event is sent still releases, a long press or drag releases a held button as a tap does, and releasing `ShiftLeft` keeps `Shift` held while `ShiftRight` is. Launch checks also refuse engine-owned switches spelled with one dash (or `/` on Windows), in any letter case, or with surrounding whitespace, `--inspect-brk-node`, `--inspect-port`, `--debug-port`, `--inspect-publish-uid`, and empty or `=`-containing environment variable names. diff --git a/.changeset/engine-contract-platform-engines.md b/.changeset/engine-contract-platform-engines.md deleted file mode 100644 index b26efd7d45..0000000000 --- a/.changeset/engine-contract-platform-engines.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@e2e-dev/web': patch -'@e2e-dev/mobile': patch -'@e2e-dev/desktop': patch -'@e2e-dev/electron': patch ---- - -Released with the engine contract change that requires `platform` on every engine. Each of these engines already declares it. diff --git a/.changeset/expect-config-group.md b/.changeset/expect-config-group.md deleted file mode 100644 index 4a9a455630..0000000000 --- a/.changeset/expect-config-group.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -The matcher defaults in `e2e.config.ts` live under one `expect` key: `expect: { timeout: 10_000, toPass: { timeout: 10_000 } }`. The top-level `assertionTimeout` and `toPass` still work; setting a default under both spellings is `INVALID_CONFIG`. [expect](https://e2e.com/docs/reference/config#expect) diff --git a/.changeset/expect-value-matchers.md b/.changeset/expect-value-matchers.md deleted file mode 100644 index c322049946..0000000000 --- a/.changeset/expect-value-matchers.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -`expect(value)` has the matchers a Jest or Playwright suite uses on plain values: `toThrow()` (a string, a RegExp, a class, or an error narrows what was thrown), `toStrictEqual()`, `toContainEqual()`, `toBeInstanceOf()`, and `expect.closeTo()` inside a structural comparison. `expect(promise).resolves` and `.rejects` run any value matcher on what the promise settles with: `await expect(loadOrder(-1)).rejects.toThrow('no such order')`. Each new matcher also works under `.not`, `expect.soft`, and `expect.poll`, and `resolves` and `rejects` under `.not` and `expect.soft`. [Value matchers](https://e2e.com/docs/reference/expect#value-matchers) diff --git a/.changeset/explore-json-stdout.md b/.changeset/explore-json-stdout.md deleted file mode 100644 index 9f5902d970..0000000000 --- a/.changeset/explore-json-stdout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'e2e': patch ---- - -Send what the config logs during `e2e explore` to stderr, redacted once the config's secrets are known, so `e2e explore --reporter json` emits valid JSON on stdout when the config prints during loading. diff --git a/.changeset/full-page-clip-screenshots.md b/.changeset/full-page-clip-screenshots.md deleted file mode 100644 index a15f1820e0..0000000000 --- a/.changeset/full-page-clip-screenshots.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch -'@e2e-dev/web': patch -'@e2e-dev/electron': patch ---- - -`app.screenshot(label, { fullPage, clip })` captures the whole scrollable page or one rectangle of it, and `expect(screen).toHaveScreenshot({ fullPage, clip })` compares them, as Playwright's `page.screenshot` and `toHaveScreenshot` do. A `clip` of the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots. `fullPage` needs an engine that declares the new `fullPageScreenshots` capability: the engine then receives `{ fullPage, clip }` in `artifacts.screenshot` and `fullPage` beside `pixels` in `observe`, and reports where the viewport sits in full-page pixels as `ObservationPixels.scroll`. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine, `fullPage` fails with `UNSUPPORTED_CAPABILITY` before anything is captured. A locator's `toHaveScreenshot` takes neither option. diff --git a/.changeset/ignore-snapshots.md b/.changeset/ignore-snapshots.md deleted file mode 100644 index a630c5ea17..0000000000 --- a/.changeset/ignore-snapshots.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -`e2e run --ignore-snapshots`, or `ignoreSnapshots: true` in `e2e.config.ts`, passes every `toHaveScreenshot` without comparing, so a suite with Linux screenshots from CI runs on a Mac: `ignoreSnapshots: process.platform !== 'linux'`. Nothing is written, with `--update-snapshots` too. [ignoreSnapshots](https://e2e.com/docs/reference/config#ignoresnapshots) diff --git a/.changeset/init-vite-app.md b/.changeset/init-vite-app.md deleted file mode 100644 index 94ce86d679..0000000000 --- a/.changeset/init-vite-app.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'e2e': patch ---- - -`e2e init` detects a Vite app and writes a web target that starts its `dev` script on the `vite` command's `--port`, else 5173, so the first run of a new Vite project passes. When it cannot tell where the app answers, it keeps the placeholder target and says why. diff --git a/.changeset/label-scope-filter.md b/.changeset/label-scope-filter.md deleted file mode 100644 index e0c914b5da..0000000000 --- a/.changeset/label-scope-filter.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/web': patch ---- - -An exact `getByLabel` locator with a `filter` after `first()`, `last()`, or `nth()` keeps that filter when it scopes another query, serves as `filter({ has })`, or is a `within`. Before, the scope dropped the filter: `screen.getByLabel('Billing').first().filter({ hasText: '19.99' }).getByRole('button')` searched the first Billing group even when it did not hold 19.99. diff --git a/.changeset/launch-session-screenshots.md b/.changeset/launch-session-screenshots.md deleted file mode 100644 index 16aba2f346..0000000000 --- a/.changeset/launch-session-screenshots.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch ---- - -Attach screenshots captured on a `launch()` session inside a test to the test's attempt and mirrored step in the report, just like its videos, both with a temporary artifact directory and when `artifactsDir` is set. diff --git a/.changeset/locator-description-options.md b/.changeset/locator-description-options.md deleted file mode 100644 index 832264f496..0000000000 --- a/.changeset/locator-description-options.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -A locator in a failure message, a step label, or a report names every option it was built with: `getByRole("heading", level: 2)`, `getByRole("checkbox", name: "Agree", checked: false)`, and `getByText("Pro", exact: false)`. Locators that differ only by level, a state, or `exact` used to print the same. diff --git a/.changeset/mcp-fold-large-screens.md b/.changeset/mcp-fold-large-screens.md deleted file mode 100644 index da952673c5..0000000000 --- a/.changeset/mcp-fold-large-screens.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch ---- - -`e2e mcp` folds large screens. In `observe` and in the whole screen an action result shows after a large change, a node the app reports hidden is counted, not listed, and a run of more than 12 siblings with one role keeps its first 6 and last 2 and any member that holds the focus or a selection (controls fold only past 60). The listing stops at 250 lines or 24,000 characters, and its header says how many nodes it shows; a screen within those limits that folding would not make shorter is listed whole. Folded nodes keep their ids, action results still report their changes, and `run_code` reads them. The testing agent (`agent.act`) still sees every node. diff --git a/.changeset/mcp-open-world-hint.md b/.changeset/mcp-open-world-hint.md deleted file mode 100644 index f65a51e7ad..0000000000 --- a/.changeset/mcp-open-world-hint.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/acp': patch ---- - -The `open_session`, `call`, and `close_session` tools of `e2e mcp`, and the step tools `@e2e-dev/acp` serves to a coding agent, now carry `openWorldHint: true`, since they reach the app or run project code that can. `tools` and `complete_step` keep `false`. diff --git a/.changeset/opt-in-video-touches.md b/.changeset/opt-in-video-touches.md deleted file mode 100644 index 86ea86ddf5..0000000000 --- a/.changeset/opt-in-video-touches.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/mobile': minor ---- - -**Breaking:** `videoTouches` now defaults to `false`, so a video the mobile engine records through agent-device is the plain screen unless you set `videoTouches: true`. A device provider's own recording was never affected. Drawing the touch indicator ran while every recorded attempt's video stopped, including videos `retain-on-failure` then discarded, and could outlast `cleanupTimeout` and fail a run whose tests all passed. diff --git a/.changeset/own-property-name-sets.md b/.changeset/own-property-name-sets.md deleted file mode 100644 index 06e1da5802..0000000000 --- a/.changeset/own-property-name-sets.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch ---- - -A step verdict's `errorCode` and an agent error's code are checked against the closed code set by an own-name lookup, so a name every object inherits (`constructor`, `toString`, `__proto__`) is refused as unknown instead of passing. `e2e mcp` resolves only its session's own tools: `call` and `tools` answer `UNKNOWN_TOOL` for an inherited name, and a project tool named `toString` is served instead of dropped as a clash with a built-in tool. diff --git a/.changeset/redact-inspect-escapes.md b/.changeset/redact-inspect-escapes.md deleted file mode 100644 index aa42500064..0000000000 --- a/.changeset/redact-inspect-escapes.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -A secret is redacted as `console.log` prints it inside a value. A value with `'`, `"`, and a backtick together, or with a control character, appeared in output and reports unmasked when it was printed that way. [Secrets](https://e2e.com/docs/reference/security) diff --git a/.changeset/replayable-swipes.md b/.changeset/replayable-swipes.md deleted file mode 100644 index d1c4d4e144..0000000000 --- a/.changeset/replayable-swipes.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch -'@e2e-dev/mobile': minor ---- - -**Breaking:** `mobileTools()` no longer returns a `swipe` tool. The agent swipes between two points with the built-in `swipe_at`, which takes screenshot pixels like `tap_at` and is offered on an engine with the `swipeTo` pointer kind and no `dragTo` one, such as a device. A swipe was a project tool call, so every step with one recorded as a `gap`, ran the model on each run, and failed under `cache.strict` with `REPLAY_MISSING`. It now records as the `swipeAt` action, its start placed inside the node under it and its path kept from there, and replays with no model call. `onAction` reports it as `swipeAt` with `from` and `to`, executors get `actions.swipeAt(from, to)`, and `swipe_at` prints a `screen.swipe({ from, to })` test line in an MCP session. `@e2e-dev/mobile` now needs `@e2e-dev/core` and `e2e` 0.27.0 or later. Re-record a step whose recording holds a `tool swipe` gap with a read-write run. diff --git a/.changeset/retry-every-failure.md b/.changeset/retry-every-failure.md deleted file mode 100644 index bd1348c3d2..0000000000 --- a/.changeset/retry-every-failure.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -`retries` now covers infrastructure failures, not only test failures and timeouts: a test that hits an engine, device, app, or model provider error during an attempt (a daemon timeout, a session that failed to open) runs again and is reported `flaky` when a later attempt passes. This applies to the CI default of `retries: 1` too. Configuration failures such as `REPLAY_STALE` still fail on the first attempt, as do an engine that could not start on its worker, a `HOOK_FAILED` suite hook failure, and a crashed worker. - -A call to the built-in agent's model with no key configured now fails with `MODEL_UNAVAILABLE` (configuration, exit 2) instead of `MODEL_PROVIDER_FAILED` (infrastructure, exit 3), so it is not retried. As before, only the steps that call the model fail and the run goes on. diff --git a/.changeset/run-code-mixed-locators.md b/.changeset/run-code-mixed-locators.md deleted file mode 100644 index 1cd4f16cd2..0000000000 --- a/.changeset/run-code-mixed-locators.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/core': patch -'e2e': patch ---- - -In `e2e mcp`'s `run_code`, a locator from `screen` and one from an engine fixture such as `browser` now combine in `or`, `filter({ has })`, `dragTo`, and `browser.locator(selector, { within })`, instead of failing with `INVALID_LOCATOR`. diff --git a/.changeset/screenshot-config-defaults.md b/.changeset/screenshot-config-defaults.md deleted file mode 100644 index d4340b993a..0000000000 --- a/.changeset/screenshot-config-defaults.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -`expect.toHaveScreenshot` in `e2e.config.ts` sets the tolerance of every screenshot comparison once: `expect: { toHaveScreenshot: { maxDiffPixelRatio: 0.01 } }`. It takes `threshold`, `maxDiffPixels`, and `maxDiffPixelRatio`, and a call's own tolerance replaces it. [expect](https://e2e.com/docs/reference/config#expect) diff --git a/.changeset/silent-fixture-urls.md b/.changeset/silent-fixture-urls.md deleted file mode 100644 index 3ac1f8e8f7..0000000000 --- a/.changeset/silent-fixture-urls.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"e2e": patch ---- - -Keep worker fixtures separate when Node.js imports the same ES module with different URL queries or fragments. diff --git a/.changeset/since-last-run.md b/.changeset/since-last-run.md deleted file mode 100644 index ba20e5c1bc..0000000000 --- a/.changeset/since-last-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'e2e': patch ---- - -`e2e run --since-last-run` (`sinceLastRun` on `run()` and `list()`) leaves out every test that has already passed against your working tree as it is. The first run with the flag runs every test and records the working tree, uncommitted and untracked files included. After that, a run with no file changed runs only the tests that have not passed yet, and a run after any change runs every test again. It calls no test filter and cannot be combined with `--changed-since`. The report lists the tests it left out under the filter name `since-last-run`. The project must be in a git repository. [`--since-last-run`](https://e2e.com/docs/reference/cli#since-last-run) diff --git a/.changeset/snapshot-path-template.md b/.changeset/snapshot-path-template.md deleted file mode 100644 index 749238b7dc..0000000000 --- a/.changeset/snapshot-path-template.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -`snapshotPathTemplate` in `e2e.config.ts` sets where `toHaveScreenshot` keeps stored screenshots, for example `'__screenshots__/{testFilePath}/{arg}-{target}{ext}'` to keep them in one folder and share a file between operating systems. The default is unchanged: `{testFilePath}-snapshots/{arg}-{target}-{platform}{ext}`. [snapshotPathTemplate](https://e2e.com/docs/reference/config#snapshotpathtemplate) diff --git a/.changeset/stream-redactor-marker-cut.md b/.changeset/stream-redactor-marker-cut.md deleted file mode 100644 index 73f4618ad3..0000000000 --- a/.changeset/stream-redactor-marker-cut.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -Fix secret redaction of output the runner streams (what a test or config prints, and `e2e mcp`'s output) passing part or all of a secret through when the output already held a `` marker and a secret value starting with `>` matched across its end. Streamed output now redacts these cases, and markers whose secret name holds a space, `<`, `>`, a line break, or other characters outside letters, digits, `_`, `.`, and `-`, the same way whole-text redaction does. diff --git a/.changeset/strict-cache-html-report.md b/.changeset/strict-cache-html-report.md deleted file mode 100644 index 8987714155..0000000000 --- a/.changeset/strict-cache-html-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/html-reporter': patch ---- - -A step that `cache.strict` failed reads "not replayed" in the HTML report, where it read "live" as if the model had run it. diff --git a/.changeset/strict-cache-no-live-act.md b/.changeset/strict-cache-no-live-act.md deleted file mode 100644 index 2deb6c2d60..0000000000 --- a/.changeset/strict-cache-no-live-act.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/core': minor -'e2e': minor ---- - -**Breaking:** `cache.strict` and `--strict-cache` now mean `agent.act` never calls a model. A step with no recording, a `gap` or `truncated` recording, an unreadable store, or an executor that declares `cache: 'off'` fails with the new `REPLAY_MISSING` (exit 2, no retry) where it used to run live. A step whose replay stopped partway reports `step.cache.mode: 'missed'` with the actions it replayed. Strict with the cache off is `INVALID_CONFIG`, except `--no-cache` over a config that sets `cache.strict`. `agent.assert`, `agent.waitFor`, and `agent.extract` still call their model, and so does `agent.act` where no cache is used: `e2e explore`, `e2e mcp` sessions, and `openHost` sessions. To keep a step live in CI, run its test without `--strict-cache`. diff --git a/.changeset/target-engine-required.md b/.changeset/target-engine-required.md deleted file mode 100644 index 408b34415f..0000000000 --- a/.changeset/target-engine-required.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@e2e-dev/core': minor -'e2e': minor ---- - -**Breaking:** Every target needs an engine and gets its platform from that engine. A target without `engine` or with a `platform` key fails with `INVALID_CONFIG`. Move the label to the engine, or drop it if the engine already declares it. An API-only project now runs its tests on a target with a `defineEngine({ name: 'empty', version: '1.0.0', spiVersion: 1, platform: 'none' })` engine that drives nothing, as [API testing](https://e2e.com/docs/api-testing#without-a-browser) shows. `Engine.platform`, `EngineHandle.platform`, and `EngineManifest.platform` are required. If an engine omits `platform`, `defineEngine()` and `connectEngine()` reject it with `INVALID_CONFIG` and name the engine. `engine-manifest-v1.schema.json` lists `platform` in `required`. `e2e doctor --json` always names each target's engine, and `doctor-v1.schema.json` requires `engine` on each target. `e2e init` no longer offers `--engine none`. `e2e mcp` from an earlier release can no longer attach to a test that `e2e run` holds at `screen.pause()` or `--step`, or the reverse. Run the same e2e version for both. diff --git a/.changeset/test-targets-option.md b/.changeset/test-targets-option.md deleted file mode 100644 index 8c08b1df0a..0000000000 --- a/.changeset/test-targets-option.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -A test or a `describe` picks the targets it runs on by name with the new `targets` option, as in `test('two users', { targets: ['chromium'] }, ...)`. Other targets leave the test out, reported unselected with the new skip cause `target-unavailable`. `platforms` can't tell two targets on one platform apart, such as two browsers, two viewports, or two builds of one app. A name that the config doesn't declare is a `COLLECTION_ERROR`. diff --git a/.changeset/tool-output-not-replayed.md b/.changeset/tool-output-not-replayed.md deleted file mode 100644 index 6b21638c88..0000000000 --- a/.changeset/tool-output-not-replayed.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'e2e': patch -'@e2e-dev/core': patch ---- - -A new recording no longer replays a value the agent typed after a tool returned it, such as a one-time code or a freshly issued id from a read-only tool. It used to type the recorded run's value and finish the step without calling the tool. That part of the step is recorded as a gap and runs live, and the report names it with the new `step.cache.derived` value `tool-output`. This covers project tools, tools passed to one `agent.act` call, and tools a `createToolLoopExecutor` executor adds itself. A recording made before this release still types its recorded value: delete it (`npx e2e cache clear`, or the entry's file) to record the step again. [Limits and gaps](https://e2e.com/docs/cache#limits-and-gaps) diff --git a/packages/acp/CHANGELOG.md b/packages/acp/CHANGELOG.md index d8c8a20a33..98f0609d74 100644 --- a/packages/acp/CHANGELOG.md +++ b/packages/acp/CHANGELOG.md @@ -1,5 +1,11 @@ # @e2e-dev/acp +## 0.1.6 + +### Patch Changes + +- [#2636](https://github.com/e2e-inc/e2e/pull/2636) [`02191ce`](https://github.com/e2e-inc/e2e/commit/02191ce4dce82e0d5ad72201fb5321a1a5e9897b) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - The `open_session`, `call`, and `close_session` tools of `e2e mcp`, and the step tools `@e2e-dev/acp` serves to a coding agent, now carry `openWorldHint: true`, since they reach the app or run project code that can. `tools` and `complete_step` keep `false`. + ## 0.1.5 ### Patch Changes diff --git a/packages/acp/package.json b/packages/acp/package.json index 2fc977af30..c966019c69 100644 --- a/packages/acp/package.json +++ b/packages/acp/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/acp", - "version": "0.1.5", + "version": "0.1.6", "description": "Run e2e agent steps on a coding agent you already use (Claude Code, Codex, Cursor, ...) over the Agent Client Protocol", "keywords": [ "e2e", diff --git a/packages/bidi/CHANGELOG.md b/packages/bidi/CHANGELOG.md new file mode 100644 index 0000000000..f039377526 --- /dev/null +++ b/packages/bidi/CHANGELOG.md @@ -0,0 +1,13 @@ +# @e2e-dev/bidi + +## 0.0.1 + +### Patch Changes + +- [#2681](https://github.com/e2e-inc/e2e/pull/2681) [`64b5902`](https://github.com/e2e-inc/e2e/commit/64b590249c880266d8784273120182be5cccc951) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `browser.cookies()` on a `bidi()` target no longer reports `sameSite: 'None'` for a cookie set with no SameSite. On Chromium it reads `'Lax'`, as on `@e2e-dev/web`; on Firefox the field is left out, so `browser.setCookies(await browser.cookies())` no longer fails there. + +- [#2680](https://github.com/e2e-inc/e2e/pull/2680) [`cb99963`](https://github.com/e2e-inc/e2e/commit/cb99963f5ee2edfd5e302307152a833ed8b40b53) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `dragTo` and `swipeTo` on a `bidi()` target now drag with the pointer when the app cancels `dragstart`, as a list sorted by pointer does. Before, the action resolved after moving the pointer without pressing it, so the app saw no drag. + +- [#2652](https://github.com/e2e-inc/e2e/pull/2652) [`94f688b`](https://github.com/e2e-inc/e2e/commit/94f688b6c7688e25989bb137d1233f2ab3426e42) Thanks [@kdy1](https://github.com/kdy1)! - New package: `@e2e-dev/bidi`, an experimental browser engine that drives Chromium or Firefox over the W3C WebDriver BiDi protocol. `engine: bidi()` (Chromium) or `engine: bidi({ browser: 'firefox' })` launches a pinned Chrome for Testing (its headless shell for a headless run) or Firefox build it downloads and checks against its SHA-256 (or `executablePath`), runs the chromium-bidi mapper in a child process for Chromium, and gives each attempt its own user context. It reads pages with its own in-page reader, so the `screen` locators and actions, frames, `agent` steps, and masked screenshots work as on `@e2e-dev/web`, and its `browser` fixture is a subset of web's with the same names: navigation, `locator`, `frameLocator`, `evaluate`, keyboard and mouse, cookies, `setViewport`, tabs, `onDialog`, and `expect(browser)`. Saved sessions keep cookies and `localStorage`. Routes, the clock, video, downloads, permissions, and providers are not supported yet. It imports only the public engine contract and no automation library. + +- [#2683](https://github.com/e2e-inc/e2e/pull/2683) [`08f1edb`](https://github.com/e2e-inc/e2e/commit/08f1edbb8fecdaefc30e8f487d0969e7fa0743e5) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A step that timed out no longer sends one more input to the app. The timeout and the check before each input read different clocks, so the next input could get through. diff --git a/packages/bidi/package.json b/packages/bidi/package.json index 497dc262f2..7f0abf55bb 100644 --- a/packages/bidi/package.json +++ b/packages/bidi/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/bidi", - "version": "0.0.0", + "version": "0.0.1", "description": "Experimental WebDriver BiDi browser engine for e2e agentic end-to-end testing: Chromium and Firefox, with no automation library", "keywords": [ "e2e", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index bec83f6921..c43ccf2ae6 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,73 @@ # @e2e-dev/core +## 0.27.0 + +### Minor Changes + +- [#2648](https://github.com/e2e-inc/e2e/pull/2648) [`999ee98`](https://github.com/e2e-inc/e2e/commit/999ee98d205ad177869c07a53970b98205694297) Thanks [@okwasniewski](https://github.com/okwasniewski)! - **Breaking:** `cache.strict` and `--strict-cache` now mean `agent.act` never calls a model. A step with no recording, a `gap` or `truncated` recording, an unreadable store, or an executor that declares `cache: 'off'` fails with the new `REPLAY_MISSING` (exit 2, no retry) where it used to run live. A step whose replay stopped partway reports `step.cache.mode: 'missed'` with the actions it replayed. Strict with the cache off is `INVALID_CONFIG`, except `--no-cache` over a config that sets `cache.strict`. `agent.assert`, `agent.waitFor`, and `agent.extract` still call their model, and so does `agent.act` where no cache is used: `e2e explore`, `e2e mcp` sessions, and `openHost` sessions. To keep a step live in CI, run its test without `--strict-cache`. + +- [#2589](https://github.com/e2e-inc/e2e/pull/2589) [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe) Thanks [@satya164](https://github.com/satya164)! - **Breaking:** Every target needs an engine and gets its platform from that engine. A target without `engine` or with a `platform` key fails with `INVALID_CONFIG`. Move the label to the engine, or drop it if the engine already declares it. An API-only project now runs its tests on a target with a `defineEngine({ name: 'empty', version: '1.0.0', spiVersion: 1, platform: 'none' })` engine that drives nothing, as [API testing](https://e2e.com/docs/api-testing#without-a-browser) shows. `Engine.platform`, `EngineHandle.platform`, and `EngineManifest.platform` are required. If an engine omits `platform`, `defineEngine()` and `connectEngine()` reject it with `INVALID_CONFIG` and name the engine. `engine-manifest-v1.schema.json` lists `platform` in `required`. `e2e doctor --json` always names each target's engine, and `doctor-v1.schema.json` requires `engine` on each target. `e2e init` no longer offers `--engine none`. `e2e mcp` from an earlier release can no longer attach to a test that `e2e run` holds at `screen.pause()` or `--step`, or the reverse. Run the same e2e version for both. + +### Patch Changes + +- [#2663](https://github.com/e2e-inc/e2e/pull/2663) [`993f097`](https://github.com/e2e-inc/e2e/commit/993f09774909683db819f2a455fcd208c95a398a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `agent.act` takes `tools`: tools from `defineTool` offered to that one call, beside the agent's configured ones, so a tool can be scoped to a step instead of the whole config. A custom executor receives them as `step.tools` when it declares `tools: true`. [Project tools](https://e2e.com/docs/tools#pass-a-tool-to-one-call) + +- [#2632](https://github.com/e2e-inc/e2e/pull/2632) [`9774208`](https://github.com/e2e-inc/e2e/commit/9774208e90703993fff465696d20f24bc17bb221) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - Fix several agent step edge cases: + + - Agent params that use one object in two places, such as `{ billing: address, shipping: address }`, are accepted. Only a real cycle fails with `contains a cycle`. + - `scroll_to` with a list named as `#n42`, the way the screen lists it, checks only that list for the text, so a heading elsewhere with the same text no longer ends the scroll early. + - `attachScreenshot` adds a number to a label that was already used (`evidence-2.png`) instead of overwriting the earlier image that other artifacts still point to. + - A project tool's object result over 16 KiB reaches the model as JSON text cut at 16 KiB, with a notice like a long text result, unless the tool sets its own `toModelOutput`. + - A reply quoted back to the model for repair is cut without splitting an emoji in half, and a text reply in a code fence is parsed in linear time. + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared with `@swc/anyformat-image` instead of `@napi-rs/image` and `pixelmatch`. Its comparison reproduces `pixelmatch` 8, so a `toHaveScreenshot` call counts the same pixels as before. It compares two screenshots about 2 times faster (about 5 times when they are equal), draws the diff image about 2 times faster, and encodes 15 to 30% faster. The native binding is about 0.9 MB unpacked instead of 14 to 28 MB. Bindings are published for every platform `@napi-rs/image` had one for. A missing binding now fails a comparison too, not only a decode or an encode. A pixel that a PNG's transparent color (`tRNS`) makes transparent now decodes as `0, 0, 0, 0`, as `pngjs` decodes it, not with its color kept. Comparing such a pixel is unchanged, since a transparent pixel is compared as white, but resizing a capture at a scale above 1 now averages it as black, so a stored screenshot of an engine that captures PNGs with a transparent color can stop matching. No engine in this repository does. + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared off the main thread, on libuv's thread pool. A full-page screenshot used to block the worker's event loop for up to about 240 ms while it was encoded, which delayed engine messages, timers, and the runner's IPC. It now blocks it for about 3 ms, and each call takes the same time as before. Resizing a screenshot, for a model or for `toHaveScreenshot` on a screen whose scale is above 1, now runs there too, in the same call as the decode: on a full page it blocks the loop for about 2 ms and takes about 30% less time. The native resize gives the same pixels as the JavaScript one did. The desktop engine finds the window in a capture natively, about 10 ms sooner on a Retina window. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - `browser.locator(selector, { within })` runs a CSS or XPath selector inside another locator, as Playwright's `within.locator(selector)` does: `browser.locator('td.price', { within: row })`. `within` is any locator from `screen` or `browser` and keeps its frame. Engines get the parts: a `selector` expression takes an optional `scope`, `resolveExpression` and the mobile engine answer it over the scope's descendants, `expressionSelectors` lists the scope's selectors, and a fixture reads a test's locator with `context.expressionOf(api, locator)`. A second argument to `browser.locator` that is not an options object now throws `INVALID_LOCATOR`, so `['td', '.price'].map(browser.locator)`, which passes the index, needs `map((selector) => browser.locator(selector))`. A frame's `locator()` now throws `INVALID_LOCATOR` for any second argument instead of dropping a `within`. `@e2e-dev/web` now needs `@e2e-dev/core` and `e2e` 0.27.0 or newer. [locator](https://e2e.com/docs/reference/web#locator) + +- [#2395](https://github.com/e2e-inc/e2e/pull/2395) [`16bbc03`](https://github.com/e2e-inc/e2e/commit/16bbc0305aab745130135ad96e5b6d4df5ea517f) Thanks [@michal-e2e](https://github.com/michal-e2e)! - Cached taps, hovers, and drags at a point recorded inside a control wait until the point lands inside that control on screen, so a drag waits for a late or hidden drop target, and a drag that waits for one end stops if a control named like the other end appears meanwhile, or leaves while the recorded point has to pick between them. A point placed inside one of several same-named controls hands off when a sibling overlaps it at that pixel. While replay waits for a control it found by test ID, it never falls back to a same-named control without that ID, and a drag whose drop point is ambiguous stops even while a source already on screen is still loading (hidden, without a box, or out of view); a source not on screen yet still waits. + +- [#2642](https://github.com/e2e-inc/e2e/pull/2642) [`47316ce`](https://github.com/e2e-inc/e2e/commit/47316ce69fac57e955b6858e249c8fd2043bc83a) Thanks [@michal-e2e](https://github.com/michal-e2e)! - A cached drag no longer drags from a same-named control without the recorded test ID once a look has found the source by that test ID, also when several such controls replace a source recorded by its position. A drag whose source or drop target was found by test ID, then replaced by several same-named controls without it, keeps looking for the test ID instead of stopping at once. It drags the control with the recorded test ID if one comes back. Otherwise it stops with the same `target-ambiguous` reason when the wait runs out, up to 15 seconds later (`REPLAY_STALE` under `--strict-cache`). A cached tap, hover, or drag on a control recorded by its test ID and its position among same-named controls no longer acts on a same-named control without the test ID after a look listed the test ID on fewer or more controls than recorded; it keeps looking for the test ID the same way. + +- [#2517](https://github.com/e2e-inc/e2e/pull/2517) [`ea77164`](https://github.com/e2e-inc/e2e/commit/ea771649a8364d1da643059bd473c80da9f637a7) Thanks [@Cynnamoroll](https://github.com/Cynnamoroll)! - Clarify which call rejects when a `WebResponse` body can't be read, and that `json()` rejects with `SyntaxError` for invalid JSON. + +- [#2676](https://github.com/e2e-inc/e2e/pull/2676) [`70184a9`](https://github.com/e2e-inc/e2e/commit/70184a9de4c910cc05049a033f3e5c2ddef20858) Thanks [@okwasniewski](https://github.com/okwasniewski)! - The matcher defaults in `e2e.config.ts` live under one `expect` key: `expect: { timeout: 10_000, toPass: { timeout: 10_000 } }`. The top-level `assertionTimeout` and `toPass` still work; setting a default under both spellings is `INVALID_CONFIG`. [expect](https://e2e.com/docs/reference/config#expect) + +- [#2252](https://github.com/e2e-inc/e2e/pull/2252) [`1314e8b`](https://github.com/e2e-inc/e2e/commit/1314e8b1d079c079dd60520578bedc2b6ab5f45a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `expect(value)` has the matchers a Jest or Playwright suite uses on plain values: `toThrow()` (a string, a RegExp, a class, or an error narrows what was thrown), `toStrictEqual()`, `toContainEqual()`, `toBeInstanceOf()`, and `expect.closeTo()` inside a structural comparison. `expect(promise).resolves` and `.rejects` run any value matcher on what the promise settles with: `await expect(loadOrder(-1)).rejects.toThrow('no such order')`. Each new matcher also works under `.not`, `expect.soft`, and `expect.poll`, and `resolves` and `rejects` under `.not` and `expect.soft`. [Value matchers](https://e2e.com/docs/reference/expect#value-matchers) + +- [#2405](https://github.com/e2e-inc/e2e/pull/2405) [`31a814a`](https://github.com/e2e-inc/e2e/commit/31a814ad9364f81e4a797531c6ae52b913e75918) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `app.screenshot(label, { fullPage, clip })` captures the whole scrollable page or one rectangle of it, and `expect(screen).toHaveScreenshot({ fullPage, clip })` compares them, as Playwright's `page.screenshot` and `toHaveScreenshot` do. A `clip` of the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots. `fullPage` needs an engine that declares the new `fullPageScreenshots` capability: the engine then receives `{ fullPage, clip }` in `artifacts.screenshot` and `fullPage` beside `pixels` in `observe`, and reports where the viewport sits in full-page pixels as `ObservationPixels.scroll`. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine, `fullPage` fails with `UNSUPPORTED_CAPABILITY` before anything is captured. A locator's `toHaveScreenshot` takes neither option. + +- [#2666](https://github.com/e2e-inc/e2e/pull/2666) [`516d507`](https://github.com/e2e-inc/e2e/commit/516d50797638d4c80ae7167f4e3d1f4ff8469fbc) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `e2e run --ignore-snapshots`, or `ignoreSnapshots: true` in `e2e.config.ts`, passes every `toHaveScreenshot` without comparing, so a suite with Linux screenshots from CI runs on a Mac: `ignoreSnapshots: process.platform !== 'linux'`. Nothing is written, with `--update-snapshots` too. [ignoreSnapshots](https://e2e.com/docs/reference/config#ignoresnapshots) + +- [#2629](https://github.com/e2e-inc/e2e/pull/2629) [`81a5880`](https://github.com/e2e-inc/e2e/commit/81a58807b710b27566528f552b076dbd886660ac) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - Attach screenshots captured on a `launch()` session inside a test to the test's attempt and mirrored step in the report, just like its videos, both with a temporary artifact directory and when `artifactsDir` is set. + +- [#2494](https://github.com/e2e-inc/e2e/pull/2494) [`df8a4d5`](https://github.com/e2e-inc/e2e/commit/df8a4d52ec323559d21d7f27f81651e0004c3300) Thanks [@gagarinyury](https://github.com/gagarinyury)! - A locator in a failure message, a step label, or a report names every option it was built with: `getByRole("heading", level: 2)`, `getByRole("checkbox", name: "Agree", checked: false)`, and `getByText("Pro", exact: false)`. Locators that differ only by level, a state, or `exact` used to print the same. + +- [#2621](https://github.com/e2e-inc/e2e/pull/2621) [`d9c215e`](https://github.com/e2e-inc/e2e/commit/d9c215efc721205e8331f2ddda5112e54b628c47) Thanks [@kdy1](https://github.com/kdy1)! - `e2e mcp` folds large screens. In `observe` and in the whole screen an action result shows after a large change, a node the app reports hidden is counted, not listed, and a run of more than 12 siblings with one role keeps its first 6 and last 2 and any member that holds the focus or a selection (controls fold only past 60). The listing stops at 250 lines or 24,000 characters, and its header says how many nodes it shows; a screen within those limits that folding would not make shorter is listed whole. Folded nodes keep their ids, action results still report their changes, and `run_code` reads them. The testing agent (`agent.act`) still sees every node. + +- [#2628](https://github.com/e2e-inc/e2e/pull/2628) [`e7ac6d6`](https://github.com/e2e-inc/e2e/commit/e7ac6d66c9a42fa11c527a899b2a8e64865673af) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - A step verdict's `errorCode` and an agent error's code are checked against the closed code set by an own-name lookup, so a name every object inherits (`constructor`, `toString`, `__proto__`) is refused as unknown instead of passing. `e2e mcp` resolves only its session's own tools: `call` and `tools` answer `UNKNOWN_TOOL` for an inherited name, and a project tool named `toString` is served instead of dropped as a clash with a built-in tool. + +- [#2252](https://github.com/e2e-inc/e2e/pull/2252) [`1314e8b`](https://github.com/e2e-inc/e2e/commit/1314e8b1d079c079dd60520578bedc2b6ab5f45a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A secret is redacted as `console.log` prints it inside a value. A value with `'`, `"`, and a backtick together, or with a control character, appeared in output and reports unmasked when it was printed that way. [Secrets](https://e2e.com/docs/reference/security) + +- [#2658](https://github.com/e2e-inc/e2e/pull/2658) [`0b9a038`](https://github.com/e2e-inc/e2e/commit/0b9a0380f945c52bfdf5654f00c27ab8b8ee76b2) Thanks [@okwasniewski](https://github.com/okwasniewski)! - **Breaking:** `mobileTools()` no longer returns a `swipe` tool. The agent swipes between two points with the built-in `swipe_at`, which takes screenshot pixels like `tap_at` and is offered on an engine with the `swipeTo` pointer kind and no `dragTo` one, such as a device. A swipe was a project tool call, so every step with one recorded as a `gap`, ran the model on each run, and failed under `cache.strict` with `REPLAY_MISSING`. It now records as the `swipeAt` action, its start placed inside the node under it and its path kept from there, and replays with no model call. `onAction` reports it as `swipeAt` with `from` and `to`, executors get `actions.swipeAt(from, to)`, and `swipe_at` prints a `screen.swipe({ from, to })` test line in an MCP session. `@e2e-dev/mobile` now needs `@e2e-dev/core` and `e2e` 0.27.0 or later. Re-record a step whose recording holds a `tool swipe` gap with a read-write run. + +- [#2649](https://github.com/e2e-inc/e2e/pull/2649) [`3c4e3b6`](https://github.com/e2e-inc/e2e/commit/3c4e3b6d96a847dcbb33bbdbbd8ca27973a0ba5a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `retries` now covers infrastructure failures, not only test failures and timeouts: a test that hits an engine, device, app, or model provider error during an attempt (a daemon timeout, a session that failed to open) runs again and is reported `flaky` when a later attempt passes. This applies to the CI default of `retries: 1` too. Configuration failures such as `REPLAY_STALE` still fail on the first attempt, as do an engine that could not start on its worker, a `HOOK_FAILED` suite hook failure, and a crashed worker. + + A call to the built-in agent's model with no key configured now fails with `MODEL_UNAVAILABLE` (configuration, exit 2) instead of `MODEL_PROVIDER_FAILED` (infrastructure, exit 3), so it is not retried. As before, only the steps that call the model fail and the run goes on. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - In `e2e mcp`'s `run_code`, a locator from `screen` and one from an engine fixture such as `browser` now combine in `or`, `filter({ has })`, `dragTo`, and `browser.locator(selector, { within })`, instead of failing with `INVALID_LOCATOR`. + +- [#2664](https://github.com/e2e-inc/e2e/pull/2664) [`87edc69`](https://github.com/e2e-inc/e2e/commit/87edc6998b170b31446cc061cb4f434ac5a3b0d3) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `expect.toHaveScreenshot` in `e2e.config.ts` sets the tolerance of every screenshot comparison once: `expect: { toHaveScreenshot: { maxDiffPixelRatio: 0.01 } }`. It takes `threshold`, `maxDiffPixels`, and `maxDiffPixelRatio`, and a call's own tolerance replaces it. [expect](https://e2e.com/docs/reference/config#expect) + +- [#2665](https://github.com/e2e-inc/e2e/pull/2665) [`0ba1ae2`](https://github.com/e2e-inc/e2e/commit/0ba1ae2fd7fd2b42580e688a00580065191be78d) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `snapshotPathTemplate` in `e2e.config.ts` sets where `toHaveScreenshot` keeps stored screenshots, for example `'__screenshots__/{testFilePath}/{arg}-{target}{ext}'` to keep them in one folder and share a file between operating systems. The default is unchanged: `{testFilePath}-snapshots/{arg}-{target}-{platform}{ext}`. [snapshotPathTemplate](https://e2e.com/docs/reference/config#snapshotpathtemplate) + +- [#2557](https://github.com/e2e-inc/e2e/pull/2557) [`931784e`](https://github.com/e2e-inc/e2e/commit/931784ead848171563cd39b12c7f6cf7668d2c4e) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - Fix secret redaction of output the runner streams (what a test or config prints, and `e2e mcp`'s output) passing part or all of a secret through when the output already held a `` marker and a secret value starting with `>` matched across its end. Streamed output now redacts these cases, and markers whose secret name holds a space, `<`, `>`, a line break, or other characters outside letters, digits, `_`, `.`, and `-`, the same way whole-text redaction does. + +- [#2650](https://github.com/e2e-inc/e2e/pull/2650) [`6d54047`](https://github.com/e2e-inc/e2e/commit/6d54047a43a7e33292c581aaa1516a659f5222c7) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A test or a `describe` picks the targets it runs on by name with the new `targets` option, as in `test('two users', { targets: ['chromium'] }, ...)`. Other targets leave the test out, reported unselected with the new skip cause `target-unavailable`. `platforms` can't tell two targets on one platform apart, such as two browsers, two viewports, or two builds of one app. A name that the config doesn't declare is a `COLLECTION_ERROR`. + +- [#2663](https://github.com/e2e-inc/e2e/pull/2663) [`993f097`](https://github.com/e2e-inc/e2e/commit/993f09774909683db819f2a455fcd208c95a398a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A new recording no longer replays a value the agent typed after a tool returned it, such as a one-time code or a freshly issued id from a read-only tool. It used to type the recorded run's value and finish the step without calling the tool. That part of the step is recorded as a gap and runs live, and the report names it with the new `step.cache.derived` value `tool-output`. This covers project tools, tools passed to one `agent.act` call, and tools a `createToolLoopExecutor` executor adds itself. A recording made before this release still types its recorded value: delete it (`npx e2e cache clear`, or the entry's file) to record the step again. [Limits and gaps](https://e2e.com/docs/cache#limits-and-gaps) + ## 0.26.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index a66a2c9230..7b97c5be8e 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/core", - "version": "0.26.1", + "version": "0.27.0", "description": "Drive a browser or a native app from code, with an optional agent: the engines, locators, and agent of e2e, without the test runner", "keywords": [ "e2e", diff --git a/packages/decision/CHANGELOG.md b/packages/decision/CHANGELOG.md index 63f708d298..0ccb2ff7db 100644 --- a/packages/decision/CHANGELOG.md +++ b/packages/decision/CHANGELOG.md @@ -1,5 +1,13 @@ # @e2e-dev/decision +## 0.3.5 + +### Patch Changes + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared with `@swc/anyformat-image` instead of `@napi-rs/image` and `pixelmatch`. Its comparison reproduces `pixelmatch` 8, so a `toHaveScreenshot` call counts the same pixels as before. It compares two screenshots about 2 times faster (about 5 times when they are equal), draws the diff image about 2 times faster, and encodes 15 to 30% faster. The native binding is about 0.9 MB unpacked instead of 14 to 28 MB. Bindings are published for every platform `@napi-rs/image` had one for. A missing binding now fails a comparison too, not only a decode or an encode. A pixel that a PNG's transparent color (`tRNS`) makes transparent now decodes as `0, 0, 0, 0`, as `pngjs` decodes it, not with its color kept. Comparing such a pixel is unchanged, since a transparent pixel is compared as white, but resizing a capture at a scale above 1 now averages it as black, so a stored screenshot of an engine that captures PNGs with a transparent color can stop matching. No engine in this repository does. + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared off the main thread, on libuv's thread pool. A full-page screenshot used to block the worker's event loop for up to about 240 ms while it was encoded, which delayed engine messages, timers, and the runner's IPC. It now blocks it for about 3 ms, and each call takes the same time as before. Resizing a screenshot, for a model or for `toHaveScreenshot` on a screen whose scale is above 1, now runs there too, in the same call as the decode: on a full page it blocks the loop for about 2 ms and takes about 30% less time. The native resize gives the same pixels as the JavaScript one did. The desktop engine finds the window in a capture natively, about 10 ms sooner on a Retina window. + ## 0.3.4 ### Patch Changes diff --git a/packages/decision/package.json b/packages/decision/package.json index c0c8aaf63a..94c07cd67c 100644 --- a/packages/decision/package.json +++ b/packages/decision/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/decision", - "version": "0.3.4", + "version": "0.3.5", "description": "Decision-model executors and test filters for e2e", "license": "Apache-2.0", "repository": { diff --git a/packages/desktop/CHANGELOG.md b/packages/desktop/CHANGELOG.md index 3688c7e842..95bb8065d8 100644 --- a/packages/desktop/CHANGELOG.md +++ b/packages/desktop/CHANGELOG.md @@ -1,5 +1,19 @@ # @e2e-dev/desktop +## 0.1.2 + +### Patch Changes + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared with `@swc/anyformat-image` instead of `@napi-rs/image` and `pixelmatch`. Its comparison reproduces `pixelmatch` 8, so a `toHaveScreenshot` call counts the same pixels as before. It compares two screenshots about 2 times faster (about 5 times when they are equal), draws the diff image about 2 times faster, and encodes 15 to 30% faster. The native binding is about 0.9 MB unpacked instead of 14 to 28 MB. Bindings are published for every platform `@napi-rs/image` had one for. A missing binding now fails a comparison too, not only a decode or an encode. A pixel that a PNG's transparent color (`tRNS`) makes transparent now decodes as `0, 0, 0, 0`, as `pngjs` decodes it, not with its color kept. Comparing such a pixel is unchanged, since a transparent pixel is compared as white, but resizing a capture at a scale above 1 now averages it as black, so a stored screenshot of an engine that captures PNGs with a transparent color can stop matching. No engine in this repository does. + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared off the main thread, on libuv's thread pool. A full-page screenshot used to block the worker's event loop for up to about 240 ms while it was encoded, which delayed engine messages, timers, and the runner's IPC. It now blocks it for about 3 ms, and each call takes the same time as before. Resizing a screenshot, for a model or for `toHaveScreenshot` on a screen whose scale is above 1, now runs there too, in the same call as the decode: on a full page it blocks the loop for about 2 ms and takes about 30% less time. The native resize gives the same pixels as the JavaScript one did. The desktop engine finds the window in a capture natively, about 10 ms sooner on a Retina window. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - `browser.locator(selector, { within })` runs a CSS or XPath selector inside another locator, as Playwright's `within.locator(selector)` does: `browser.locator('td.price', { within: row })`. `within` is any locator from `screen` or `browser` and keeps its frame. Engines get the parts: a `selector` expression takes an optional `scope`, `resolveExpression` and the mobile engine answer it over the scope's descendants, `expressionSelectors` lists the scope's selectors, and a fixture reads a test's locator with `context.expressionOf(api, locator)`. A second argument to `browser.locator` that is not an options object now throws `INVALID_LOCATOR`, so `['td', '.price'].map(browser.locator)`, which passes the index, needs `map((selector) => browser.locator(selector))`. A frame's `locator()` now throws `INVALID_LOCATOR` for any second argument instead of dropping a `within`. `@e2e-dev/web` now needs `@e2e-dev/core` and `e2e` 0.27.0 or newer. [locator](https://e2e.com/docs/reference/web#locator) + +- [#2614](https://github.com/e2e-inc/e2e/pull/2614) [`3f33087`](https://github.com/e2e-inc/e2e/commit/3f3308707183b51920d8492571c24866657e5664) Thanks [@okwasniewski](https://github.com/okwasniewski)! - On macOS 27, `screen` and `desktop.windows()` leave out the Window sharing button and the small window macOS puts in the title bar of a recorded or shared window. A toolbar search field with no room to show reads as the `button` that opens it, not as a `textbox` no fill could reach. + +- [#2589](https://github.com/e2e-inc/e2e/pull/2589) [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe) Thanks [@satya164](https://github.com/satya164)! - Released with the engine contract change that requires `platform` on every engine. Each of these engines already declares it. + ## 0.1.1 ### Patch Changes diff --git a/packages/desktop/npm/darwin-arm64/CHANGELOG.md b/packages/desktop/npm/darwin-arm64/CHANGELOG.md index ef1c075b5f..5fba376ecf 100644 --- a/packages/desktop/npm/darwin-arm64/CHANGELOG.md +++ b/packages/desktop/npm/darwin-arm64/CHANGELOG.md @@ -1,5 +1,9 @@ # @e2e-dev/desktop-darwin-arm64 +## 0.1.2 + +No changes in this release. + ## 0.1.1 No changes in this release. diff --git a/packages/desktop/npm/darwin-arm64/package.json b/packages/desktop/npm/darwin-arm64/package.json index 5d23af1c70..8171ec8628 100644 --- a/packages/desktop/npm/darwin-arm64/package.json +++ b/packages/desktop/npm/darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/desktop-darwin-arm64", - "version": "0.1.1", + "version": "0.1.2", "description": "The macOS arm64 native driver of @e2e-dev/desktop, which npm installs with it", "keywords": [ "e2e", diff --git a/packages/desktop/npm/darwin-x64/CHANGELOG.md b/packages/desktop/npm/darwin-x64/CHANGELOG.md index 91c93e29e0..9a18d1b71c 100644 --- a/packages/desktop/npm/darwin-x64/CHANGELOG.md +++ b/packages/desktop/npm/darwin-x64/CHANGELOG.md @@ -1,5 +1,9 @@ # @e2e-dev/desktop-darwin-x64 +## 0.1.2 + +No changes in this release. + ## 0.1.1 No changes in this release. diff --git a/packages/desktop/npm/darwin-x64/package.json b/packages/desktop/npm/darwin-x64/package.json index ccee3ef7f4..b9009bac07 100644 --- a/packages/desktop/npm/darwin-x64/package.json +++ b/packages/desktop/npm/darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/desktop-darwin-x64", - "version": "0.1.1", + "version": "0.1.2", "description": "The macOS x64 native driver of @e2e-dev/desktop, which npm installs with it", "keywords": [ "e2e", diff --git a/packages/desktop/package.json b/packages/desktop/package.json index 97e9fbab3b..bde830021d 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/desktop", - "version": "0.1.1", + "version": "0.1.2", "description": "Desktop engine for e2e agentic end-to-end testing: native macOS apps through the accessibility tree, driven by a Rust driver loaded in process", "keywords": [ "e2e", diff --git a/packages/e2e/CHANGELOG.md b/packages/e2e/CHANGELOG.md index b1522badb2..39d47d9b30 100644 --- a/packages/e2e/CHANGELOG.md +++ b/packages/e2e/CHANGELOG.md @@ -1,5 +1,75 @@ # e2e +## 0.27.0 + +### Minor Changes + +- [#2648](https://github.com/e2e-inc/e2e/pull/2648) [`999ee98`](https://github.com/e2e-inc/e2e/commit/999ee98d205ad177869c07a53970b98205694297) Thanks [@okwasniewski](https://github.com/okwasniewski)! - **Breaking:** `cache.strict` and `--strict-cache` now mean `agent.act` never calls a model. A step with no recording, a `gap` or `truncated` recording, an unreadable store, or an executor that declares `cache: 'off'` fails with the new `REPLAY_MISSING` (exit 2, no retry) where it used to run live. A step whose replay stopped partway reports `step.cache.mode: 'missed'` with the actions it replayed. Strict with the cache off is `INVALID_CONFIG`, except `--no-cache` over a config that sets `cache.strict`. `agent.assert`, `agent.waitFor`, and `agent.extract` still call their model, and so does `agent.act` where no cache is used: `e2e explore`, `e2e mcp` sessions, and `openHost` sessions. To keep a step live in CI, run its test without `--strict-cache`. + +- [#2589](https://github.com/e2e-inc/e2e/pull/2589) [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe) Thanks [@satya164](https://github.com/satya164)! - **Breaking:** Every target needs an engine and gets its platform from that engine. A target without `engine` or with a `platform` key fails with `INVALID_CONFIG`. Move the label to the engine, or drop it if the engine already declares it. An API-only project now runs its tests on a target with a `defineEngine({ name: 'empty', version: '1.0.0', spiVersion: 1, platform: 'none' })` engine that drives nothing, as [API testing](https://e2e.com/docs/api-testing#without-a-browser) shows. `Engine.platform`, `EngineHandle.platform`, and `EngineManifest.platform` are required. If an engine omits `platform`, `defineEngine()` and `connectEngine()` reject it with `INVALID_CONFIG` and name the engine. `engine-manifest-v1.schema.json` lists `platform` in `required`. `e2e doctor --json` always names each target's engine, and `doctor-v1.schema.json` requires `engine` on each target. `e2e init` no longer offers `--engine none`. `e2e mcp` from an earlier release can no longer attach to a test that `e2e run` holds at `screen.pause()` or `--step`, or the reverse. Run the same e2e version for both. + +### Patch Changes + +- [#2663](https://github.com/e2e-inc/e2e/pull/2663) [`993f097`](https://github.com/e2e-inc/e2e/commit/993f09774909683db819f2a455fcd208c95a398a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `agent.act` takes `tools`: tools from `defineTool` offered to that one call, beside the agent's configured ones, so a tool can be scoped to a step instead of the whole config. A custom executor receives them as `step.tools` when it declares `tools: true`. [Project tools](https://e2e.com/docs/tools#pass-a-tool-to-one-call) + +- [#2632](https://github.com/e2e-inc/e2e/pull/2632) [`9774208`](https://github.com/e2e-inc/e2e/commit/9774208e90703993fff465696d20f24bc17bb221) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - Fix several agent step edge cases: + + - Agent params that use one object in two places, such as `{ billing: address, shipping: address }`, are accepted. Only a real cycle fails with `contains a cycle`. + - `scroll_to` with a list named as `#n42`, the way the screen lists it, checks only that list for the text, so a heading elsewhere with the same text no longer ends the scroll early. + - `attachScreenshot` adds a number to a label that was already used (`evidence-2.png`) instead of overwriting the earlier image that other artifacts still point to. + - A project tool's object result over 16 KiB reaches the model as JSON text cut at 16 KiB, with a notice like a long text result, unless the tool sets its own `toModelOutput`. + - A reply quoted back to the model for repair is cut without splitting an emoji in half, and a text reply in a code fence is parsed in linear time. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - `browser.locator(selector, { within })` runs a CSS or XPath selector inside another locator, as Playwright's `within.locator(selector)` does: `browser.locator('td.price', { within: row })`. `within` is any locator from `screen` or `browser` and keeps its frame. Engines get the parts: a `selector` expression takes an optional `scope`, `resolveExpression` and the mobile engine answer it over the scope's descendants, `expressionSelectors` lists the scope's selectors, and a fixture reads a test's locator with `context.expressionOf(api, locator)`. A second argument to `browser.locator` that is not an options object now throws `INVALID_LOCATOR`, so `['td', '.price'].map(browser.locator)`, which passes the index, needs `map((selector) => browser.locator(selector))`. A frame's `locator()` now throws `INVALID_LOCATOR` for any second argument instead of dropping a `within`. `@e2e-dev/web` now needs `@e2e-dev/core` and `e2e` 0.27.0 or newer. [locator](https://e2e.com/docs/reference/web#locator) + +- [#2657](https://github.com/e2e-inc/e2e/pull/2657) [`902896f`](https://github.com/e2e-inc/e2e/commit/902896f7644240c89a197f20b1f5f8f4fec45cf2) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - The Claude Code plugin registers the e2e MCP server again, like the Codex and Cursor plugins, so Claude Code and Grok Build users no longer need to register it in the project. If you registered it in the project (`e2e init --mcp`), remove that entry once the plugin is installed, or the agent sees every tool twice. + +- [#2608](https://github.com/e2e-inc/e2e/pull/2608) [`d25b13c`](https://github.com/e2e-inc/e2e/commit/d25b13c5f9c71984a14ab756b4619bb3c0322003) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `telemetry: false` in `e2e.config.ts` turns anonymous usage telemetry off for the project, on every machine and in CI, without `E2E_TELEMETRY_DISABLED` in each entry point. Every command that loads the config reads it, `run`, `explore`, and `mcp` among them, and `e2e telemetry` names it as the reason. It used to fail with `unknown config key "telemetry"`. The first-run telemetry notice now waits until the config has loaded with telemetry on, so a project that turned it off never prints it. `e2e telemetry --config ` exits 2 when that config is missing or does not load. [telemetry](https://e2e.com/docs/reference/config#telemetry) + +- [#2676](https://github.com/e2e-inc/e2e/pull/2676) [`70184a9`](https://github.com/e2e-inc/e2e/commit/70184a9de4c910cc05049a033f3e5c2ddef20858) Thanks [@okwasniewski](https://github.com/okwasniewski)! - The matcher defaults in `e2e.config.ts` live under one `expect` key: `expect: { timeout: 10_000, toPass: { timeout: 10_000 } }`. The top-level `assertionTimeout` and `toPass` still work; setting a default under both spellings is `INVALID_CONFIG`. [expect](https://e2e.com/docs/reference/config#expect) + +- [#2252](https://github.com/e2e-inc/e2e/pull/2252) [`1314e8b`](https://github.com/e2e-inc/e2e/commit/1314e8b1d079c079dd60520578bedc2b6ab5f45a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `expect(value)` has the matchers a Jest or Playwright suite uses on plain values: `toThrow()` (a string, a RegExp, a class, or an error narrows what was thrown), `toStrictEqual()`, `toContainEqual()`, `toBeInstanceOf()`, and `expect.closeTo()` inside a structural comparison. `expect(promise).resolves` and `.rejects` run any value matcher on what the promise settles with: `await expect(loadOrder(-1)).rejects.toThrow('no such order')`. Each new matcher also works under `.not`, `expect.soft`, and `expect.poll`, and `resolves` and `rejects` under `.not` and `expect.soft`. [Value matchers](https://e2e.com/docs/reference/expect#value-matchers) + +- [#2196](https://github.com/e2e-inc/e2e/pull/2196) [`7eae351`](https://github.com/e2e-inc/e2e/commit/7eae351bf16f85cb58c9aac99cf2b30afd9bb88b) Thanks [@BloggerBust](https://github.com/BloggerBust)! - Send what the config logs during `e2e explore` to stderr, redacted once the config's secrets are known, so `e2e explore --reporter json` emits valid JSON on stdout when the config prints during loading. + +- [#2405](https://github.com/e2e-inc/e2e/pull/2405) [`31a814a`](https://github.com/e2e-inc/e2e/commit/31a814ad9364f81e4a797531c6ae52b913e75918) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `app.screenshot(label, { fullPage, clip })` captures the whole scrollable page or one rectangle of it, and `expect(screen).toHaveScreenshot({ fullPage, clip })` compares them, as Playwright's `page.screenshot` and `toHaveScreenshot` do. A `clip` of the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots. `fullPage` needs an engine that declares the new `fullPageScreenshots` capability: the engine then receives `{ fullPage, clip }` in `artifacts.screenshot` and `fullPage` beside `pixels` in `observe`, and reports where the viewport sits in full-page pixels as `ObservationPixels.scroll`. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine, `fullPage` fails with `UNSUPPORTED_CAPABILITY` before anything is captured. A locator's `toHaveScreenshot` takes neither option. + +- [#2666](https://github.com/e2e-inc/e2e/pull/2666) [`516d507`](https://github.com/e2e-inc/e2e/commit/516d50797638d4c80ae7167f4e3d1f4ff8469fbc) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `e2e run --ignore-snapshots`, or `ignoreSnapshots: true` in `e2e.config.ts`, passes every `toHaveScreenshot` without comparing, so a suite with Linux screenshots from CI runs on a Mac: `ignoreSnapshots: process.platform !== 'linux'`. Nothing is written, with `--update-snapshots` too. [ignoreSnapshots](https://e2e.com/docs/reference/config#ignoresnapshots) + +- [#2314](https://github.com/e2e-inc/e2e/pull/2314) [`a5a9b18`](https://github.com/e2e-inc/e2e/commit/a5a9b18698126ab252c715b58879dd1241be5ecc) Thanks [@KaiSpencer](https://github.com/KaiSpencer)! - `e2e init` detects a Vite app and writes a web target that starts its `dev` script on the `vite` command's `--port`, else 5173, so the first run of a new Vite project passes. When it cannot tell where the app answers, it keeps the placeholder target and says why. + +- [#2629](https://github.com/e2e-inc/e2e/pull/2629) [`81a5880`](https://github.com/e2e-inc/e2e/commit/81a58807b710b27566528f552b076dbd886660ac) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - Attach screenshots captured on a `launch()` session inside a test to the test's attempt and mirrored step in the report, just like its videos, both with a temporary artifact directory and when `artifactsDir` is set. + +- [#2621](https://github.com/e2e-inc/e2e/pull/2621) [`d9c215e`](https://github.com/e2e-inc/e2e/commit/d9c215efc721205e8331f2ddda5112e54b628c47) Thanks [@kdy1](https://github.com/kdy1)! - `e2e mcp` folds large screens. In `observe` and in the whole screen an action result shows after a large change, a node the app reports hidden is counted, not listed, and a run of more than 12 siblings with one role keeps its first 6 and last 2 and any member that holds the focus or a selection (controls fold only past 60). The listing stops at 250 lines or 24,000 characters, and its header says how many nodes it shows; a screen within those limits that folding would not make shorter is listed whole. Folded nodes keep their ids, action results still report their changes, and `run_code` reads them. The testing agent (`agent.act`) still sees every node. + +- [#2636](https://github.com/e2e-inc/e2e/pull/2636) [`02191ce`](https://github.com/e2e-inc/e2e/commit/02191ce4dce82e0d5ad72201fb5321a1a5e9897b) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - The `open_session`, `call`, and `close_session` tools of `e2e mcp`, and the step tools `@e2e-dev/acp` serves to a coding agent, now carry `openWorldHint: true`, since they reach the app or run project code that can. `tools` and `complete_step` keep `false`. + +- [#2628](https://github.com/e2e-inc/e2e/pull/2628) [`e7ac6d6`](https://github.com/e2e-inc/e2e/commit/e7ac6d66c9a42fa11c527a899b2a8e64865673af) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - A step verdict's `errorCode` and an agent error's code are checked against the closed code set by an own-name lookup, so a name every object inherits (`constructor`, `toString`, `__proto__`) is refused as unknown instead of passing. `e2e mcp` resolves only its session's own tools: `call` and `tools` answer `UNKNOWN_TOOL` for an inherited name, and a project tool named `toString` is served instead of dropped as a clash with a built-in tool. + +- [#2252](https://github.com/e2e-inc/e2e/pull/2252) [`1314e8b`](https://github.com/e2e-inc/e2e/commit/1314e8b1d079c079dd60520578bedc2b6ab5f45a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A secret is redacted as `console.log` prints it inside a value. A value with `'`, `"`, and a backtick together, or with a control character, appeared in output and reports unmasked when it was printed that way. [Secrets](https://e2e.com/docs/reference/security) + +- [#2658](https://github.com/e2e-inc/e2e/pull/2658) [`0b9a038`](https://github.com/e2e-inc/e2e/commit/0b9a0380f945c52bfdf5654f00c27ab8b8ee76b2) Thanks [@okwasniewski](https://github.com/okwasniewski)! - **Breaking:** `mobileTools()` no longer returns a `swipe` tool. The agent swipes between two points with the built-in `swipe_at`, which takes screenshot pixels like `tap_at` and is offered on an engine with the `swipeTo` pointer kind and no `dragTo` one, such as a device. A swipe was a project tool call, so every step with one recorded as a `gap`, ran the model on each run, and failed under `cache.strict` with `REPLAY_MISSING`. It now records as the `swipeAt` action, its start placed inside the node under it and its path kept from there, and replays with no model call. `onAction` reports it as `swipeAt` with `from` and `to`, executors get `actions.swipeAt(from, to)`, and `swipe_at` prints a `screen.swipe({ from, to })` test line in an MCP session. `@e2e-dev/mobile` now needs `@e2e-dev/core` and `e2e` 0.27.0 or later. Re-record a step whose recording holds a `tool swipe` gap with a read-write run. + +- [#2649](https://github.com/e2e-inc/e2e/pull/2649) [`3c4e3b6`](https://github.com/e2e-inc/e2e/commit/3c4e3b6d96a847dcbb33bbdbbd8ca27973a0ba5a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `retries` now covers infrastructure failures, not only test failures and timeouts: a test that hits an engine, device, app, or model provider error during an attempt (a daemon timeout, a session that failed to open) runs again and is reported `flaky` when a later attempt passes. This applies to the CI default of `retries: 1` too. Configuration failures such as `REPLAY_STALE` still fail on the first attempt, as do an engine that could not start on its worker, a `HOOK_FAILED` suite hook failure, and a crashed worker. + + A call to the built-in agent's model with no key configured now fails with `MODEL_UNAVAILABLE` (configuration, exit 2) instead of `MODEL_PROVIDER_FAILED` (infrastructure, exit 3), so it is not retried. As before, only the steps that call the model fail and the run goes on. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - In `e2e mcp`'s `run_code`, a locator from `screen` and one from an engine fixture such as `browser` now combine in `or`, `filter({ has })`, `dragTo`, and `browser.locator(selector, { within })`, instead of failing with `INVALID_LOCATOR`. + +- [#2664](https://github.com/e2e-inc/e2e/pull/2664) [`87edc69`](https://github.com/e2e-inc/e2e/commit/87edc6998b170b31446cc061cb4f434ac5a3b0d3) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `expect.toHaveScreenshot` in `e2e.config.ts` sets the tolerance of every screenshot comparison once: `expect: { toHaveScreenshot: { maxDiffPixelRatio: 0.01 } }`. It takes `threshold`, `maxDiffPixels`, and `maxDiffPixelRatio`, and a call's own tolerance replaces it. [expect](https://e2e.com/docs/reference/config#expect) + +- [#2400](https://github.com/e2e-inc/e2e/pull/2400) [`bb634c1`](https://github.com/e2e-inc/e2e/commit/bb634c1b88df954a424c4c214617d3577a26c77c) Thanks [@michal-e2e](https://github.com/michal-e2e)! - Keep worker fixtures separate when Node.js imports the same ES module with different URL queries or fragments. + +- [#2459](https://github.com/e2e-inc/e2e/pull/2459) [`6bee703`](https://github.com/e2e-inc/e2e/commit/6bee703eb508acd472b88136cb4ef75daba12f46) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `e2e run --since-last-run` (`sinceLastRun` on `run()` and `list()`) leaves out every test that has already passed against your working tree as it is. The first run with the flag runs every test and records the working tree, uncommitted and untracked files included. After that, a run with no file changed runs only the tests that have not passed yet, and a run after any change runs every test again. It calls no test filter and cannot be combined with `--changed-since`. The report lists the tests it left out under the filter name `since-last-run`. The project must be in a git repository. [`--since-last-run`](https://e2e.com/docs/reference/cli#since-last-run) + +- [#2665](https://github.com/e2e-inc/e2e/pull/2665) [`0ba1ae2`](https://github.com/e2e-inc/e2e/commit/0ba1ae2fd7fd2b42580e688a00580065191be78d) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `snapshotPathTemplate` in `e2e.config.ts` sets where `toHaveScreenshot` keeps stored screenshots, for example `'__screenshots__/{testFilePath}/{arg}-{target}{ext}'` to keep them in one folder and share a file between operating systems. The default is unchanged: `{testFilePath}-snapshots/{arg}-{target}-{platform}{ext}`. [snapshotPathTemplate](https://e2e.com/docs/reference/config#snapshotpathtemplate) + +- [#2650](https://github.com/e2e-inc/e2e/pull/2650) [`6d54047`](https://github.com/e2e-inc/e2e/commit/6d54047a43a7e33292c581aaa1516a659f5222c7) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A test or a `describe` picks the targets it runs on by name with the new `targets` option, as in `test('two users', { targets: ['chromium'] }, ...)`. Other targets leave the test out, reported unselected with the new skip cause `target-unavailable`. `platforms` can't tell two targets on one platform apart, such as two browsers, two viewports, or two builds of one app. A name that the config doesn't declare is a `COLLECTION_ERROR`. + +- [#2663](https://github.com/e2e-inc/e2e/pull/2663) [`993f097`](https://github.com/e2e-inc/e2e/commit/993f09774909683db819f2a455fcd208c95a398a) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A new recording no longer replays a value the agent typed after a tool returned it, such as a one-time code or a freshly issued id from a read-only tool. It used to type the recorded run's value and finish the step without calling the tool. That part of the step is recorded as a gap and runs live, and the report names it with the new `step.cache.derived` value `tool-output`. This covers project tools, tools passed to one `agent.act` call, and tools a `createToolLoopExecutor` executor adds itself. A recording made before this release still types its recorded value: delete it (`npx e2e cache clear`, or the entry's file) to record the step again. [Limits and gaps](https://e2e.com/docs/cache#limits-and-gaps) +- Updated dependencies [[`993f097`](https://github.com/e2e-inc/e2e/commit/993f09774909683db819f2a455fcd208c95a398a), [`9774208`](https://github.com/e2e-inc/e2e/commit/9774208e90703993fff465696d20f24bc17bb221), [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565), [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565), [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7), [`16bbc03`](https://github.com/e2e-inc/e2e/commit/16bbc0305aab745130135ad96e5b6d4df5ea517f), [`47316ce`](https://github.com/e2e-inc/e2e/commit/47316ce69fac57e955b6858e249c8fd2043bc83a), [`ea77164`](https://github.com/e2e-inc/e2e/commit/ea771649a8364d1da643059bd473c80da9f637a7), [`70184a9`](https://github.com/e2e-inc/e2e/commit/70184a9de4c910cc05049a033f3e5c2ddef20858), [`1314e8b`](https://github.com/e2e-inc/e2e/commit/1314e8b1d079c079dd60520578bedc2b6ab5f45a), [`31a814a`](https://github.com/e2e-inc/e2e/commit/31a814ad9364f81e4a797531c6ae52b913e75918), [`516d507`](https://github.com/e2e-inc/e2e/commit/516d50797638d4c80ae7167f4e3d1f4ff8469fbc), [`81a5880`](https://github.com/e2e-inc/e2e/commit/81a58807b710b27566528f552b076dbd886660ac), [`df8a4d5`](https://github.com/e2e-inc/e2e/commit/df8a4d52ec323559d21d7f27f81651e0004c3300), [`d9c215e`](https://github.com/e2e-inc/e2e/commit/d9c215efc721205e8331f2ddda5112e54b628c47), [`e7ac6d6`](https://github.com/e2e-inc/e2e/commit/e7ac6d66c9a42fa11c527a899b2a8e64865673af), [`1314e8b`](https://github.com/e2e-inc/e2e/commit/1314e8b1d079c079dd60520578bedc2b6ab5f45a), [`0b9a038`](https://github.com/e2e-inc/e2e/commit/0b9a0380f945c52bfdf5654f00c27ab8b8ee76b2), [`3c4e3b6`](https://github.com/e2e-inc/e2e/commit/3c4e3b6d96a847dcbb33bbdbbd8ca27973a0ba5a), [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7), [`87edc69`](https://github.com/e2e-inc/e2e/commit/87edc6998b170b31446cc061cb4f434ac5a3b0d3), [`0ba1ae2`](https://github.com/e2e-inc/e2e/commit/0ba1ae2fd7fd2b42580e688a00580065191be78d), [`931784e`](https://github.com/e2e-inc/e2e/commit/931784ead848171563cd39b12c7f6cf7668d2c4e), [`999ee98`](https://github.com/e2e-inc/e2e/commit/999ee98d205ad177869c07a53970b98205694297), [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe), [`6d54047`](https://github.com/e2e-inc/e2e/commit/6d54047a43a7e33292c581aaa1516a659f5222c7), [`993f097`](https://github.com/e2e-inc/e2e/commit/993f09774909683db819f2a455fcd208c95a398a)]: + - @e2e-dev/core@0.27.0 + ## 0.26.1 ### Patch Changes diff --git a/packages/e2e/package.json b/packages/e2e/package.json index ddfe1c2aff..1c893cb24f 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -1,6 +1,6 @@ { "name": "e2e", - "version": "0.26.1", + "version": "0.27.0", "description": "SDK, runner, and CLI for agentic end-to-end testing", "mcpName": "io.github.e2e-inc/e2e", "keywords": [ diff --git a/packages/e2e/server.json b/packages/e2e/server.json index a6ece4bd69..9f5e960718 100644 --- a/packages/e2e/server.json +++ b/packages/e2e/server.json @@ -9,13 +9,13 @@ "source": "github", "subfolder": "packages/e2e" }, - "version": "0.26.1", + "version": "0.27.0", "packages": [ { "registryType": "npm", "registryBaseUrl": "https://registry.npmjs.org", "identifier": "e2e", - "version": "0.26.1", + "version": "0.27.0", "runtimeHint": "npx", "transport": { "type": "stdio" diff --git a/packages/electron/CHANGELOG.md b/packages/electron/CHANGELOG.md index 2fe086a576..e1e1e5f294 100644 --- a/packages/electron/CHANGELOG.md +++ b/packages/electron/CHANGELOG.md @@ -1,5 +1,19 @@ # @e2e-dev/electron +## 0.1.2 + +### Patch Changes + +- [#2683](https://github.com/e2e-inc/e2e/pull/2683) [`08f1edb`](https://github.com/e2e-inc/e2e/commit/08f1edbb8fecdaefc30e8f487d0969e7fa0743e5) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A step that timed out no longer sends one more input to the app. The timeout and the check before each input read different clocks, so the next input could get through. + +- [#2514](https://github.com/e2e-inc/e2e/pull/2514) [`a00156c`](https://github.com/e2e-inc/e2e/commit/a00156ca6189d67bf90453ea82fb9873363c6114) Thanks [@kdy1](https://github.com/kdy1)! - `fill`, `check`, `selectOption`, and `setInputFiles` reach more of a real app's forms: `fill` and `check` on the text of a label act on the control it names, `fill` works on an element inside a contenteditable, `check` reads a switch Chromium knows through `ElementInternals`, a role list, or an upper-case `aria-checked`, and `selectOption` looks for the option after the select takes focus, so a select that reorders its options on focus gets the one asked for. An element that a focus handler replaced is no longer edited after it left the page: the action fails with `ACTION_MAY_HAVE_COMMITTED`, since the focus reached the app. An in-memory file keeps the `mimeType` the test gave, and a directory or a path the file system cannot look up is refused as a file to upload, except one directory alone for an input with `webkitdirectory`, which gets the files under it and refuses files, as on `web()`. An in-memory file is now made in the page and has no path on disk, so an app that reads its path with `webUtils.getPathForFile()` gets an empty string: use a file path when the Electron app needs a disk-backed file. + +- [#2472](https://github.com/e2e-inc/e2e/pull/2472) [`abbbce7`](https://github.com/e2e-inc/e2e/commit/abbbce71c0445ee9d0597b2c21aaa45b90c028ba) Thanks [@michal-e2e](https://github.com/michal-e2e)! - Keys and mouse buttons held with `electron.keyboard.down()` and `electron.mouse.down()` carry across the app's windows until `up()` releases them, whichever window is active, or every window where they went down closes or crashes, and `mouse.wheel()` sends the buttons held. An `up()` whose window closes before its event is sent still releases, a long press or drag releases a held button as a tap does, and releasing `ShiftLeft` keeps `Shift` held while `ShiftRight` is. Launch checks also refuse engine-owned switches spelled with one dash (or `/` on Windows), in any letter case, or with surrounding whitespace, `--inspect-brk-node`, `--inspect-port`, `--debug-port`, `--inspect-publish-uid`, and empty or `=`-containing environment variable names. + +- [#2589](https://github.com/e2e-inc/e2e/pull/2589) [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe) Thanks [@satya164](https://github.com/satya164)! - Released with the engine contract change that requires `platform` on every engine. Each of these engines already declares it. + +- [#2405](https://github.com/e2e-inc/e2e/pull/2405) [`31a814a`](https://github.com/e2e-inc/e2e/commit/31a814ad9364f81e4a797531c6ae52b913e75918) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `app.screenshot(label, { fullPage, clip })` captures the whole scrollable page or one rectangle of it, and `expect(screen).toHaveScreenshot({ fullPage, clip })` compares them, as Playwright's `page.screenshot` and `toHaveScreenshot` do. A `clip` of the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots. `fullPage` needs an engine that declares the new `fullPageScreenshots` capability: the engine then receives `{ fullPage, clip }` in `artifacts.screenshot` and `fullPage` beside `pixels` in `observe`, and reports where the viewport sits in full-page pixels as `ObservationPixels.scroll`. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine, `fullPage` fails with `UNSUPPORTED_CAPABILITY` before anything is captured. A locator's `toHaveScreenshot` takes neither option. + ## 0.1.1 ### Patch Changes diff --git a/packages/electron/package.json b/packages/electron/package.json index e5060230df..0006879f17 100644 --- a/packages/electron/package.json +++ b/packages/electron/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/electron", - "version": "0.1.1", + "version": "0.1.2", "description": "Electron engine for e2e agentic end-to-end testing: launches an Electron app and drives its windows through Chromium's accessibility tree", "keywords": [ "e2e", diff --git a/packages/html-reporter/CHANGELOG.md b/packages/html-reporter/CHANGELOG.md index e717210cf2..09f056d3e3 100644 --- a/packages/html-reporter/CHANGELOG.md +++ b/packages/html-reporter/CHANGELOG.md @@ -1,5 +1,11 @@ # @e2e-dev/html-reporter +## 0.0.5 + +### Patch Changes + +- [#2648](https://github.com/e2e-inc/e2e/pull/2648) [`999ee98`](https://github.com/e2e-inc/e2e/commit/999ee98d205ad177869c07a53970b98205694297) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A step that `cache.strict` failed reads "not replayed" in the HTML report, where it read "live" as if the model had run it. + ## 0.0.4 ### Patch Changes diff --git a/packages/html-reporter/package.json b/packages/html-reporter/package.json index f7a0ec4f77..31bb8aa48b 100644 --- a/packages/html-reporter/package.json +++ b/packages/html-reporter/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/html-reporter", - "version": "0.0.4", + "version": "0.0.5", "description": "HTML reporter for e2e: one self-contained page per run, steps, screenshots, and video", "keywords": [ "e2e", diff --git a/packages/mobile/CHANGELOG.md b/packages/mobile/CHANGELOG.md index 9cf3f951c8..03204fc759 100644 --- a/packages/mobile/CHANGELOG.md +++ b/packages/mobile/CHANGELOG.md @@ -1,5 +1,25 @@ # @e2e-dev/mobile +## 0.14.0 + +### Minor Changes + +- [#2646](https://github.com/e2e-inc/e2e/pull/2646) [`6c8aadf`](https://github.com/e2e-inc/e2e/commit/6c8aadf1394240c4b4c3beab136537fdc275293f) Thanks [@okwasniewski](https://github.com/okwasniewski)! - **Breaking:** `videoTouches` now defaults to `false`, so a video the mobile engine records through agent-device is the plain screen unless you set `videoTouches: true`. A device provider's own recording was never affected. Drawing the touch indicator ran while every recorded attempt's video stopped, including videos `retain-on-failure` then discarded, and could outlast `cleanupTimeout` and fail a run whose tests all passed. + +- [#2658](https://github.com/e2e-inc/e2e/pull/2658) [`0b9a038`](https://github.com/e2e-inc/e2e/commit/0b9a0380f945c52bfdf5654f00c27ab8b8ee76b2) Thanks [@okwasniewski](https://github.com/okwasniewski)! - **Breaking:** `mobileTools()` no longer returns a `swipe` tool. The agent swipes between two points with the built-in `swipe_at`, which takes screenshot pixels like `tap_at` and is offered on an engine with the `swipeTo` pointer kind and no `dragTo` one, such as a device. A swipe was a project tool call, so every step with one recorded as a `gap`, ran the model on each run, and failed under `cache.strict` with `REPLAY_MISSING`. It now records as the `swipeAt` action, its start placed inside the node under it and its path kept from there, and replays with no model call. `onAction` reports it as `swipeAt` with `from` and `to`, executors get `actions.swipeAt(from, to)`, and `swipe_at` prints a `screen.swipe({ from, to })` test line in an MCP session. `@e2e-dev/mobile` now needs `@e2e-dev/core` and `e2e` 0.27.0 or later. Re-record a step whose recording holds a `tool swipe` gap with a read-write run. + +### Patch Changes + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared with `@swc/anyformat-image` instead of `@napi-rs/image` and `pixelmatch`. Its comparison reproduces `pixelmatch` 8, so a `toHaveScreenshot` call counts the same pixels as before. It compares two screenshots about 2 times faster (about 5 times when they are equal), draws the diff image about 2 times faster, and encodes 15 to 30% faster. The native binding is about 0.9 MB unpacked instead of 14 to 28 MB. Bindings are published for every platform `@napi-rs/image` had one for. A missing binding now fails a comparison too, not only a decode or an encode. A pixel that a PNG's transparent color (`tRNS`) makes transparent now decodes as `0, 0, 0, 0`, as `pngjs` decodes it, not with its color kept. Comparing such a pixel is unchanged, since a transparent pixel is compared as white, but resizing a capture at a scale above 1 now averages it as black, so a stored screenshot of an engine that captures PNGs with a transparent color can stop matching. No engine in this repository does. + +- [#2653](https://github.com/e2e-inc/e2e/pull/2653) [`6feccdf`](https://github.com/e2e-inc/e2e/commit/6feccdf50f3dc38da7960f0df93a843a7ebc6565) Thanks [@kdy1](https://github.com/kdy1)! - Screenshots are now decoded, encoded, and compared off the main thread, on libuv's thread pool. A full-page screenshot used to block the worker's event loop for up to about 240 ms while it was encoded, which delayed engine messages, timers, and the runner's IPC. It now blocks it for about 3 ms, and each call takes the same time as before. Resizing a screenshot, for a model or for `toHaveScreenshot` on a screen whose scale is above 1, now runs there too, in the same call as the decode: on a full page it blocks the loop for about 2 ms and takes about 30% less time. The native resize gives the same pixels as the JavaScript one did. The desktop engine finds the window in a capture natively, about 10 ms sooner on a Retina window. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - `browser.locator(selector, { within })` runs a CSS or XPath selector inside another locator, as Playwright's `within.locator(selector)` does: `browser.locator('td.price', { within: row })`. `within` is any locator from `screen` or `browser` and keeps its frame. Engines get the parts: a `selector` expression takes an optional `scope`, `resolveExpression` and the mobile engine answer it over the scope's descendants, `expressionSelectors` lists the scope's selectors, and a fixture reads a test's locator with `context.expressionOf(api, locator)`. A second argument to `browser.locator` that is not an options object now throws `INVALID_LOCATOR`, so `['td', '.price'].map(browser.locator)`, which passes the index, needs `map((selector) => browser.locator(selector))`. A frame's `locator()` now throws `INVALID_LOCATOR` for any second argument instead of dropping a `within`. `@e2e-dev/web` now needs `@e2e-dev/core` and `e2e` 0.27.0 or newer. [locator](https://e2e.com/docs/reference/web#locator) + +- [#2429](https://github.com/e2e-inc/e2e/pull/2429) [`fc44c4a`](https://github.com/e2e-inc/e2e/commit/fc44c4a81cc033f0246cb6ce3c838ef4ec269389) Thanks [@madhusudanpatnaik](https://github.com/madhusudanpatnaik)! - Check in `e2e doctor` that an iOS `app.appPath` bundle is a simulator build matching `app.bundleId`. tvOS and visionOS simulator builds count, and a device build's message names the simulator SDK to build with. Whether the target drives simulators comes from agent-device's device inventory. + +- [#2589](https://github.com/e2e-inc/e2e/pull/2589) [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe) Thanks [@satya164](https://github.com/satya164)! - Released with the engine contract change that requires `platform` on every engine. Each of these engines already declares it. + ## 0.13.1 ### Patch Changes diff --git a/packages/mobile/package.json b/packages/mobile/package.json index 71e3183265..bbe6fae417 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/mobile", - "version": "0.13.1", + "version": "0.14.0", "description": "Mobile engine (iOS and Android) for e2e agentic end-to-end testing, built on agent-device", "keywords": [ "e2e", diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index 8732f1f363..92045fccc6 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -1,5 +1,17 @@ # @e2e-dev/web +## 0.17.3 + +### Patch Changes + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - `browser.locator(selector, { within })` runs a CSS or XPath selector inside another locator, as Playwright's `within.locator(selector)` does: `browser.locator('td.price', { within: row })`. `within` is any locator from `screen` or `browser` and keeps its frame. Engines get the parts: a `selector` expression takes an optional `scope`, `resolveExpression` and the mobile engine answer it over the scope's descendants, `expressionSelectors` lists the scope's selectors, and a fixture reads a test's locator with `context.expressionOf(api, locator)`. A second argument to `browser.locator` that is not an options object now throws `INVALID_LOCATOR`, so `['td', '.price'].map(browser.locator)`, which passes the index, needs `map((selector) => browser.locator(selector))`. A frame's `locator()` now throws `INVALID_LOCATOR` for any second argument instead of dropping a `within`. `@e2e-dev/web` now needs `@e2e-dev/core` and `e2e` 0.27.0 or newer. [locator](https://e2e.com/docs/reference/web#locator) + +- [#2589](https://github.com/e2e-inc/e2e/pull/2589) [`7951a6b`](https://github.com/e2e-inc/e2e/commit/7951a6b6a0ad3eb641cc0b4d15d54f677e8e12fe) Thanks [@satya164](https://github.com/satya164)! - Released with the engine contract change that requires `platform` on every engine. Each of these engines already declares it. + +- [#2405](https://github.com/e2e-inc/e2e/pull/2405) [`31a814a`](https://github.com/e2e-inc/e2e/commit/31a814ad9364f81e4a797531c6ae52b913e75918) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `app.screenshot(label, { fullPage, clip })` captures the whole scrollable page or one rectangle of it, and `expect(screen).toHaveScreenshot({ fullPage, clip })` compares them, as Playwright's `page.screenshot` and `toHaveScreenshot` do. A `clip` of the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots. `fullPage` needs an engine that declares the new `fullPageScreenshots` capability: the engine then receives `{ fullPage, clip }` in `artifacts.screenshot` and `fullPage` beside `pixels` in `observe`, and reports where the viewport sits in full-page pixels as `ObservationPixels.scroll`. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine, `fullPage` fails with `UNSUPPORTED_CAPABILITY` before anything is captured. A locator's `toHaveScreenshot` takes neither option. + +- [#2334](https://github.com/e2e-inc/e2e/pull/2334) [`f0a93a4`](https://github.com/e2e-inc/e2e/commit/f0a93a4fa23aaaae430c24c5728f1e179395bdb7) Thanks [@KrzysztofMoch](https://github.com/KrzysztofMoch)! - An exact `getByLabel` locator with a `filter` after `first()`, `last()`, or `nth()` keeps that filter when it scopes another query, serves as `filter({ has })`, or is a `within`. Before, the scope dropped the filter: `screen.getByLabel('Billing').first().filter({ hasText: '19.99' }).getByRole('button')` searched the first Billing group even when it did not hold 19.99. + ## 0.17.2 ### Patch Changes diff --git a/packages/web/package.json b/packages/web/package.json index 52d0484a2f..4b89edc76f 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@e2e-dev/web", - "version": "0.17.2", + "version": "0.17.3", "description": "Web engine for e2e agentic end-to-end testing, built on Playwright", "keywords": [ "e2e", diff --git a/plugins/e2e/.claude-plugin/plugin.json b/plugins/e2e/.claude-plugin/plugin.json index 253cf51f87..5ce39f5479 100644 --- a/plugins/e2e/.claude-plugin/plugin.json +++ b/plugins/e2e/.claude-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "e2e", - "version": "0.26.1", + "version": "0.27.0", "description": "Write, run, and debug end-to-end tests for web and mobile apps with e2e, the open source agentic test runner.", "author": { "name": "e2e", diff --git a/plugins/e2e/.codex-plugin/plugin.json b/plugins/e2e/.codex-plugin/plugin.json index 9f333f152c..e078a6a923 100644 --- a/plugins/e2e/.codex-plugin/plugin.json +++ b/plugins/e2e/.codex-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "e2e", - "version": "0.26.1", + "version": "0.27.0", "description": "Write, run, and debug end-to-end tests for web and mobile apps with e2e, the open source agentic test runner.", "author": { "name": "e2e", diff --git a/plugins/e2e/.cursor-plugin/plugin.json b/plugins/e2e/.cursor-plugin/plugin.json index 25f52eaa9f..b689f5247a 100644 --- a/plugins/e2e/.cursor-plugin/plugin.json +++ b/plugins/e2e/.cursor-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "e2e", - "version": "0.26.1", + "version": "0.27.0", "description": "Write, run, and debug end-to-end tests for web and mobile apps with e2e, the open source agentic test runner.", "author": { "name": "e2e", diff --git a/plugins/e2e/.devin-plugin/plugin.json b/plugins/e2e/.devin-plugin/plugin.json index 9ececa10d0..0b2927b2fa 100644 --- a/plugins/e2e/.devin-plugin/plugin.json +++ b/plugins/e2e/.devin-plugin/plugin.json @@ -1,6 +1,6 @@ { "name": "e2e", - "version": "0.26.1", + "version": "0.27.0", "displayName": "e2e", "description": "Write, run, and debug end-to-end tests for web and mobile apps with e2e, the open source agentic test runner", "shortDescription": "Agentic tests for web & mobile", @@ -15,7 +15,7 @@ "command": "npx", "args": [ "-y", - "e2e@0.26.1", + "e2e@0.27.0", "mcp" ] } diff --git a/plugins/e2e/mcp.json b/plugins/e2e/mcp.json index ac8ab8239a..e14fb12728 100644 --- a/plugins/e2e/mcp.json +++ b/plugins/e2e/mcp.json @@ -6,7 +6,7 @@ "command": "npx", "args": [ "-y", - "e2e@0.26.1", + "e2e@0.27.0", "mcp" ] } diff --git a/plugins/e2e/plugin.json b/plugins/e2e/plugin.json index 27a791c2c2..90d0bbfa2c 100644 --- a/plugins/e2e/plugin.json +++ b/plugins/e2e/plugin.json @@ -1,7 +1,7 @@ { "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", "name": "e2e", - "version": "0.26.1", + "version": "0.27.0", "description": "Write, run, and debug end-to-end tests for web and mobile apps with e2e, the open source agentic test runner.", "author": { "name": "e2e",