You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
✓ chromium src/to_match_image_snapshot.spec.tsx (5 tests) 980ms
✓ container snapshot 306ms
⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯
Vitest caught 1 unhandled error during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.
⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯
Error: locator.screenshot: Element is not attached to the DOM
Call log:
- taking element screenshot
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Browser mode sometime fails with some weird situation.
It's random, on the second retry it works.
Here is one example:
https://github.com/repobuddy/storybook-addon-vis/actions/runs/13070128089/job/36469707027#step:9:216
Note: The
toMatchImageSnapshot
useslocator.screenshot
internally, which is usingplaywright
.Beta Was this translation helpful? Give feedback.
All reactions