Skip to content

chore(deps): update dependency @playwright/test to v1.61.1#486

Open
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/playwright
Open

chore(deps): update dependency @playwright/test to v1.61.1#486
renovate[bot] wants to merge 2 commits into
mainfrom
renovate/playwright

Conversation

@renovate

@renovate renovate Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@playwright/test (source) 1.60.01.61.1 age confidence

Release Notes

microsoft/playwright (@​playwright/test)

v1.61.1

Compare Source

v1.61.0

Compare Source

🔑 WebAuthn passkeys

New Credentials virtual authenticator, available via browserContext.credentials, lets tests register passkeys and answer navigator.credentials.create() / navigator.credentials.get() ceremonies in the page — no real hardware key required, works in all browsers:

const context = await browser.newContext();

// Seed a passkey your backend provisioned for a test user.
await context.credentials.create('example.com', {
  id: credentialId,
  userHandle,
  privateKey,
  publicKey,
});
await context.credentials.install();

const page = await context.newPage();
await page.goto('https://example.com/login');
// The page's navigator.credentials.get() is answered with the seeded passkey.

You can also let the app register a passkey once in a setup test, read it back with credentials.get(), and seed it into later tests — see Credentials for details.

🗃️ Web Storage

New WebStorage API, available via page.localStorage and page.sessionStorage, reads and writes the page's storage for the current origin:

await page.localStorage.setItem('token', 'abc');
const token = await page.localStorage.getItem('token');
const items = await page.sessionStorage.items();
New APIs
Network
Browser and Screencast
  • New option artifactsDir in browserType.connectOverCDP() controls where artifacts such as traces and downloads are stored when attached to an existing browser.
  • New option cursor in screencast.showActions() controls the cursor decoration rendered for pointer actions.
  • The onFrame callback in screencast.start() now receives a timestamp of when the frame was presented by the browser.
Test runner
  • The testOptions.video option now supports the same set of modes as trace: new 'on-all-retries', 'retain-on-first-failure' and 'retain-on-failure-and-retries' values. See the video modes table for which runs are recorded and kept in each mode.
  • Supported expect.soft.poll(...).
  • New fullConfig.argv — a snapshot of process.argv from the runner process, handy for reading custom arguments passed after the -- separator.
  • New fullConfig.failOnFlakyTests mirrors the config option, so reporters can explain why a flaky run failed.
  • testInfo.errors now lists each sub-error of an AggregateError as a separate entry.
  • New -G command line shorthand for --grep-invert.
🛠️ Other improvements
  • Playwright now supports Ubuntu 26.04.
  • HAR and trace recordings now include WebSocket requests.
Browser Versions
  • Chromium 149.0.7827.55
  • Mozilla Firefox 151.0
  • WebKit 26.5

This version was also tested against the following stable channels:

  • Google Chrome 149
  • Microsoft Edge 149

Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

🔧 Changed

  • Bumped @playwright/test in e2e/package.json from 1.60.0 to 1.61.1.

  • Updated the Playwright runner image pin in .github/workflows/e2e-playwright.yml to mcr.microsoft.com/playwright:v1.61.1-noble with the matching SHA256 digest.

  • Verify the new Playwright image digest is correct and still available in the registry.

  • Confirm the e2e workflow version guard now matches the updated test package version.

@renovate renovate Bot requested a review from scttbnsn as a code owner July 6, 2026 04:23
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jul 6, 2026
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
drydock-website Ready Ready Preview, Comment Jul 6, 2026 3:03pm
drydockdemo-website Ready Ready Preview, Comment Jul 6, 2026 3:03pm

@renovate renovate Bot force-pushed the renovate/playwright branch from dcf92ca to 68af428 Compare July 6, 2026 14:36
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

@playwright/test in e2e/package.json was updated from 1.60.0 to 1.61.1, and .github/workflows/e2e-playwright.yml now pins the Playwright container image to v1.61.1-noble with a new SHA256 digest. No other scripts, workflow steps, or config entries changed.

Changes

File Change
e2e/package.json @playwright/test 1.60.0 → 1.61.1
.github/workflows/e2e-playwright.yml PLAYWRIGHT_IMAGE pin updated to v1.61.1-noble digest

Sequence Diagram(s)

Not applicable.

Related Issues: None specified.

Related PRs: None specified.

Suggested labels: dependencies, e2e

Suggested reviewers: None specified.

Poem
One version moved, two pins aligned,
same Playwright release, same build combined.

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/playwright

Comment @coderabbitai help to get the list of available commands.

…est 1.61.1

PLAYWRIGHT_IMAGE was still pinned to v1.60.0-noble while Renovate bumped
e2e/package.json's @playwright/test to 1.61.1, tripping the version-match
guard in e2e-playwright.yml. Bumped the tag and its sha256 digest (resolved
via docker buildx imagetools inspect) to v1.61.1-noble.

