Post Content focus mode: Fix flaky e2e test#78084
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: 7.92 MB ℹ️ View Unchanged
|
talldan
left a comment
There was a problem hiding this comment.
Worth trying, and hopefully it fixes things 🤞
|
Flaky tests detected in 3117f7b. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/25542192953
|
What?
Closes #77720.
PR tries to fix the flaky "Post Content focus mode" e2e test by moving
resetPreferencesto a top-levelbeforeEachand dropping the innerafterEach. This should cover most gaps, andafterAllhandles test cleanup.Based on the flaky test trace, every failure case started with "Show Template" enabled, which failed to insert a paragraph block.
Testing Instructions
CI checks pass.