meinaart / cypress-plugin-snapshots

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

only one img diff modal seems to be working at a time(bug) #68

Closed anguila closed 4 years ago

anguila commented 4 years ago

Describe the bug When clicking at "COMPARE SNAPSHOT", it opens a diff modal with Expected vs Actual. But this only seems to work for the first snapshot. If there are other snapshots it doesn't open any modal (nothing happens)

To Reproduce Steps to reproduce the behavior: Have more than one image snapshot that fails and try to open diff modal

Expected behavior A modal should be opened for each snapshot, showing its expected vs actual.

Desktop (please complete the following information):

anguila commented 4 years ago

image Seems to be related with this one - but the promise approach doesn't seems to work anymore..?