Skip to content

chore: Properly inject animation cancel

Illya Klymov requested to merge proper-animation-cancel into master

Our fix in beforeScreenshot is not waiting properly for injection (all puppeteer operations are async).

This creates racing conditions, I had multiple failures, both locally and in CI.

Returning promise in beforeScreenshot makes snapshots reliable again!

Merge request reports