-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] Is there a way to detect and delete obsolete snapshots using playwright #19597
Comments
There is no such feature, but if you delete all the snapshots and run Playwright with update snapshot flag, it'll generate only the ones that are used. |
Closing as per above, please feel free to open a new issue if this does not cover your use case. |
@pavelfeldman It'd be nice to have this as a feature. Otherwise screenshots directories can get polluted so we have to monitor this on code review when clearly this can (and should) be automated |
The text was updated successfully, but these errors were encountered: