-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runnerp2-edge-caseBug, but has workaround or limited in scope (priority)Bug, but has workaround or limited in scope (priority)
Description
Describe the bug
Vitest starts creating reference screenshots in an infinite loop when my test fails.
Expected vitest to take a single screenshot on toMatchScreenshot failure.
Reproduction
https://github.com/Romej/vitest-browser-infinite-screenshots#
System Info
System:
OS: macOS 15.7
CPU: (14) arm64 Apple M4 Pro
Memory: 3.52 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.19.0
npm: 10.9.3
pnpm: 10.17.1Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- The provided reproduction is a minimal reproducible example of the bug.
Metadata
Metadata
Assignees
Labels
feat: browserIssues and PRs related to the browser runnerIssues and PRs related to the browser runnerp2-edge-caseBug, but has workaround or limited in scope (priority)Bug, but has workaround or limited in scope (priority)