Closed
Description
if you use afterScreenshot
and save multiple screenshots to the same path, cypress will report the overwritten screenshot as a unique screenshot
current:
(Screenshots)
- /XXX/XXX/XXX/screenshot-replacement.png (2x2)
- /XXX/XXX/XXX/screenshot-replacement.png (2x2)
- /XXX/XXX/XXX/screenshot-replacement.png (2x2)
expected:
(Screenshots)
- /XXX/XXX/XXX/screenshot-replacement.png (2x2)
Activity
cypress-bot commentedon Aug 10, 2020
The code for this is done in cypress-io/cypress#3968, but has yet to be released.
We'll update this issue and reference the changelog when it's released.
cypress-bot commentedon Aug 20, 2020
Released in
5.0.0
.This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v5.0.0, please open a new issue.