Resolve "Flaky test in spec/frontend/awards_handler_spec.js"
What does this MR do?
This MR cleans up and hopefully resolve some flakiness with awards_handler_spec
.
- Better encapsulates the helper
openAndWaitForEmojiMenu
so that it can replacewaitForPromises
. - Improve performance by encapsulating the custom
requestAnimationFrame
in a module which is mocked to immediately call the callback function.
Closes #221086 (closed)