-
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
BorderControl: improve popover waiting #46713
Conversation
Size Change: +14 B (0%) Total Size: 1.32 MB
ℹ️ View Unchanged
|
@jsnajdr, the failing unit tests look like related to the changes in this PR. Other than that, the refactoring looks good to me and is similar to the changes applied for other unit tests. |
Yes, they are definitely related, I'm working on them. |
They are green again after enabling real timers explicitly. With fake timers, there's an |
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.
This looks great and tests are passing locally now! Thanks @jsnajdr 🚀
Improves the
BorderControl
unit tests by:renderBorderControl
andrerenderBorderControl
helpers and replace them with directrender
andrerender
calls. Also they don't need to be async, as they don't need to do anyawait act()
call. Only opening a popover requires something like that.