pytest-playwright-snapshot icon indicating copy to clipboard operation
pytest-playwright-snapshot copied to clipboard

Save the failing "current version" screenshot somewhere on the filesystem

Open Janiczek opened this issue 6 months ago • 0 comments

When the snapshots don't match, it would be nice to see the difference.

One workaround is to --update-snapshots, look at the new PNG, then git checkout the old PNG again, but maybe we could have __snapshots__/__failing_<DATETIME>__ or something where the failing PNG could be saved as the test fails.

Janiczek avatar Jun 12 '25 15:06 Janiczek