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 updates our Playwright dependencies to the latest compatible versions to improve browser installation reliability and maintain compatibility with newer GitHub Actions environments.
Changes
Update @playwright/test to the latest compatible version.
Update playwright to the corresponding version.
Regenerate package-lock.json.
Verify Chromium browser installation in GitHub Actions.
Motivation
Our E2E GitHub Actions workflow has been timing out during Playwright browser installation.
The Chromium download completes successfully, but the installation appears to hang immediately afterward:
Updated the project’s development and browser-testing tools to newer versions. These changes affect the tools used during development and testing; they do not change the application’s user-facing features or behavior. No other user-visible changes are included in this update.
Merge Risk: Minimal · up to 472d5 · assessed changes only
Path filters excluded changed files. This rating applies only to the assessed changes.
Pre-merge checks: 3 · 1
Failed checks: 1 inconclusive
Check name
Status
Explanation
Resolution
Linked Issues check
[#3794] Reviewable code change: package.json updates @playwright/test from ^1.49.1 to ^1.65.1 and adds playwright at ^1.65.1. This meets the proposed dependency update item. Two acceptance criteria ca…
Provide evidence that package-lock.json resolves @playwright/test and playwright to the versions in package.json. Provide a passing GitHub Actions run that shows Chromium installation completes, and a passing E2E run across the supported PH…
Passed checks: 3 passed
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Update Playwright to 1.65.1" matches the main change. The package.json diff updates @playwright/test from ^1.49.1 to ^1.65.1 and adds playwright at ^1.65.1. The title names the tool and the…
Out of Scope Changes check
The reviewable change is limited to package.json (+2/-1). It changes only the Playwright dependency declarations named in #3794. No unrelated files or code paths appear in the summary. package-lock.js…
Full details: Title check
Explanation
The title "Update Playwright to 1.65.1" matches the main change. The package.json diff updates @playwright/test from ^1.49.1 to ^1.65.1 and adds playwright at ^1.65.1. The title names the tool and the target version, so a reviewer scanning history can identify the primary change.
Full details: Out of Scope Changes check
Explanation
The reviewable change is limited to package.json (+2/-1). It changes only the Playwright dependency declarations named in #3794. No unrelated files or code paths appear in the summary. package-lock.json is excluded from review. It is a generated artifact that follows from the dependency change, so its exclusion does not affect this scope verdict. No change lacks a connection to the linked issue.
Full details: Linked Issues check
Explanation
[#3794] Reviewable code change: package.json updates @playwright/test from ^1.49.1 to ^1.65.1 and adds playwright at ^1.65.1. This meets the proposed dependency update item. Two acceptance criteria cannot be established from the reviewed evidence. (1) Regenerated package-lock.json: this file is in ignored_files (excluded by rule !**/package-lock.json). Its content cannot be inspected, so the lockfile regeneration and its alignment with package.json are unverified. (2) Chromium installs on GitHub Actions without timing out, and existing E2E tests pass across the PHP and WordPress matrix: the PR description lists these as unchecked. No CI result is supplied. The review of browser caching is a proposed item, not an acceptance criterion, so it is not assessed. The local E2E regression criterion has no supporting evidence in the diff.
Resolution
Provide evidence that package-lock.json resolves @playwright/test and playwright to the versions in package.json. Provide a passing GitHub Actions run that shows Chromium installation completes, and a passing E2E run across the supported PHP and WordPress combinations. Alternatively, provide a local E2E run that shows no regression.
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
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: d473b0b2-b689-48fd-82e1-a02bf2175f05
Commits
Reviewing files that changed from the base of the PR and between 3aba261 and 472d5a0.
Files ignored due to path filters: 1
package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 1
package.json
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 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.
Summary
This PR updates our Playwright dependencies to the latest compatible versions to improve browser installation reliability and maintain compatibility with newer GitHub Actions environments.
Changes
Motivation
Our E2E GitHub Actions workflow has been timing out during Playwright browser installation.
The Chromium download completes successfully, but the installation appears to hang immediately afterward:
We also tested pinning the workflow to Ubuntu 24.04 and Node.js 22, but the timeout persisted.
Updating Playwright should help address potential compatibility issues with the existing browser installation process.
Testing
Related Issue
Closes #3794
Summary by CodeRabbit