[wp-trac] [WordPress Trac] #62808: Puppeteer tests in old branches failing
WordPress Trac
noreply at wordpress.org
Wed Jan 15 19:55:20 UTC 2025
#62808: Puppeteer tests in old branches failing
------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by desrosj):
This is confirmed to be happening as a result of the `ubuntu-24` upgrade.
It seems that some level of updating Puppeteer/Qunit will fix the issue in
the 6.0 branch. However, this would require a handful of other
compatibility backports for the older branches as well. Those are also
hamstrung by the fact that these older branches run Node.js 14.x.
Either update route is not ideal.
@swissspidy shared that he recently fixed this with a
[https://github.com/GoogleForCreators/web-stories-
wp/blob/49308fd38a362578bae06a6b4f671e2b0c70a5d5/.github/workflows/tests-
e2e.yml#L196-L199 GitHub Actions step]. I've spot tested that in a few
branches, and it fixes the tests for the 4.1, 5.4, and 6.0 branches. The
attached PR to `trunk` adds an input to the workflow and only runs that
new step if `true` is passed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62808#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list