Add end-to-end coverage for TinyMCE and side location meta boxes - #82199
Draft
ellatrix wants to merge 13 commits into
Draft
Add end-to-end coverage for TinyMCE and side location meta boxes#82199ellatrix wants to merge 13 commits into
ellatrix wants to merge 13 commits into
Conversation
Covers the two paths the iframe rendering relies on that no test exercised: TinyMCE content reaching the saved meta through the dispatched submit event, and the side location boxes rendering and saving from the settings sidebar iframe. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Size Change: 0 B Total Size: 7.91 MB |
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Flaky tests detected in 0fdd77c. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/33216380949 chevron opens and closes submenu on touch devices in
|
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?
Adds end-to-end coverage for the two meta box paths that #82198 relies on and no test exercised: TinyMCE content reaching the saved meta, and the side location boxes rendering and saving from the settings sidebar iframe.
Stacked on #82198.
Why?
sidelocation box.How?
A new
Meta box locationsdescribe block in the existing spec, using a newside-meta-box-demotest plugin with a variety of boxes in both locations. Each test waits for the meta boxPOSTbefore reloading, so saving is asserted deterministically.Testing Instructions
Use of AI Tools
Written with the assistance of Claude Code, reviewed and tested by hand.