Repository navigation
Testing: Remove e2e-test-utils package and deprecated test configuration - #72880
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 2.45 MB ℹ️ View Unchanged
|
I decided to lump in this change with 35abb82 because it looks like the dependency isn't actually used in |
|
Thanks for working on this, @aduth! Love all the red in this PR. How would this affect projects using this legacy utils package? I'm guessing they'll still be able to use the last published version. Is that correct? |
Good question! The packages that are already published would be unaffected, so someone currently using it will be able to continue using it. The change here is that we'd no longer maintain or publish new versions, although even that is something we could change our mind and revisit in the future (less likely for this package, but moreso as a general practice for deprecating packages). One possible action item we might consider is formally deprecating the package, so that someone installing the package would see a notice in their terminal. I'm not sure we need to be quite so "in your face" about it if the package is working fine for someone though. |
manzoorwanijk
left a comment
There was a problem hiding this comment.
There is no better feeling than removing code when it's no longer needed 😄
|
Yes, we can mark the npm package as deprepacted but it will still be downloadable. |
35abb82 to
50a770a
Compare
|
Flaky tests detected in 8307262. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/19079413457
|
50a770a to
e5cef0b
Compare
|
Are we deprecating the package officially in npm? |
I think we can, maybe with a message like "This package has been deprecated in favor of Unless someone objects, I'll do this tomorrow. |
|
Isn't there a command in npm that does this automatically? |
|
I'm not sure what you mean by "automatically", but the |
|
Apparently I had myself removed or was otherwise removed from the NPM organization. Someone with permissions want to run the command instead? |
|
I got this any idea |
|
Huh, that was the same error I got, but I figured it was because I wasn't an owner according to |
|
@aduth It looks like I was not logged in properly in the console. It did work now. Thanks Andrew for the pointers. |

What?
Related to #38851
Removes all package code and documentation references related to the legacy end-to-end test setup:
packages/e2e-test-utilspackages/e2e-testsaside from plugins still referenced in current end-to-end testsWhy?
form-datawith a critical security vulnerability, though the actual risk is pretty low. This dependency will be fully removed in a separate pull request.Testing Instructions
Verify that end-to-end tests still pass.