renovate.json already groups @playwright/test and mcr.microsoft.com/playwright
via a matching packageRule + customManager (added in ca65eb1, migrated to
managerFilePatterns in 0647749), so no config change was made there — this
appears to be a one-off miss on the first live run since the migration
rather than a config gap.
@renovate

renovate Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/e2e-playwright.yml:
- Around line 89-91: The comment above the PLAYWRIGHT_IMAGE pin is stale because
it still references the old v1.60.0-noble tag while the image is now pinned to
v1.61.1-noble. Update the explanatory comment in the e2e-playwright workflow to
match the current digest-pinned Playwright image tag so the note accurately
reflects the value used in the workflow.
- Line 91: The PLAYWRIGHT_IMAGE value in the e2e Playwright workflow is pinned
to an image that brings in a Node runtime regression and can break npm ci /
Playwright install before tests start. Update the PLAYWRIGHT_IMAGE reference in
the workflow to a newer Playwright container tag or digest that includes the
fixed Node version, keeping the image pinned to a specific known-good release.
Ensure the change is made in the e2e-playwright workflow entry that defines
PLAYWRIGHT_IMAGE.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cd021ee8-e6e2-4545-b267-d95e4dcb15f9

📥 Commits

Reviewing files that changed from the base of the PR and between 68af428 and 6776c65.

📒 Files selected for processing (1)
  • .github/workflows/e2e-playwright.yml

Comment on lines 89 to +91
# Pinned by digest as well as tag so a mutated/republished :v1.60.0-noble
# tag cannot silently change the image we pull and run.
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.60.0-noble@sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.61.1-noble@sha256:5b8f294aff9041b7191c34a4bab3ac270157a28774d4b0660e9743297b697e48

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Stale comment still references old tag.

Line 89 comment says "a mutated/republished :v1.60.0-noble tag" but the pin was bumped to v1.61.1-noble. Update the comment to match the new tag.

diff
-      # Pinned by digest as well as tag so a mutated/republished :v1.60.0-noble
+      # Pinned by digest as well as tag so a mutated/republished :v1.61.1-noble
       # tag cannot silently change the image we pull and run.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# Pinned by digest as well as tag so a mutated/republished :v1.60.0-noble
# tag cannot silently change the image we pull and run.
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.60.0-noble@sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.61.1-noble@sha256:5b8f294aff9041b7191c34a4bab3ac270157a28774d4b0660e9743297b697e48
# Pinned by digest as well as tag so a mutated/republished :v1.61.1-noble
# tag cannot silently change the image we pull and run.
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.61.1-noble@sha256:5b8f294aff9041b7191c34a4bab3ac270157a28774d4b0660e9743297b697e48
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/e2e-playwright.yml around lines 89 - 91, The comment above
the PLAYWRIGHT_IMAGE pin is stale because it still references the old
v1.60.0-noble tag while the image is now pinned to v1.61.1-noble. Update the
explanatory comment in the e2e-playwright workflow to match the current
digest-pinned Playwright image tag so the note accurately reflects the value
used in the workflow.

# Pinned by digest as well as tag so a mutated/republished :v1.60.0-noble
# tag cannot silently change the image we pull and run.
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.60.0-noble@sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948
PLAYWRIGHT_IMAGE: mcr.microsoft.com/playwright:v1.61.1-noble@sha256:5b8f294aff9041b7191c34a4bab3ac270157a28774d4b0660e9743297b697e48

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

microsoft/playwright issue ERR_STREAM_PREMATURE_CLOSE v1.61.1 fixed

💡 Result:

The ERR_STREAM_PREMATURE_CLOSE error is generally a Node.js runtime exception rather than a specific issue within Playwright v1.61.1 [1][2]. Technical context: 1. Origin of Error: This error occurs when a stream is closed before it has fully completed, commonly triggered in Node.js environments when a client disconnects during an active response or data transfer [1]. It has been observed appearing in Node.js versions 24.9–24.17 and 26.x [2]. 2. Playwright v1.61.1: Playwright v1.61.1 does not contain a specific fix for an internal ERR_STREAM_PREMATURE_CLOSE issue [3][4]. In fact, recent community reports indicate that users may encounter this error in Playwright environments if they are running specific, affected versions of Node.js (e.g., Node 24.17.0) within their Docker images or local setups [5]. 3. Recommended Resolution: If you are encountering this error, it is typically addressed by investigating the Node.js version in your environment or by implementing error handling (e.g., a try/catch block around the streaming pipeline) in the code consuming the streams, as the error often reflects a client-side disconnect rather than a defect in the Playwright library itself [1][5]. If you are seeing this consistently in CI, check if your Node.js runtime has been updated to one of the versions known to be affected by this stream handling behavior [5][2].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the workflow around the pinned Playwright image and the steps that use it.
git ls-files .github/workflows/e2e-playwright.yml
echo '---'
cat -n .github/workflows/e2e-playwright.yml | sed -n '1,220p'

