Skip to content

Resolve "Flaky test in spec/frontend/awards_handler_spec.js"

Paul Slaughter requested to merge 221086-clean-up-awards-handler-spec into master

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 replace waitForPromises.
  • Improve performance by encapsulating the custom requestAnimationFrame in a module which is mocked to immediately call the callback function.

Closes #221086 (closed)

Merge request reports