-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Playwright Utils: Simplify editor preference updates in createNewPost #51560
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice enhancement!
Size Change: 0 B Total Size: 1.4 MB ℹ️ View Unchanged
|
Flaky tests detected in 7f26278. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5287383235
|
What?
PR updates the
createNewPost
utility method to use thecore/preferences
store directly to set editor preference for the post editor.Why?
Removing extra steps to query settings first prevents the Welcome Guide from flashing in tests. This also matches the logic in
visitSiteEditor
.Testing Instructions
CI checks should pass as before 🤞