From 906e0b357c7cc5ead8bfbee1eb9ea9432d0a61ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oskar=20Kwas=CC=81niewski?= Date: Mon, 14 Sep 2026 11:54:49 +0200 Subject: [PATCH] chore: release --- .../agent-device-engine-contract-lock.md | 5 -- .changeset/engine-contract-lock.md | 16 ----- .changeset/github-public.md | 5 -- .changeset/independent-judge.md | 32 ---------- .changeset/init-pins-canary-engines.md | 5 -- .changeset/model-reasoning-lines.md | 12 ---- .changeset/no-allowed-origins.md | 7 --- .changeset/playwright-engine-contract-lock.md | 7 --- .changeset/rename-runner-package.md | 8 --- packages/agent-device/CHANGELOG.md | 14 +++++ packages/agent-device/package.json | 4 +- packages/e2e/CHANGELOG.md | 63 +++++++++++++++++++ packages/e2e/package.json | 2 +- packages/github/CHANGELOG.md | 12 ++++ packages/github/package.json | 4 +- packages/playwright/CHANGELOG.md | 17 +++++ packages/playwright/package.json | 4 +- pnpm-lock.yaml | 19 ------ 18 files changed, 113 insertions(+), 123 deletions(-) delete mode 100644 .changeset/agent-device-engine-contract-lock.md delete mode 100644 .changeset/engine-contract-lock.md delete mode 100644 .changeset/github-public.md delete mode 100644 .changeset/independent-judge.md delete mode 100644 .changeset/init-pins-canary-engines.md delete mode 100644 .changeset/model-reasoning-lines.md delete mode 100644 .changeset/no-allowed-origins.md delete mode 100644 .changeset/playwright-engine-contract-lock.md delete mode 100644 .changeset/rename-runner-package.md diff --git a/.changeset/agent-device-engine-contract-lock.md b/.changeset/agent-device-engine-contract-lock.md deleted file mode 100644 index 8b732a4af..000000000 --- a/.changeset/agent-device-engine-contract-lock.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2edev/agent-device": minor ---- - -Breaking: follows the reshaped engine contract. Observations carry one `root` node (role `screen`, id `root`) over the device's windows and a `location` of the form ` / ` instead of an `app://` URL. Nodes carry `testId` from the accessibility identifier or resource id; the harness's `testIdAttribute` is gone. The engine declares the action kinds a device honors, so the agent is no longer offered `select` on a device. `press` accepts `Enter`, `Space`, and single characters; anything else fails with `UNSUPPORTED_CAPABILITY`. A discovered device pool reaches the workers through the `prepare` result's `env` instead of a write to the run's environment. diff --git a/.changeset/engine-contract-lock.md b/.changeset/engine-contract-lock.md deleted file mode 100644 index 353a1ac3d..000000000 --- a/.changeset/engine-contract-lock.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"e2e": minor ---- - -Breaking: the engine contract (`e2e/engine`) is reshaped as the locked, UI-only, cross-platform SPI for 1.0. What breaks and what replaces it: - -- `EngineSnapshot.nodes` is `root`, one engine-minted node with an id that stays stable across observations; `url` is `location`, an opaque address (a URL on the web, the foreground screen on a device) the harness treats as a URL only when it parses as one; `viewport` is required. -- `Engine.url()` is gone; read `location` off an observation. `Engine.swipe` is gone; the viewport swipe is `perform(root, { kind: 'swipe' })`. -- `Engine.actions` lists the action kinds `perform` honors and is required with it. The agent's tools and the `screen` methods derive from it, so a surface is never offered a verb it cannot do. -- `Engine.app` is data only. The hooks move to `Engine.session: { open, back, restart, reset }` (were `app.navigate`, `back`, `restart`, `clearState`). `restart` and `reset` open nothing on an addressable surface; the harness reopens the app through `open`. -- `EngineInitInfo.testIdAttribute` and `EngineInitInfo.app.baseUrl` are gone. `SemanticNode.testId` carries the node's test id and the `testId` query resolves against it. The root config key `screen.testIdAttribute` is rejected; set `playwright({ testIdAttribute })` instead. -- `press` keys follow one grammar in Playwright spelling (`Control+a`, `Shift+Tab`, `Enter`, one printable character); `parseKey`, `KEY_NAMES`, `KEY_MODIFIERS`, and `LOCATOR_ACTION_KINDS` are exported for engines. An invalid key fails with `INVALID_ARGUMENT` before it reaches an engine. -- `OperationContext.origin` is required. `EnginePrepareInfo.env` is a plain readonly record, and `EnginePrepareResult.env` is the typed channel from a runner-side `prepare` to each worker's `init`, which reads it as `EngineInitInfo.env` (the run's environment plus that target's additions; other targets never see them). -- Report: the target record no longer carries `testIdAttribute`; artifact kinds and usage counters are unchanged. - -`spiVersion` stays `1`. diff --git a/.changeset/github-public.md b/.changeset/github-public.md deleted file mode 100644 index 45b8a0ff0..000000000 --- a/.changeset/github-public.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@e2edev/github": patch ---- - -Publishes as a public package, like the rest of the `@e2edev` scope. diff --git a/.changeset/independent-judge.md b/.changeset/independent-judge.md deleted file mode 100644 index 06aa0a0db..000000000 --- a/.changeset/independent-judge.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -"e2e": minor ---- - -Judgments are independent of the act loop. `agent.assert`, `agent.waitFor`, -and `agent.extract` are shown the instruction and the current screen only: -the prior-step ledger and the acting agent's summaries no longer reach a -judgment call, so a verdict rests on what is on screen rather than on the -actor's account of what it did. A new `judge` slot, `agents..judge` or -`createAgent({ judge })`, names a separate model for the judgment tier; -unset, judgments use `model`, and a config `judge` that differs from the -executor's is `INVALID_CONFIG`. Each judgment step's `model` in the report -names the model that produced the verdict. `createAgent(...)` counts as the -built-in agent here, not a custom executor: its `agent.assert` calls now go -to the judgment tier (one judgment call, `vision` and `screenshot` allowed) -instead of through its own `runStep`, so the judge judges them. A hand-rolled -executor still judges its own assertions through `runStep`. - -The judgment protocol is `agent-judgment-2`: the model answers `holds`, -`fails`, or `inconclusive` instead of a boolean. An inconclusive -`agent.assert`, one where the screen did not show enough to decide either -way, fails with the new `ASSERTION_INCONCLUSIVE` code (category test, exit 1) -and the model's account of what was missing; it is never a pass. In -`agent.waitFor` an inconclusive round keeps polling until the deadline. The -`agent-judgment-1` schema and its fixtures stay in the package, marked -deprecated, for the stability window; the runner requests `agent-judgment-2` -only. - -The report records the checkout under `run.vcs`: `commit`, `branch` when -HEAD is on one, and `dirty` when git could say. Outside git the GitHub -Actions variables stand in; with neither, the field is absent. It is what -joins a run's verdicts to the pull request that produced the code. diff --git a/.changeset/init-pins-canary-engines.md b/.changeset/init-pins-canary-engines.md deleted file mode 100644 index 7d955837c..000000000 --- a/.changeset/init-pins-canary-engines.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"e2e": patch ---- - -`init` pins an engine exactly when the runner it ships in is a prerelease. A canary engine names one runner build in its peer range, and the caret `init` wrote resolved to the newest canary of that engine, whose peer range named a different runner and failed the install. diff --git a/.changeset/model-reasoning-lines.md b/.changeset/model-reasoning-lines.md deleted file mode 100644 index 04c7b5c44..000000000 --- a/.changeset/model-reasoning-lines.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'e2e': minor ---- - -A finished model turn in the live window now appends an excerpt of the -model's reasoning when the model produced one: `• Thinking (2.84s) (↑7.5k -↓18) · The modal blocks checkout; closing it first`. Runs and explorations -alike show why the agent acted, not just that it did. The excerpt collapses -to one line and clips to the terminal; the full reasoning stays in the AI -trace (`--ai-trace`). The same bounded excerpt lands on the report's `model` -step events as `reasoning` (report-1 schema), and custom executors report -their own through `recordModelCall({ reasoning })`. diff --git a/.changeset/no-allowed-origins.md b/.changeset/no-allowed-origins.md deleted file mode 100644 index 38f3b1972..000000000 --- a/.changeset/no-allowed-origins.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'e2e': minor -'@e2edev/playwright': minor -'@e2edev/agent-device': patch ---- - -Origin allowlists are gone, everywhere. `playwright({ allowedOrigins })` gated typed navigation only; a click, a redirect, or a popup reached any origin regardless, so the list guarded nothing and had to be spelled out for every subdomain a sign-in flow touched. `allowedOrigins` on a credential or a secret gated where a password could be typed; a secret is only ever typed into a field the step was handed, a password only into a password field, so that gate guarded against a model mistake at the cost of configuring every flow that leaves the app's domain, a third-party sign-in included. `app.open()`, the agent's `navigate`, and `web.goto` open any http(s) URL, `file:`, `data:`, and `javascript:` stay `POLICY_DENIED`, and a secret fills wherever the test or the step directs it. `credentials` entries are `{ username, password }`; `secrets` entries are a string or a provider, the `{ value }` object form is gone. `type_secret` now works on a device target too. What still keys on the site of `url` (its registrable domain) is invisible to config: the browser engine's `headers` reach the site and no other host, and child frames off the site stay out of observations. `basicAuth` answers a challenge from any origin, as Playwright's own `httpCredentials` does. Engine contract: `EngineAppInfo.allowedOrigins` became `site?: string`, `EngineAppDeclaration` lost `allowedOrigins`, and `sameSite`/`siteOf` are exported from `e2e/engine`. `playwright({ allowedOrigins })` fails at config load. If a threat model ever calls for an allowlist again, it comes back as an opt-in. diff --git a/.changeset/playwright-engine-contract-lock.md b/.changeset/playwright-engine-contract-lock.md deleted file mode 100644 index f384b8a6a..000000000 --- a/.changeset/playwright-engine-contract-lock.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@e2edev/playwright": minor ---- - -Breaking: follows the reshaped engine contract. `playwright({ testIdAttribute })` names the attribute `getByTestId` and observed `testId` values read (default `data-testid`); the root config key `screen.testIdAttribute` no longer exists. `app.restart()` and `app.clearState()` land on a blank page and the runner reopens the app. Observations carry one `root` node (the document, id `root`) and `location` (the page URL). - -Fixed: `screen.getByTestId` now honors the configured attribute; it used Playwright's process-wide default before. diff --git a/.changeset/rename-runner-package.md b/.changeset/rename-runner-package.md deleted file mode 100644 index 38197d294..000000000 --- a/.changeset/rename-runner-package.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"e2e": minor -"@e2edev/playwright": minor -"@e2edev/agent-device": minor -"@e2edev/github": minor ---- - -The runner is published as `e2e`. `@e2edev/e2e` is retired and deprecated on npm; every import, config, and peer range now names `e2e` (`e2e`, `e2e/agent`, `e2e/engine`). The engines and the GitHub reporter declare their peer dependency on `e2e`, so a project on `@e2edev/e2e` must switch the runner to `e2e` when it takes these versions. The CLI keeps its `e2e` bin name. diff --git a/packages/agent-device/CHANGELOG.md b/packages/agent-device/CHANGELOG.md index 87a3ca6d7..dbc0bf5f7 100644 --- a/packages/agent-device/CHANGELOG.md +++ b/packages/agent-device/CHANGELOG.md @@ -1,5 +1,19 @@ # @e2edev/agent-device +## 0.8.0-canary-20260914081513 + +### Minor Changes + +- [#291](https://github.com/tester-army/e2e/pull/291) [`abf1958`](https://github.com/tester-army/e2e/commit/abf19588677070fb86234f735614c40b7677e755) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Breaking: follows the reshaped engine contract. Observations carry one `root` node (role `screen`, id `root`) over the device's windows and a `location` of the form ` / ` instead of an `app://` URL. Nodes carry `testId` from the accessibility identifier or resource id; the harness's `testIdAttribute` is gone. The engine declares the action kinds a device honors, so the agent is no longer offered `select` on a device. `press` accepts `Enter`, `Space`, and single characters; anything else fails with `UNSUPPORTED_CAPABILITY`. A discovered device pool reaches the workers through the `prepare` result's `env` instead of a write to the run's environment. + +- [#294](https://github.com/tester-army/e2e/pull/294) [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59) Thanks [@okwasniewski](https://github.com/okwasniewski)! - The runner is published as `e2e`. `@e2edev/e2e` is retired and deprecated on npm; every import, config, and peer range now names `e2e` (`e2e`, `e2e/agent`, `e2e/engine`). The engines and the GitHub reporter declare their peer dependency on `e2e`, so a project on `@e2edev/e2e` must switch the runner to `e2e` when it takes these versions. The CLI keeps its `e2e` bin name. + +### Patch Changes + +- [#290](https://github.com/tester-army/e2e/pull/290) [`799b29f`](https://github.com/tester-army/e2e/commit/799b29fbfa0444589b66bc0e59ab0b83ededf50c) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Origin allowlists are gone, everywhere. `playwright({ allowedOrigins })` gated typed navigation only; a click, a redirect, or a popup reached any origin regardless, so the list guarded nothing and had to be spelled out for every subdomain a sign-in flow touched. `allowedOrigins` on a credential or a secret gated where a password could be typed; a secret is only ever typed into a field the step was handed, a password only into a password field, so that gate guarded against a model mistake at the cost of configuring every flow that leaves the app's domain, a third-party sign-in included. `app.open()`, the agent's `navigate`, and `web.goto` open any http(s) URL, `file:`, `data:`, and `javascript:` stay `POLICY_DENIED`, and a secret fills wherever the test or the step directs it. `credentials` entries are `{ username, password }`; `secrets` entries are a string or a provider, the `{ value }` object form is gone. `type_secret` now works on a device target too. What still keys on the site of `url` (its registrable domain) is invisible to config: the browser engine's `headers` reach the site and no other host, and child frames off the site stay out of observations. `basicAuth` answers a challenge from any origin, as Playwright's own `httpCredentials` does. Engine contract: `EngineAppInfo.allowedOrigins` became `site?: string`, `EngineAppDeclaration` lost `allowedOrigins`, and `sameSite`/`siteOf` are exported from `e2e/engine`. `playwright({ allowedOrigins })` fails at config load. If a threat model ever calls for an allowlist again, it comes back as an opt-in. +- Updated dependencies [[`abf1958`](https://github.com/tester-army/e2e/commit/abf19588677070fb86234f735614c40b7677e755), [`aa3b05b`](https://github.com/tester-army/e2e/commit/aa3b05bbbdd4534ef111e51b950002513998076f), [`e301105`](https://github.com/tester-army/e2e/commit/e3011054080237f6141419f738a680574308765b), [`d486e40`](https://github.com/tester-army/e2e/commit/d486e40e73bfe23ac70a99f7938f05db0ba4e30c), [`799b29f`](https://github.com/tester-army/e2e/commit/799b29fbfa0444589b66bc0e59ab0b83ededf50c), [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59)]: + - e2e@0.15.0-canary-20260914081513 + ## 0.7.0 ### Minor Changes diff --git a/packages/agent-device/package.json b/packages/agent-device/package.json index 91c86108a..03264eb62 100644 --- a/packages/agent-device/package.json +++ b/packages/agent-device/package.json @@ -1,6 +1,6 @@ { "name": "@e2edev/agent-device", - "version": "0.7.0", + "version": "0.8.0-canary-20260914081513", "description": "agent-device mobile engine (iOS and Android) for e2e agentic end-to-end testing", "keywords": [ "e2e", @@ -61,7 +61,7 @@ }, "peerDependencies": { "ai": "^7.0.0", - "e2e": ">=0.9.0 <1" + "e2e": "0.15.0-canary-20260914081513" }, "peerDependenciesMeta": { "ai": { diff --git a/packages/e2e/CHANGELOG.md b/packages/e2e/CHANGELOG.md index 3201ce8c2..892bcbfdf 100644 --- a/packages/e2e/CHANGELOG.md +++ b/packages/e2e/CHANGELOG.md @@ -1,5 +1,68 @@ # e2e +## 0.15.0-canary-20260914081513 + +### Minor Changes + +- [#291](https://github.com/tester-army/e2e/pull/291) [`abf1958`](https://github.com/tester-army/e2e/commit/abf19588677070fb86234f735614c40b7677e755) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Breaking: the engine contract (`e2e/engine`) is reshaped as the locked, UI-only, cross-platform SPI for 1.0. What breaks and what replaces it: + + - `EngineSnapshot.nodes` is `root`, one engine-minted node with an id that stays stable across observations; `url` is `location`, an opaque address (a URL on the web, the foreground screen on a device) the harness treats as a URL only when it parses as one; `viewport` is required. + - `Engine.url()` is gone; read `location` off an observation. `Engine.swipe` is gone; the viewport swipe is `perform(root, { kind: 'swipe' })`. + - `Engine.actions` lists the action kinds `perform` honors and is required with it. The agent's tools and the `screen` methods derive from it, so a surface is never offered a verb it cannot do. + - `Engine.app` is data only. The hooks move to `Engine.session: { open, back, restart, reset }` (were `app.navigate`, `back`, `restart`, `clearState`). `restart` and `reset` open nothing on an addressable surface; the harness reopens the app through `open`. + - `EngineInitInfo.testIdAttribute` and `EngineInitInfo.app.baseUrl` are gone. `SemanticNode.testId` carries the node's test id and the `testId` query resolves against it. The root config key `screen.testIdAttribute` is rejected; set `playwright({ testIdAttribute })` instead. + - `press` keys follow one grammar in Playwright spelling (`Control+a`, `Shift+Tab`, `Enter`, one printable character); `parseKey`, `KEY_NAMES`, `KEY_MODIFIERS`, and `LOCATOR_ACTION_KINDS` are exported for engines. An invalid key fails with `INVALID_ARGUMENT` before it reaches an engine. + - `OperationContext.origin` is required. `EnginePrepareInfo.env` is a plain readonly record, and `EnginePrepareResult.env` is the typed channel from a runner-side `prepare` to each worker's `init`, which reads it as `EngineInitInfo.env` (the run's environment plus that target's additions; other targets never see them). + - Report: the target record no longer carries `testIdAttribute`; artifact kinds and usage counters are unchanged. + + `spiVersion` stays `1`. + +- [#288](https://github.com/tester-army/e2e/pull/288) [`aa3b05b`](https://github.com/tester-army/e2e/commit/aa3b05bbbdd4534ef111e51b950002513998076f) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Judgments are independent of the act loop. `agent.assert`, `agent.waitFor`, + and `agent.extract` are shown the instruction and the current screen only: + the prior-step ledger and the acting agent's summaries no longer reach a + judgment call, so a verdict rests on what is on screen rather than on the + actor's account of what it did. A new `judge` slot, `agents..judge` or + `createAgent({ judge })`, names a separate model for the judgment tier; + unset, judgments use `model`, and a config `judge` that differs from the + executor's is `INVALID_CONFIG`. Each judgment step's `model` in the report + names the model that produced the verdict. `createAgent(...)` counts as the + built-in agent here, not a custom executor: its `agent.assert` calls now go + to the judgment tier (one judgment call, `vision` and `screenshot` allowed) + instead of through its own `runStep`, so the judge judges them. A hand-rolled + executor still judges its own assertions through `runStep`. + + The judgment protocol is `agent-judgment-2`: the model answers `holds`, + `fails`, or `inconclusive` instead of a boolean. An inconclusive + `agent.assert`, one where the screen did not show enough to decide either + way, fails with the new `ASSERTION_INCONCLUSIVE` code (category test, exit 1) + and the model's account of what was missing; it is never a pass. In + `agent.waitFor` an inconclusive round keeps polling until the deadline. The + `agent-judgment-1` schema and its fixtures stay in the package, marked + deprecated, for the stability window; the runner requests `agent-judgment-2` + only. + + The report records the checkout under `run.vcs`: `commit`, `branch` when + HEAD is on one, and `dirty` when git could say. Outside git the GitHub + Actions variables stand in; with neither, the field is absent. It is what + joins a run's verdicts to the pull request that produced the code. + +- [#292](https://github.com/tester-army/e2e/pull/292) [`d486e40`](https://github.com/tester-army/e2e/commit/d486e40e73bfe23ac70a99f7938f05db0ba4e30c) Thanks [@okwasniewski](https://github.com/okwasniewski)! - A finished model turn in the live window now appends an excerpt of the + model's reasoning when the model produced one: `• Thinking (2.84s) (↑7.5k + ↓18) · The modal blocks checkout; closing it first`. Runs and explorations + alike show why the agent acted, not just that it did. The excerpt collapses + to one line and clips to the terminal; the full reasoning stays in the AI + trace (`--ai-trace`). The same bounded excerpt lands on the report's `model` + step events as `reasoning` (report-1 schema), and custom executors report + their own through `recordModelCall({ reasoning })`. + +- [#290](https://github.com/tester-army/e2e/pull/290) [`799b29f`](https://github.com/tester-army/e2e/commit/799b29fbfa0444589b66bc0e59ab0b83ededf50c) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Origin allowlists are gone, everywhere. `playwright({ allowedOrigins })` gated typed navigation only; a click, a redirect, or a popup reached any origin regardless, so the list guarded nothing and had to be spelled out for every subdomain a sign-in flow touched. `allowedOrigins` on a credential or a secret gated where a password could be typed; a secret is only ever typed into a field the step was handed, a password only into a password field, so that gate guarded against a model mistake at the cost of configuring every flow that leaves the app's domain, a third-party sign-in included. `app.open()`, the agent's `navigate`, and `web.goto` open any http(s) URL, `file:`, `data:`, and `javascript:` stay `POLICY_DENIED`, and a secret fills wherever the test or the step directs it. `credentials` entries are `{ username, password }`; `secrets` entries are a string or a provider, the `{ value }` object form is gone. `type_secret` now works on a device target too. What still keys on the site of `url` (its registrable domain) is invisible to config: the browser engine's `headers` reach the site and no other host, and child frames off the site stay out of observations. `basicAuth` answers a challenge from any origin, as Playwright's own `httpCredentials` does. Engine contract: `EngineAppInfo.allowedOrigins` became `site?: string`, `EngineAppDeclaration` lost `allowedOrigins`, and `sameSite`/`siteOf` are exported from `e2e/engine`. `playwright({ allowedOrigins })` fails at config load. If a threat model ever calls for an allowlist again, it comes back as an opt-in. + +- [#294](https://github.com/tester-army/e2e/pull/294) [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59) Thanks [@okwasniewski](https://github.com/okwasniewski)! - The runner is published as `e2e`. `@e2edev/e2e` is retired and deprecated on npm; every import, config, and peer range now names `e2e` (`e2e`, `e2e/agent`, `e2e/engine`). The engines and the GitHub reporter declare their peer dependency on `e2e`, so a project on `@e2edev/e2e` must switch the runner to `e2e` when it takes these versions. The CLI keeps its `e2e` bin name. + +### Patch Changes + +- [#293](https://github.com/tester-army/e2e/pull/293) [`e301105`](https://github.com/tester-army/e2e/commit/e3011054080237f6141419f738a680574308765b) Thanks [@okwasniewski](https://github.com/okwasniewski)! - `init` pins an engine exactly when the runner it ships in is a prerelease. A canary engine names one runner build in its peer range, and the caret `init` wrote resolved to the newest canary of that engine, whose peer range named a different runner and failed the install. + ## 0.14.0 ### Minor Changes diff --git a/packages/e2e/package.json b/packages/e2e/package.json index 19102713f..d753edcbb 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -1,6 +1,6 @@ { "name": "e2e", - "version": "0.14.0", + "version": "0.15.0-canary-20260914081513", "description": "SDK, runner, and CLI for agentic end-to-end testing", "keywords": [ "e2e", diff --git a/packages/github/CHANGELOG.md b/packages/github/CHANGELOG.md index e76461f3c..da2c1958b 100644 --- a/packages/github/CHANGELOG.md +++ b/packages/github/CHANGELOG.md @@ -1,5 +1,17 @@ # @e2edev/github +## 0.3.0-canary-20260914081513 + +### Minor Changes + +- [#294](https://github.com/tester-army/e2e/pull/294) [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59) Thanks [@okwasniewski](https://github.com/okwasniewski)! - The runner is published as `e2e`. `@e2edev/e2e` is retired and deprecated on npm; every import, config, and peer range now names `e2e` (`e2e`, `e2e/agent`, `e2e/engine`). The engines and the GitHub reporter declare their peer dependency on `e2e`, so a project on `@e2edev/e2e` must switch the runner to `e2e` when it takes these versions. The CLI keeps its `e2e` bin name. + +### Patch Changes + +- [#293](https://github.com/tester-army/e2e/pull/293) [`e301105`](https://github.com/tester-army/e2e/commit/e3011054080237f6141419f738a680574308765b) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Publishes as a public package, like the rest of the `@e2edev` scope. +- Updated dependencies [[`abf1958`](https://github.com/tester-army/e2e/commit/abf19588677070fb86234f735614c40b7677e755), [`aa3b05b`](https://github.com/tester-army/e2e/commit/aa3b05bbbdd4534ef111e51b950002513998076f), [`e301105`](https://github.com/tester-army/e2e/commit/e3011054080237f6141419f738a680574308765b), [`d486e40`](https://github.com/tester-army/e2e/commit/d486e40e73bfe23ac70a99f7938f05db0ba4e30c), [`799b29f`](https://github.com/tester-army/e2e/commit/799b29fbfa0444589b66bc0e59ab0b83ededf50c), [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59)]: + - e2e@0.15.0-canary-20260914081513 + ## 0.2.0 ### Minor Changes diff --git a/packages/github/package.json b/packages/github/package.json index a7a1ff142..35b990c4d 100644 --- a/packages/github/package.json +++ b/packages/github/package.json @@ -1,6 +1,6 @@ { "name": "@e2edev/github", - "version": "0.2.0", + "version": "0.3.0-canary-20260914081513", "description": "GitHub reporter for e2e: one pull request comment per run, from GitHub Actions", "keywords": [ "e2e", @@ -50,7 +50,7 @@ "test:unit": "vitest run tests/unit" }, "peerDependencies": { - "e2e": ">=0.13.0 <1" + "e2e": "0.15.0-canary-20260914081513" }, "devDependencies": { "e2e": "workspace:*", diff --git a/packages/playwright/CHANGELOG.md b/packages/playwright/CHANGELOG.md index 377611cdc..145e4fdfe 100644 --- a/packages/playwright/CHANGELOG.md +++ b/packages/playwright/CHANGELOG.md @@ -1,5 +1,22 @@ # @e2edev/playwright +## 0.11.0-canary-20260914081513 + +### Minor Changes + +- [#290](https://github.com/tester-army/e2e/pull/290) [`799b29f`](https://github.com/tester-army/e2e/commit/799b29fbfa0444589b66bc0e59ab0b83ededf50c) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Origin allowlists are gone, everywhere. `playwright({ allowedOrigins })` gated typed navigation only; a click, a redirect, or a popup reached any origin regardless, so the list guarded nothing and had to be spelled out for every subdomain a sign-in flow touched. `allowedOrigins` on a credential or a secret gated where a password could be typed; a secret is only ever typed into a field the step was handed, a password only into a password field, so that gate guarded against a model mistake at the cost of configuring every flow that leaves the app's domain, a third-party sign-in included. `app.open()`, the agent's `navigate`, and `web.goto` open any http(s) URL, `file:`, `data:`, and `javascript:` stay `POLICY_DENIED`, and a secret fills wherever the test or the step directs it. `credentials` entries are `{ username, password }`; `secrets` entries are a string or a provider, the `{ value }` object form is gone. `type_secret` now works on a device target too. What still keys on the site of `url` (its registrable domain) is invisible to config: the browser engine's `headers` reach the site and no other host, and child frames off the site stay out of observations. `basicAuth` answers a challenge from any origin, as Playwright's own `httpCredentials` does. Engine contract: `EngineAppInfo.allowedOrigins` became `site?: string`, `EngineAppDeclaration` lost `allowedOrigins`, and `sameSite`/`siteOf` are exported from `e2e/engine`. `playwright({ allowedOrigins })` fails at config load. If a threat model ever calls for an allowlist again, it comes back as an opt-in. + +- [#291](https://github.com/tester-army/e2e/pull/291) [`abf1958`](https://github.com/tester-army/e2e/commit/abf19588677070fb86234f735614c40b7677e755) Thanks [@okwasniewski](https://github.com/okwasniewski)! - Breaking: follows the reshaped engine contract. `playwright({ testIdAttribute })` names the attribute `getByTestId` and observed `testId` values read (default `data-testid`); the root config key `screen.testIdAttribute` no longer exists. `app.restart()` and `app.clearState()` land on a blank page and the runner reopens the app. Observations carry one `root` node (the document, id `root`) and `location` (the page URL). + + Fixed: `screen.getByTestId` now honors the configured attribute; it used Playwright's process-wide default before. + +- [#294](https://github.com/tester-army/e2e/pull/294) [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59) Thanks [@okwasniewski](https://github.com/okwasniewski)! - The runner is published as `e2e`. `@e2edev/e2e` is retired and deprecated on npm; every import, config, and peer range now names `e2e` (`e2e`, `e2e/agent`, `e2e/engine`). The engines and the GitHub reporter declare their peer dependency on `e2e`, so a project on `@e2edev/e2e` must switch the runner to `e2e` when it takes these versions. The CLI keeps its `e2e` bin name. + +### Patch Changes + +- Updated dependencies [[`abf1958`](https://github.com/tester-army/e2e/commit/abf19588677070fb86234f735614c40b7677e755), [`aa3b05b`](https://github.com/tester-army/e2e/commit/aa3b05bbbdd4534ef111e51b950002513998076f), [`e301105`](https://github.com/tester-army/e2e/commit/e3011054080237f6141419f738a680574308765b), [`d486e40`](https://github.com/tester-army/e2e/commit/d486e40e73bfe23ac70a99f7938f05db0ba4e30c), [`799b29f`](https://github.com/tester-army/e2e/commit/799b29fbfa0444589b66bc0e59ab0b83ededf50c), [`c2c5df7`](https://github.com/tester-army/e2e/commit/c2c5df7df94b25a8284b69dd6bc00a459b770a59)]: + - e2e@0.15.0-canary-20260914081513 + ## 0.10.0 ### Minor Changes diff --git a/packages/playwright/package.json b/packages/playwright/package.json index 9b898d6ca..b341da99e 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -1,6 +1,6 @@ { "name": "@e2edev/playwright", - "version": "0.10.0", + "version": "0.11.0-canary-20260914081513", "description": "Playwright browser engine for e2e agentic end-to-end testing", "keywords": [ "e2e", @@ -48,7 +48,7 @@ "test:unit": "vitest run tests/unit" }, "peerDependencies": { - "e2e": ">=0.8.0 <1", + "e2e": "0.15.0-canary-20260914081513", "playwright": ">=1.63.0 <2" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0823f4201..517f53503 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -6,9 +6,6 @@ importers: .: configDependencies: {} packageManagerDependencies: - '@pnpm/exe': - specifier: 12.3.4 - version: 12.3.4 pnpm: specifier: 12.3.4 version: 12.3.4 @@ -59,11 +56,6 @@ packages: cpu: [x64] os: [win32] - '@pnpm/exe@12.3.4': - resolution: {integrity: sha512-Rq7JokWAyYF9IFfn8zofB/q2AgnZlmoMuH5fMHB2+Ta61I9aD7sNm+woZpx6iH+5vb38chdSoYRvOtSqlH72YQ==} - engines: {node: '>=18.*'} - hasBin: true - pnpm@12.3.4: resolution: {integrity: sha512-lhqkH7B32joEpEHZ+OFevAyW2o73ELLrZ7+e58sGEOq9SPH9hfUc/+c4RnhfoPh8VqOocqHYk/hEZ0G1zORUVw==} engines: {node: '>=18.*'} @@ -95,17 +87,6 @@ snapshots: '@pnpm/exe.win32-x64@12.3.4': optional: true - '@pnpm/exe@12.3.4': - optionalDependencies: - '@pnpm/exe.darwin-arm64': 12.3.4 - '@pnpm/exe.darwin-x64': 12.3.4 - '@pnpm/exe.linux-arm64': 12.3.4 - '@pnpm/exe.linux-arm64-musl': 12.3.4 - '@pnpm/exe.linux-x64': 12.3.4 - '@pnpm/exe.linux-x64-musl': 12.3.4 - '@pnpm/exe.win32-arm64': 12.3.4 - '@pnpm/exe.win32-x64': 12.3.4 - pnpm@12.3.4: optionalDependencies: '@pnpm/exe.darwin-arm64': 12.3.4