fix(examples): pin with-electron to the published @e2e-dev/electron
Merged
OK
16h ago+4+4+0123456789-4-4-0123456789
What
examples/with-electron installs from npm: its @e2e-dev/electron pin is 0.1.0, the version that was published, where it named 0.0.1.
Why
@e2e-dev/electron 0.0.1 was never published (npm has 0.0.0 and 0.1.0), so npm install in a clone of the example fails with ETARGET. e2e init --example with-electron is not affected, because init rewrites the @e2e-dev/* ranges on copy.
How it works
examples/with-electron/package.json:15pins@e2e-dev/electronto0.1.0. The pin stays exact, asdocs/electron.mdxasks for while the engine is experimental.examples/with-electron/README.md:45records the run on the published packages in the "Last checked" note, which described a build from main and the 0.0.1 release.
Issue
None filed. Found while setting up the example from a clone.
Verified
Ran it locally: yes
- Copied
examples/with-electronto a scratch directory outside the workspace, rannpm install, thene2e runwith a gateway key. Node 24, macOS 27.
| main | this PR |
|---|---|
npm error notarget No matching version found for @e2e-dev/electron@0.0.1. | installs @e2e-dev/electron@0.1.0, e2e@0.26.0, electron@45.5.0 |
RUN e2e v0.26.0
✓ |electron| tests/deterministic.e2e.ts > shows the greeting form 460ms
✓ |electron| tests/deterministic.e2e.ts > asks for a name when the field is empty 313ms
✓ |electron| tests/deterministic.e2e.ts > greets the name you type 319ms
✓ |electron| tests/agentic.e2e.ts > the agent gets a greeting 5.22s
✓ |electron| tests/agentic.e2e.ts > the agent finds the empty-name error 4.37s
Test Files 2 passed (2)
Tests 5 passed (5)
The test run used the range ^0.1.0, which resolved to the same 0.1.0 the exact pin installs.
Summary by CodeRabbit
-
Documentation
- Updated the Electron example’s verified setup details, including macOS 27, Electron 45.5, and Node 24. The README continues to report passing locator and agent tests and now reflects the current release status.
-
Chores
- Updated the Electron example to use the current version of its Electron tooling.