Repository navigation
Repair wp/5.9 branch Actions: Set user fields directly in the createUser() e2e utility - #681
Closed
desrosj wants to merge 1 commit into
Conversation
desrosj
added this pull request to stack #668
October 8, 2026 03:20
desrosj
force-pushed
the
fix-actions-5.9/fix-create-user-field-typing
branch
from
October 8, 2026 18:17
ce09202 to
a9da226
Compare
…etimes fails to enter full details (WordPress#37469)
desrosj
removed this pull request from stack #668
October 8, 2026 19:35
desrosj
force-pushed
the
fix-actions-5.9/fix-create-user-field-typing
branch
from
October 8, 2026 19:35
a9da226 to
771c1cf
Compare
desrosj
added this pull request to stack #695
October 8, 2026 19:35
desrosj
marked this pull request as ready for review
October 9, 2026 16:40
|
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. |
Owner
Author
|
Moved to WordPress#84425. |
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.
What?
Backports WordPress#37469 (WordPress@3ffbbd0) to
wp/5.9. ThecreateUser()e2e utility (packages/e2e-test-utils/src/create-user.js) now sets the user login, email, first name and last name fields onuser-new.phpwithpage.$eval()instead of typing them withpage.type().Why?
page.type()enters one character at a time, and focus sometimes leaves the field before it finishes, so the user is created with a truncated login or without a first or last name. Theautocomplete mentionstests create theirtestuser("Jane Doe") user once inbeforeAll, so retries can't recover, and they fail in two ways on this branch:@testus.should insert mention between two other wordsandshould insert two subsequent mentionstime out waiting for.components-autocomplete__result, because nothing matches@j(both failed on every attempt in https://github.com/desrosj/gutenberg/actions/runs/37718246276/job/113119651984, "Admin - 4").Across 36
Admin - 4jobs on this stack between 2026-10-06 and 2026-10-08, the mentions tests failed in 13.wp/6.0and newer already include WordPress#37469.How?
A straight cherry-pick of the trunk commit. It applied cleanly.
Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
🤖 Generated with Claude Code