-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Adds focus management test for entity undo #49236
Conversation
Size Change: +1.54 kB (0%) Total Size: 1.34 MB
ℹ️ View Unchanged
|
… existing template part grouping
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.
Thanks for applying feedback. Unfortunately I left some more nits.
I cannot get this to run/pass locally but I think this is due to my local env.
Flaky tests detected in 7086ad7. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4510824330
|
Co-authored-by: Dave Smith <444434+getdave@users.noreply.github.com> Co-authored-by: Kai Hao <7753001+kevin940726@users.noreply.github.com>
@getdave this is ready again |
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.
I see a few review comments marked as "Resolved" but no code changes. I just wanted to check whether that was intentional.
The points are relatively minor code quality things but it would be nice to tidy them up and keep with best practices.
Otherwise this is good to go 🚀
What?
Closes #49098
In #48979 a fix for focus loss was merged. This adds a test for that fix.
Why?
To guard from regressions, but also to see the problem expressed in code.
How?
Adding a test.
Testing Instructions
Run:
The test should pass.
Revert the change in #48979 (the else branch here.
The test should fail.