Skip to content

Block Bindings: Add e2e coverage for innerBlocks bindings - #79852

Closed
cbravobernal wants to merge 2 commits into
add/61225-innerblocks-bindings-editorfrom
add/61225-innerblocks-bindings
Closed

cbravobernal wants to merge 2 commits into
add/61225-innerblocks-bindings-editorfrom
add/61225-innerblocks-bindings

Conversation

@cbravobernal

@cbravobernal cbravobernal commented Jul 3, 2026 •

Copy link
Copy Markdown
Contributor

What?

Adds focused browser coverage for the Gutenberg-only experimental innerBlocks binding stack.

The test fixture provides one editable generic source. Two scenarios verify:

  • editor edit plus an Enter-created sibling → source write-back → saved frontend rendering, while serialized fallback children remain in post content;
  • absence falls back and an empty string remains intentionally empty in both editor and frontend.

The suite explicitly enables the Inner block bindings for synced patterns experiment for its duration and resets it afterward.

Scope

This is deliberately behavioral coverage for the supported first slice in #79939 and #79940: one editable source and one ordinary, otherwise-uncontrolled InnerBlocks area. It does not claim coverage for core/html, caller-controlled or multiple-area hosts, initially empty static hosts with nonempty source values, read-only sources, structural recursion, or complex detach/rebind/history cases. The structural-slot cases require a separate HTML API design before they can be supported.

Stack: #79855 → #79939 → #79940 → this PR.

Test

npm run test:e2e -- test/e2e/specs/editor/various/block-bindings/inner-blocks.spec.js

@github-actions

github-actions Bot commented Jul 3, 2026 •

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 7.71 MB

compressed-size-action

@github-actions

github-actions Bot commented Jul 6, 2026 •

Copy link
Copy Markdown

Flaky tests detected in 56ebf88.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/29109386110
📝 Reported issues:

@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch 2 times, most recently from e618075 to 53f1693 Compare July 6, 2026 15:16
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch 2 times, most recently from caacf96 to 98269a6 Compare July 7, 2026 12:58
@cbravobernal cbravobernal changed the title Block Bindings: Support binding to innerBlocks (generic mechanism) Block Bindings: Add e2e coverage for innerBlocks bindings Jul 7, 2026
@cbravobernal
cbravobernal changed the base branch from trunk to add/61225-innerblocks-bindings-editor July 7, 2026 12:58
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from 98269a6 to e50cd72 Compare July 7, 2026 14:17
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from c1807af to 387f20f Compare July 7, 2026 14:17
@github-actions github-actions Bot removed [Package] Blocks /packages/blocks [Package] Block editor /packages/block-editor labels Jul 7, 2026
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from 387f20f to ceac956 Compare July 7, 2026 21:05
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch 2 times, most recently from 5b9e0b7 to bb9b04e Compare July 7, 2026 21:07
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch 4 times, most recently from 51b972a to 1e62fca Compare July 9, 2026 12:31
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch 3 times, most recently from b5f2bdb to 4d2816e Compare July 10, 2026 15:15
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from 17c1e49 to 1beb375 Compare July 10, 2026 15:15
@github-actions github-actions Bot removed [Package] Blocks /packages/blocks [Package] Block editor /packages/block-editor labels Jul 10, 2026
@cbravobernal cbravobernal added the No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core label Jul 10, 2026 — with ChatGPT Codex Connector
@github-actions

Copy link
Copy Markdown

Warning: Type of PR label mismatch

To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.

  • Required label: Any label starting with [Type].
  • Labels found: No Core Sync Required.

Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task.

@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from 4d2816e to 53d88ec Compare July 10, 2026 15:23
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from 1beb375 to ff49d7e Compare July 10, 2026 15:24
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from 53d88ec to 37e4ffe Compare July 10, 2026 16:08
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from ff49d7e to 0b2ca68 Compare July 10, 2026 16:08
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from 37e4ffe to 37f32ef Compare July 10, 2026 16:26
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from 0b2ca68 to be794cf Compare July 10, 2026 16:26
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from 37f32ef to 0daebe6 Compare July 10, 2026 16:59
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from be794cf to 56ebf88 Compare July 10, 2026 16:59
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from 0daebe6 to ed38452 Compare July 10, 2026 21:54
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch 2 times, most recently from 650df90 to 9e61fa0 Compare July 10, 2026 22:03
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch from ed38452 to 5909314 Compare July 10, 2026 22:03
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from 9e61fa0 to 59ffb48 Compare July 12, 2026 22:12
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings-editor branch 4 times, most recently from 4e8a326 to c3e9eb1 Compare July 13, 2026 11:45
@cbravobernal
cbravobernal force-pushed the add/61225-innerblocks-bindings branch from 59ffb48 to 273fd5c Compare July 13, 2026 15:15
@cbravobernal

Copy link
Copy Markdown
Contributor Author

Closing in favor of #85568, which renders innerBlocks bindings on the server behind the gutenberg-inner-blocks-bindings experiment. The editor part will come in a follow-up PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

No Core Sync Required Indicates that any changes do not need to be synced to WordPress Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant