Skip to content
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

Cypress counts overwritten screenshots as unique in run results #8079

Closed
kuceb opened this issue Jul 23, 2020 · 2 comments · May be fixed by Omrisnyk/npm-lockfiles#145
Closed

Cypress counts overwritten screenshots as unique in run results #8079

kuceb opened this issue Jul 23, 2020 · 2 comments · May be fixed by Omrisnyk/npm-lockfiles#145
Labels
cli type: unexpected behavior User expected result, but got another

Comments

@kuceb
Copy link
Contributor

kuceb commented Jul 23, 2020

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)



@kuceb kuceb mentioned this issue Jul 23, 2020
57 tasks
@cypress-bot cypress-bot bot added the stage: ready for work The issue is reproducible and in scope label Jul 24, 2020
@jennifer-shehane jennifer-shehane added type: unexpected behavior User expected result, but got another cli labels Jul 24, 2020
@cypress-bot cypress-bot bot added stage: pending release and removed stage: ready for work The issue is reproducible and in scope labels Aug 10, 2020
@cypress-bot
Copy link
Contributor

cypress-bot bot commented 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
Copy link
Contributor

cypress-bot bot commented 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.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Aug 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cli type: unexpected behavior User expected result, but got another
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants