jaredpalmer / cypress-image-snapshot

Catch visual regressions in Cypress
MIT License
888 stars 160 forks source link

matchImageSnapshot triggers resize event #161

Closed VaclovasVicius closed 3 years ago

VaclovasVicius commented 3 years ago

Hello, Our team spotted an issue, that when a cypress is creating a snapshot of a specific element (matchImageSnapshot), a resize event is triggered in this case, because the panel is hidden by cypress and etc. Could this be eliminated somehow, because this is not normal behavior. In our case, if a resize event is triggered, some of the components are changing their state, in this case, test flakiness appears. Is it possible to get rid of this side effect somehow?

VaclovasVicius commented 3 years ago

duplicate