diff --git a/.changeset/acp-codex-api-key.md b/.changeset/acp-codex-api-key.md deleted file mode 100644 index a798c5047d..0000000000 --- a/.changeset/acp-codex-api-key.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/acp': patch ---- - -`codex()` signs Codex in with an OpenAI API key when Codex has no login of its own, so `OPENAI_API_KEY` alone starts the session instead of failing with "the agent is not signed in". It takes the first nonblank of `CODEX_API_KEY` and `OPENAI_API_KEY`, as the Codex adapter does, and leaves a nonblank `DEFAULT_AUTH_REQUEST` you set alone. Codex saves the key as its login, as `codex login --with-api-key` does, unless its credential store is `ephemeral`. While `APP_SERVER_LOGS` is set, `codex()` passes the adapter no sign-in request, yours included, since its log would write the credentials in plain text; a saved login still works. Codex's shell snapshots, which copied the environment with its keys to disk, are off too. When the model provider refuses Codex's credentials at a turn, the step now says how to recover, `codex logout` first for a saved login or key, instead of a bare `Authentication required`. diff --git a/.changeset/act-no-double-submit.md b/.changeset/act-no-double-submit.md deleted file mode 100644 index 6c8e09e6f5..0000000000 --- a/.changeset/act-no-double-submit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2e-dev/core": patch ---- - -The built-in agent's rules (`BASE_RULES`) now tell the model not to press a save or submit control again when the first press shows no change or is still in progress. The model must first check the screen for a confirmation, an error, a new location, or the changed record. It presses again only when that check shows the first press did not commit, or when the tap only closed the on-screen keyboard, and does not press again when it cannot tell. A step that asks for several commits still presses once for each. It also stays on the step's screen instead of navigating away to confirm a save, so a save that shows no confirmation on that screen can end the step `failed`; name the check in the step ("save the product, then confirm it appears in the product list"). A first press that reached nothing and left no trace, such as a click before the page was ready, is not pressed again either, since it looks the same as a save with no feedback; wait for the page before the save. The loop guard gives the built-in looks more room while a save is still in progress: `observe` and plain `screenshot`, in any order, now warn at six looks with no change and force a verdict at ten, where every other tool keeps three and five; a look whose listing, location, or tabs changed starts the count again, a change in pixels alone does not, and a wait that keeps changing is warned at twelve looks and ended at twenty. Before, the same look repeated stopped at five; such a wait, in a step or in an exploring `agent.assert` with a raised budget, can now spend up to five more model calls on an unchanged screen and up to fifteen more on one that keeps changing. A wait that mixes `observe` and `screenshot` fell under the cycle limits before and now has the same limits of ten and twenty looks. The step budget and deadline still bound the whole step. diff --git a/.changeset/act-same-turn-verdict.md b/.changeset/act-same-turn-verdict.md deleted file mode 100644 index de05f67055..0000000000 --- a/.changeset/act-same-turn-verdict.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -An action the agent sends in the same turn as `complete_step` now runs. Before, `agent.act` skipped it and the step still passed. The verdict now waits for the calls sent before it in the turn, and is refused when one of them failed or the last one changed nothing. Calls sent after it do not run. The agent is also told that a step which only asks for actions may end in the turn of its last action, without another model call. diff --git a/.changeset/agent-device-0-21-42.md b/.changeset/agent-device-0-21-42.md deleted file mode 100644 index f809672260..0000000000 --- a/.changeset/agent-device-0-21-42.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@e2e-dev/mobile": patch -"@e2e-dev/e2b": patch -"@e2e-dev/limrun": patch -"@e2e-dev/revyl": patch -"@e2e-dev/testmu": patch ---- - -Update agent-device to 0.21.42. On iOS, `device.dismissKeyboard()` no longer presses the keyboard's Hide Keyboard or Done key: an iPad keyboard now goes away by the same short drag as an iPhone one. Pressing Enter sends one Return to the focused input, a fill reaches only the input a tap at that point reaches, and a command on a session whose simulator was deleted fails at once instead of waiting about 20 seconds. A fill on iOS is also a little faster. diff --git a/.changeset/ai-tool-choice-violation-older-ai.md b/.changeset/ai-tool-choice-violation-older-ai.md deleted file mode 100644 index 008cb362d6..0000000000 --- a/.changeset/ai-tool-choice-violation-older-ai.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2e-dev/core": patch ---- - -A model provider failure on `ai` 7.0.0 to 7.0.87 now fails as `MODEL_PROVIDER_FAILED` instead of throwing `TypeError: Cannot read properties of undefined (reading 'isInstance')`. Those releases do not export `ToolChoiceViolationError`, which the refusal check read. diff --git a/.changeset/browser-webmcp.md b/.changeset/browser-webmcp.md deleted file mode 100644 index ca0946fa98..0000000000 --- a/.changeset/browser-webmcp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/web': patch ---- - -`browser.webmcp.tools()` lists the tools a page registers through WebMCP (`document.modelContext`) and `browser.webmcp.callTool(name, input)` calls one, from test code with no model involved. `web({ webmcp: true })` launches Chromium or Firefox with WebMCP on; it is `INVALID_CONFIG` with `connect`, a browser provider, or WebKit. On a page without WebMCP, in a browser e2e launched or one it attaches to, both calls fail with `UNSUPPORTED_CAPABILITY` and say how to turn it on. A call to a tool the page does not register, one that throws, or one that navigates the page or runs out of time before it answers is `ACTION_FAILED`. [WebMCP](https://e2e.com/docs/reference/web#webmcp) diff --git a/.changeset/cache-size-rounding.md b/.changeset/cache-size-rounding.md deleted file mode 100644 index a6d91cd6e5..0000000000 --- a/.changeset/cache-size-rounding.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'e2e': patch ---- - -`e2e cache stats` sizes just under 1 MiB now read `1.0 MiB` instead of `1024.0 KiB`. diff --git a/.changeset/chromium-sandbox-default.md b/.changeset/chromium-sandbox-default.md deleted file mode 100644 index 30466e450e..0000000000 --- a/.changeset/chromium-sandbox-default.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2e-dev/web": minor ---- - -**Release:** Chromium launches with its OS sandbox on by default on macOS and Windows, which helps contain a renderer exploit on a page the agent reaches. `web({ chromiumSandbox })` turns it on for Linux, where it stays off by default, or off elsewhere. diff --git a/.changeset/cjk-count-copula.md b/.changeset/cjk-count-copula.md deleted file mode 100644 index af1569d400..0000000000 --- a/.changeset/cjk-count-copula.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@e2e-dev/core': patch ---- - -The replay cache now also reads a CJK count followed by a copula, such as `42件です`, `42건입니다` or `42건이에요`, as a count, so a growing tally no longer makes the next replay stale. diff --git a/.changeset/claude-plugin-no-mcp.md b/.changeset/claude-plugin-no-mcp.md deleted file mode 100644 index acbe03ad4c..0000000000 --- a/.changeset/claude-plugin-no-mcp.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"e2e": patch ---- - -The e2e skill now says the Claude Code plugin does not register the MCP server, and tells the agent to register it in the project there. The Codex and Cursor plugins still include it. diff --git a/.changeset/closed-details-shadow-visibility.md b/.changeset/closed-details-shadow-visibility.md deleted file mode 100644 index 65575b230f..0000000000 --- a/.changeset/closed-details-shadow-visibility.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2e-dev/web": patch ---- - -`toBeVisible()` and `isVisible()` now read an element as hidden when a closed `
` folds it away across a shadow boundary: an element in a shadow tree under a closed `
`, and an element slotted into a closed `
` inside an open shadow root or a closed one created with `attachShadow()`. Before, `toBeVisible()` passed on such an element although the page did not show it, and the agent's tree listed the slotted ones. A `display: contents` element whose own text is its content still reads visible there, as Playwright reads it. An element slotted into a closed shadow root created with `attachShadow()` under `content-visibility: hidden` now reads hidden as well, as it already did for an open root. A closed `
` body that the page's CSS shows through `::details-content` now reads visible, and so does content under `content-visibility: hidden` set on an element whose box skips nothing (`display: contents`, an inline element, a table, a table row, ruby); both read hidden before. Content under `content-visibility: hidden` on an inline ``, `