Repository navigation
Fix Playwright install on Ubuntu 26.04 runners in the E2E workflow - #590
Merged
Merged
Conversation
The E2E workflow runs on `ubuntu-latest` and installs Chromium with
`npx playwright install --with-deps chromium`. The lockfile pinned
Playwright 1.54.2.
`ubuntu-latest` now resolves to the `ubuntu-26.04` image. Playwright
1.54.2 does not know that release, so the install step exits with
"Playwright does not support chromium on ubuntu26.04-x64" and all four
E2E jobs fail before any test runs. The last passing run, on
2026-11-04, still got `ubuntu-24.04`.
Bump `@playwright/test` to 1.61.1. Playwright 1.61.0 is the first
release that supports Ubuntu 26.04 ("Playwright now supports Ubuntu
26.04" in its release notes), and 1.61.1 is its latest patch. Chromium
moves from 139 to 149.
Stop at 1.61 on purpose. 1.64 changes how device descriptors and
elements inside hidden iframes behave, and 1.65 is no longer tested on
Node.js 20, which `.nvmrc` still selects. Going further belongs with a
Node.js bump.
Only `package.json` and `package-lock.json` change, and only the three
Playwright packages move in the lockfile.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
This is linked to GitHub issue #591. |
Test the buildWordPress Playground - runs in your browser
ℹ️ Neither can connect to Square: signing in to Square has to send you back to the site, and a site that runs in your browser tab has no public address to come back to. Without a connection the store cannot take payments, sync products or receive webhooks, so the previews show what a merchant sees before connecting. Do not enter Square access tokens or other credentials in a preview. The links stop working 14 days after the last build. Build info:
Note: the build is updated when a new commit is pushed to this PR. |
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
"Gift card recipient email" in `b8.gift-card-product.spec.js` opened the first row of the Email Log and expected the gift card email there. Buying a gift card sends three emails: the customer's order email, the admin's new order email and the recipient's gift card email. The Email Log sorts by sent time only. When all three are logged in the same second, the gift card email is not first, the test opens an order email, and it fails on every retry because the log does not change. That happened on the first E2E run on Ubuntu 26.04 runners: the three emails shared one timestamp and the gift card email was third. Pick the row by its subject instead, as the same check in `d5.cash-app-pay-gift-card-product.spec.js` already does. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All Submissions:
Changes proposed in this Pull Request:
The four E2E jobs fail at "Install playwright" since
ubuntu-latestmoved to Ubuntu 26.04, which Playwright 1.54.2 does not support ("Playwright does not support chromium on ubuntu26.04-x64"). This bumps@playwright/testto 1.61.1 and no further: 1.61.0 is the first release that supports Ubuntu 26.04, 1.64 changes iframe visibility, and 1.65 is no longer tested on Node.js 20, which.nvmrcselects.It also fixes "Gift card recipient email" in
b8.gift-card-product.spec.js, which opened the first Email Log row and failed when that row was not the gift card email. The test now picks the row by subject, asd5.cash-app-pay-gift-card-product.spec.jsdoes.Steps to test the changes in this Pull Request:
Changelog entry
🤖 Generated with Claude Code
Closes #591