Skip to content

Repair wp/5.7 branch Actions: Use the Outline dropdown in the Site Editor save flow e2e test - #696

Closed
desrosj wants to merge 1 commit into
fix-actions-5.7/pin-tt1-blocks-themefrom
fix-actions-5.7/fix-site-editor-save-flow-outline-button
Closed

desrosj wants to merge 1 commit into
fix-actions-5.7/pin-tt1-blocks-themefrom
fix-actions-5.7/fix-site-editor-save-flow-outline-button

Conversation

@desrosj

@desrosj desrosj commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

What?

Updates the Site Editor "Save flow should work as expected" end-to-end test in packages/e2e-tests/specs/experiments/multi-entity-saving.test.js to select the header template part through Gutenberg 9.9's "Outline" block navigation dropdown.

Why?

The test step came to wp/5.7 with the backport of WordPress#29920 (WordPress@6627d6a) in WordPress#30528. On trunk, that PR changed the test to select the template part from the List View sidebar, because clicking the block itself could hit the inserter between the template part's columns. wp/5.7 is Gutenberg 9.9, which has no List View sidebar: its block list is a dropdown under a toolbar button labelled "Outline". The test waits for button[aria-label="List View"], which never appears, so it fails on every run (Admin - 4, https://github.com/desrosj/gutenberg/actions/runs/37833047536).

The product change from WordPress#29920 is still correct for this branch: the double inserter it fixes came from WordPress#28418, which is in Gutenberg 9.9.

How?

  • Click button[aria-label="Outline"] instead of button[aria-label="List View"], as the other 5.7 tests do (columns.test.js, block-hierarchy-navigation.test.js, reusable-blocks.test.js).
  • Select "Header" with the same block navigation selector. The dropdown closes when a block is selected, so the step that clicked "Close list view sidebar" is removed.
  • Wait for that click before inserting the paragraph.
  • Expect the Using custom components as toolbar controls is deprecated warning, as the earlier test in this file already does. Selecting the template part shows its block toolbar, whose text field Gutenberg 9.9 still renders as a custom toolbar control, so the console check after the test otherwise fails (Admin - 4, https://github.com/desrosj/gutenberg/actions/runs/37983431197).

Only wp/5.7 is affected: wp/5.8 and wp/5.9 have the List View sidebar, and the wp/5.6 and wp/5.5 versions of this test don't use it.

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

@desrosj desrosj self-assigned this Oct 8, 2026
@desrosj
desrosj added this pull request to stack #693 October 8, 2026 21:34
@desrosj
desrosj marked this pull request as ready for review October 8, 2026 21:36
@github-actions

github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: desrosj <desrosj@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@desrosj
desrosj removed this pull request from stack #693 October 9, 2026 14:02
@desrosj
desrosj added this pull request to stack #710 October 9, 2026 14:03
@desrosj
desrosj removed this pull request from stack #710 October 9, 2026 14:46
@desrosj
desrosj added this pull request to stack #714 October 9, 2026 14:48
@desrosj
desrosj removed this pull request from stack #714 October 9, 2026 15:13
@desrosj
desrosj added this pull request to stack #717 October 9, 2026 15:13
@desrosj
desrosj removed this pull request from stack #717 October 9, 2026 19:50
@desrosj
desrosj changed the base branch from fix-actions-5.7/pin-tt1-blocks-theme to wp/5.7 October 9, 2026 19:51
@desrosj
desrosj force-pushed the fix-actions-5.7/fix-site-editor-save-flow-outline-button branch from 5a9b08c to 433eed0 Compare October 9, 2026 19:53
@desrosj
desrosj changed the base branch from wp/5.7 to fix-actions-5.7/pin-tt1-blocks-theme October 9, 2026 19:55
@desrosj
desrosj added this pull request to stack #719 October 9, 2026 19:55
@desrosj
desrosj force-pushed the fix-actions-5.7/fix-site-editor-save-flow-outline-button branch from 433eed0 to 93f8cd6 Compare October 13, 2026 02:41
@desrosj

desrosj commented Oct 15, 2026

Copy link
Copy Markdown
Owner Author

Moved to WordPress#84790.

@desrosj desrosj closed this Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant