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

(bug) image snapshots do not match after upgrading Cypress from 6.6.0 to 7.3.0 #180

Open
sevilyilmaz opened this issue May 18, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@sevilyilmaz
Copy link

Describe the bug
Image snapshots changes after upgrading Cypress from 6.6.0 to 7.3.0. They are moved 1px to the right and outside of the viewport.

To Reproduce
Steps to reproduce the behavior:

  1. Use the Cypress migration guide to upgrade the Cypress setup.
  2. Run the tests

Expected behavior
The image snapshots should be the same.

Screenshots

Expected

Avatar - Text #0

Actual

Avatar - Text #0 actual

Diff

Avatar - Text #0 diff

Desktop (please complete the following information):

  • OS: macOS Catalina 10.15.7
  • Cypress Version 7.3.0
  • cypress-plugin-snapshots 1.4.4
  • cypress/vue 2.2.3

Additional context
I'm using the cypress/vue for component testing.

@sevilyilmaz sevilyilmaz added the bug Something isn't working label May 18, 2021
@rburgst
Copy link

rburgst commented May 27, 2021

actually I cannot even install cypress-plugin-snapshots on cypress-7.4.0 since npm bombs out due to the peer dependency spec cypress@"^4.5.0".

@ashish-chide
Copy link

I am getting this issue too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants