docs: release notes for v1.62#41940
Conversation
|
|
||
| - The HTML reporter gains a `mergeFiles` option to merge results from multiple files into a single grouped view. | ||
|
|
||
| ### 🛠️ Other improvements |
There was a problem hiding this comment.
I'd drop this whole section.
|
|
||
| - Docker images now split browser layers and use zstd compression for faster pulls. | ||
| - Video recording wraps frames with explicit Matroska timestamps for more accurate frame timing. | ||
|
|
There was a problem hiding this comment.
We should tell that Debian 11 is not supported anymore.
|
|
||
| #### Command line & MCP | ||
|
|
||
| - `npx playwright mcp` is now exposed, and `npx playwright cli` is unhidden. |
There was a problem hiding this comment.
I think this one should be a bit bigger, saying that playwright now bundles mcp and cli and link to the documenation of those.
| #### Command line & MCP | ||
|
|
||
| - `npx playwright mcp` is now exposed, and `npx playwright cli` is unhidden. | ||
| - The MCP server gains a `browser_find` tool to search the page snapshot. |
There was a problem hiding this comment.
I'd skip this and next one though.
|
|
||
| Providing a signal does not disable the default timeout; pass `timeout: 0` to disable it. | ||
|
|
||
| ### 🔑 WebAuthn credentials in storage state |
There was a problem hiding this comment.
This is minor, I'd put into under new APIs section, framing it as a new option BrowserContext.storageState.credentials.
|
|
||
| #### Screenshots | ||
|
|
||
| - Screenshots now support a `webp` output `type`. For WebP, quality `100` (the default) is lossless, while lower values use lossy compression. |
There was a problem hiding this comment.
I think this one deserves a highlight, featuring toHaveScreenshot().
|
|
||
| #### Reporters | ||
|
|
||
| - The HTML reporter gains a `mergeFiles` option to merge results from multiple files into a single grouped view. |
There was a problem hiding this comment.
we should clarify that this is a config option (as opposed to already existing ui one) and maybe include a config snippet?
|
|
||
| #### Screenshots | ||
|
|
||
| - Screenshots now support a `webp` output `type`. For WebP, quality `100` (the default) is lossless, while lower values use lossy compression. |
| import LiteYouTube from '@site/src/components/LiteYouTube'; | ||
|
|
||
| ## Version 1.62 | ||
|
|
There was a problem hiding this comment.
I think we need component testing update to go first
11da5ae to
c6364c8
Compare
|
|
||
| - New `scroll` option (`"auto"` | `"none"`) on actions to opt out of Playwright's automatic scroll-into-view. | ||
|
|
||
| #### Network |
There was a problem hiding this comment.
I don't see the new option added in #41294, also should we discuss it in the api review?
There was a problem hiding this comment.
ooo good catch! apologies for missing that
1f5a9e0 to
c273255
Compare
| snapshots are lossless like PNG, but noticeably smaller, which keeps your snapshot directory lean: | ||
|
|
||
| ```js | ||
| // Visual comparisons store the golden snapshot as lossless WebP (smaller than PNG). |
There was a problem hiding this comment.
| // Visual comparisons store the golden snapshot as lossless WebP (smaller than PNG). | |
| // Visual comparisons store the golden snapshot as lossless WebP. |
Dmitry was asking me to remove similar assertions from the docs, let the users decide if they need it.
|
|
||
| ### 🧱 New component testing model | ||
|
|
||
| Component testing moves to a **stories and galleries** model. A **story** wraps your component |
There was a problem hiding this comment.
We need a link to the guide. Also we should say more about the new approach not depending on the bundler integration and supporting more frameworks. I think it makes sense to also mention that this new api is stable (unlike previous experimental api that we want to drop).
0bcd067 to
0112ba9
Compare
0112ba9 to
53db670
Compare
Release notes for the upcoming **v1.62** release. ### Highlights - **New component testing model** — stories & galleries with the new `mount` fixture - **AbortSignal** support on operations and web-first assertions (`signal` option) - **WebP screenshots** — store `toHaveScreenshot()` snapshots as `.webp` - **`Reporter.preprocess()`** hook for custom test filtering - **Isolated retries** via `retryStrategy: 'isolated'` ### Also includes - New APIs: WebAuthn passkeys in storage state (`storageState.credentials`), `APIResponse.timing()`, `Locator.waitForFunction()`, functions as `evaluate`/`addInitScript` args, `scroll` action option - CLI/MCP: Playwright now bundles the MCP server and `playwright-cli` (`npx playwright mcp` / `npx playwright cli`) - HTML reporter `mergeFiles` config option - Announcement: Debian 11 is no longer supported - Browser versions: Chromium 151.0.7922.34, Firefox 153.0, WebKit 26.5 Validated locally with `npm run doc`.
Release notes for the upcoming v1.62 release.
Highlights
mountfixturesignaloption)toHaveScreenshot()snapshots as.webpReporter.preprocess()hook for custom test filteringretryStrategy: 'isolated'Also includes
storageState.credentials),APIResponse.timing(),Locator.waitForFunction(), functions asevaluate/addInitScriptargs,scrollaction optionplaywright-cli(npx playwright mcp/npx playwright cli)mergeFilesconfig optionValidated locally with
npm run doc.