You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@e2e-dev/core@0.26.2
Patch Changes
#240531a814a Thanks @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.
e2e@0.26.2
Patch Changes
d25b13c Thanks @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 <path> exits 2 when that config is missing or does not load. telemetry
#240531a814a Thanks @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.
#2314a5a9b18 Thanks @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.
#240531a814a Thanks @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.
@e2e-dev/web@0.17.3
Patch Changes
#240531a814a Thanks @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.
Summary by CodeRabbit
New Features
Added full-page and rectangular-clipped screenshots through app screenshot capture and screen screenshot assertions. Full-page capture requires engine support; unsupported engines report an error. Locator screenshot assertions do not support these options.
Chores
Released updated package versions: core and e2e 0.26.2, web 0.17.3, and Electron 0.1.2.
No actionable comments were generated in the recent review.
Walkthrough
Changes
This release updates package versions, changelogs, server metadata, and plugin metadata. The changelogs describe screenshot options, telemetry configuration, and Vite initialization behavior. The changesets for these features are removed.
Package versions and changelogs are updated for the release. The changelogs describe screenshot options, telemetry configuration, and Vite initialization behavior. Three changesets are removed.
Plugin distribution metadata plugins/e2e/*
Plugin versions and configured e2e package references are updated to 0.26.2.
e2e-inc/e2e#2405: The release notes record the full-page and clipped screenshot behavior introduced by this PR.
e2e-inc/e2e#2314: The release notes record Vite detection and port handling introduced by this PR.
Change: Other
Merge Risk: Minimal · up to 2abf1
This release only updates version numbers, changelogs, and plugin and server metadata to match the 0.26.2 release. No merge-blocking risk was identified.
Architecture risk: Low · up to 13ba5
Release identity moved from pending changesets and prior version pins into package release records, with plugin configuration updated to target the new e2e release.
Plugin configuration now pins its MCP package to e2e 0.26.2, aligning the requested package version with the e2e release metadata.
observed — packages/e2e (library) was modified; 3 changed files map to changed impact.
observed — packages/core (library) was modified; 2 changed files map to changed impact.
observed — packages/electron (library) was modified; 2 changed files map to changed impact.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 2a1a7859-b47e-4613-a262-93920ded2e68
Commits
Reviewing files that changed from the base of the PR and between 13ba580 and 2abf132.
Files selected for processing: 2
.changeset/config-telemetry.md
packages/e2e/CHANGELOG.md
Files with no reviewable changes: 1
.changeset/config-telemetry.md
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@e2e-dev/core@0.26.2
Patch Changes
31a814aThanks @okwasniewski! -app.screenshot(label, { fullPage, clip })captures the whole scrollable page or one rectangle of it, andexpect(screen).toHaveScreenshot({ fullPage, clip })compares them, as Playwright'spage.screenshotandtoHaveScreenshotdo. Aclipof the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots.fullPageneeds an engine that declares the newfullPageScreenshotscapability: the engine then receives{ fullPage, clip }inartifacts.screenshotandfullPagebesidepixelsinobserve, and reports where the viewport sits in full-page pixels asObservationPixels.scroll. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine,fullPagefails withUNSUPPORTED_CAPABILITYbefore anything is captured. A locator'stoHaveScreenshottakes neither option.e2e@0.26.2
Patch Changes
d25b13cThanks @okwasniewski! -telemetry: falseine2e.config.tsturns anonymous usage telemetry off for the project, on every machine and in CI, withoutE2E_TELEMETRY_DISABLEDin each entry point. Every command that loads the config reads it,run,explore, andmcpamong them, ande2e telemetrynames it as the reason. It used to fail withunknown 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 <path>exits 2 when that config is missing or does not load. telemetry#2405
31a814aThanks @okwasniewski! -app.screenshot(label, { fullPage, clip })captures the whole scrollable page or one rectangle of it, andexpect(screen).toHaveScreenshot({ fullPage, clip })compares them, as Playwright'spage.screenshotandtoHaveScreenshotdo. Aclipof the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots.fullPageneeds an engine that declares the newfullPageScreenshotscapability: the engine then receives{ fullPage, clip }inartifacts.screenshotandfullPagebesidepixelsinobserve, and reports where the viewport sits in full-page pixels asObservationPixels.scroll. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine,fullPagefails withUNSUPPORTED_CAPABILITYbefore anything is captured. A locator'stoHaveScreenshottakes neither option.#2314
a5a9b18Thanks @KaiSpencer! -e2e initdetects a Vite app and writes a web target that starts itsdevscript on thevitecommand'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.Updated dependencies [
31a814a]:@e2e-dev/electron@0.1.2
Patch Changes
31a814aThanks @okwasniewski! -app.screenshot(label, { fullPage, clip })captures the whole scrollable page or one rectangle of it, andexpect(screen).toHaveScreenshot({ fullPage, clip })compares them, as Playwright'spage.screenshotandtoHaveScreenshotdo. Aclipof the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots.fullPageneeds an engine that declares the newfullPageScreenshotscapability: the engine then receives{ fullPage, clip }inartifacts.screenshotandfullPagebesidepixelsinobserve, and reports where the viewport sits in full-page pixels asObservationPixels.scroll. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine,fullPagefails withUNSUPPORTED_CAPABILITYbefore anything is captured. A locator'stoHaveScreenshottakes neither option.@e2e-dev/web@0.17.3
Patch Changes
31a814aThanks @okwasniewski! -app.screenshot(label, { fullPage, clip })captures the whole scrollable page or one rectangle of it, andexpect(screen).toHaveScreenshot({ fullPage, clip })compares them, as Playwright'spage.screenshotandtoHaveScreenshotdo. Aclipof the viewport needs no new capability: e2e cuts it from the engine's screenshot on any engine that observes and writes PNG screenshots.fullPageneeds an engine that declares the newfullPageScreenshotscapability: the engine then receives{ fullPage, clip }inartifacts.screenshotandfullPagebesidepixelsinobserve, and reports where the viewport sits in full-page pixels asObservationPixels.scroll. The web and Electron engines declare it and mask secure fields across the whole page. On any other engine,fullPagefails withUNSUPPORTED_CAPABILITYbefore anything is captured. A locator'stoHaveScreenshottakes neither option.Summary by CodeRabbit