Repository: CodesWhat/drydock

Length of output: 10485


🌐 Web query:

Playwright v1.61.1 noble Node 24.17.0 ERR_STREAM_PREMATURE_CLOSE image release notes

💡 Result:

Playwright version 1.61.1 was released on June 23, 2026 [1][2]. The release contains several bug fixes and internal improvements but does not specifically mention a dedicated "noble" image or a direct fix for ERR_STREAM_PREMATURE_CLOSE in its primary release notes [3][1]. Regarding your query elements: Playwright v1.61.1 Release Notes: The release primarily focused on bug fixes, including resolutions for: - Expect.Extend matcher issues [1][2]. - Playwright UI mode reporting incorrect byte counts in apiRequestContext [1][2]. - Trace viewer websocket message timestamp scaling errors [1][2]. - Regression fixes for sync loaders on certain Node.js versions and ESM loader resolution for subpath imports [1][2]. Node 24.17.0: While you mentioned Node 24.17.0, it is not explicitly listed as a new dependency or fix in the v1.61.1 release notes [3]. However, dependency management tools often report updates to Playwright v1.61.1 alongside updates to Node.js environments (e.g., 24.x) in CI configurations [4][5]. Noble/Docker Image: The v1.61.1 commit history shows the addition of support for Ubuntu 26.04 (Resolute Raccoon) in the Docker image [3]. If "noble" refers to a specific environment or container label, please note that Playwright's official Docker images are regularly updated to support new Ubuntu releases, and this version added support for the 26.04 release [3]. ERR_STREAM_PREMATURE_CLOSE: This error is a standard Node.js stream error that occurs when a readable stream is destroyed before the stream has finished [6]. It is not a Playwright-specific bug, though it can appear in Playwright test logs when a browser or client disconnects unexpectedly during a request or stream [6][7]. If you are encountering this in your CI environment, it often indicates that a network request or browser session was terminated mid-process [6]. It is typically handled in application code by wrapping stream operations in error handlers to ignore this specific error if the closure is expected [6].

Citations:


🌐 Web query:

site:github.com/microsoft/playwright "v1.61.1-noble" "Node 24.17.0" "ERR_STREAM_PREMATURE_CLOSE"

💡 Result:

The error ERR_STREAM_PREMATURE_CLOSE reported in Playwright Docker images using Node.js 24.17.0 is a known issue associated with a regression in Node.js, specifically affecting operations involving stream handling and zip extraction (such as when running playwright install) [1][2]. Context and Details: - The issue was identified in June 2026, specifically affecting Node.js 24.17.0 within the Playwright v1.61.1-noble Docker environment [1]. - This behavior is linked to broader instability in Node.js 24.16.0+ regarding stream lifecycles, which previously caused processes to hang or throw premature close errors in tools utilizing libraries like extract-zip and yauzl [3][2]. - While Playwright implemented internal fixes to mitigate stream-related issues in earlier versions (such as in PR #40924) [3], the introduction of Node.js 24.17.0 reintroduced regressions that caused the ERR_STREAM_PREMATURE_CLOSE error during browser installation or other stream-heavy tasks [1]. To resolve or work around this, users have been advised to check for updated Playwright Docker images that address the Node.js environment or to use a compatible, stable version of Node.js if the current release remains broken for their specific use case [1][2]. Users are encouraged to monitor the official Playwright GitHub repository for patches addressing this specific Node.js regression [1].

Citations:


Pin a fixed Playwright image. v1.61.1-noble pulls the Node 24.17.0 runtime that can hit ERR_STREAM_PREMATURE_CLOSE in the containerized npm ci / Playwright install path, so this can fail before the tests start. Move to a Playwright image with the Node regression fixed.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/e2e-playwright.yml at line 91, The PLAYWRIGHT_IMAGE value
in the e2e Playwright workflow is pinned to an image that brings in a Node
runtime regression and can break npm ci / Playwright install before tests start.
Update the PLAYWRIGHT_IMAGE reference in the workflow to a newer Playwright
container tag or digest that includes the fixed Node version, keeping the image
pinned to a specific known-good release. Ensure the change is made in the
e2e-playwright workflow entry that defines PLAYWRIGHT_IMAGE.

scttbnsn added a commit that referenced this pull request Jul 6, 2026
Ports renovate/playwright 68af428 + our follow-up fix 6776c65
bumping PLAYWRIGHT_IMAGE to v1.61.1-noble with its verified digest.
Reconciled with #479's action-SHA bump on the same workflow file so
both changes hold.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant