[wp-trac] [WordPress Trac] #60971: Ensure Gutenberg Plugin e2e Tests only run on WP versions supported by Gutenberg
WordPress Trac
noreply at wordpress.org
Fri Apr 26 13:03:03 UTC 2024
#60971: Ensure Gutenberg Plugin e2e Tests only run on WP versions supported by
Gutenberg
-------------------------------------------------+-------------------------
Reporter: jorbin | Owner: Bernhard
| Reiter
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests fixed- | Focuses:
major dev-feedback |
-------------------------------------------------+-------------------------
Comment (by Bernhard Reiter):
In [changeset:"58047" 58047]:
{{{
#!CommitTicketReference repository="" revision="58047"
Tests: Remove Gutenberg plugin activation e2e test.
The purpose of `tests/e2e/specs/gutenberg-plugin.test.js` is to ensure
that running the Gutenberg plugin (stable version) on a WordPress `trunk`
install doesn't produce any fatals.
The test was introduced in [54913], i.e. it has been around since WP 6.2.
It makes sense to have it present on older branches, as the Gutenberg
plugin not only supports `trunk`, but also the current stable version of
WordPress (i.e. currently 6.5), and one version below (6.4). However, it
is not expected to work on any earlier versions beyond that; in practice,
it has produced errors on some of those.
Additionally, the test was migrated from Puppeteer to Playwright after WP
6.3, so it's not possible to simply backport [58046] (which would skip the
test from running on outdated WP versions) to the 6.3 branch.
As a consequence, it makes most sense to remove the test from the 6.3
branch altogether, as has already been done for 6.2.
Follow-up to [57972].
Props jorbin, johnbillion, swissspidy.
See #60971.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60971#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list