meinaart / cypress-plugin-snapshots

Plugin for snapshot tests in Cypress.io
MIT License
498 stars 117 forks source link

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

Open sevilyilmaz opened 3 years ago

sevilyilmaz commented 3 years ago

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):

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

rburgst commented 3 years ago

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 commented 3 years ago

I am getting this issue too!