chore: Properly inject animation cancel
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!