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

(feat) Make the command retry on failure #203

Open
DamienCassou opened this issue Jan 26, 2022 · 0 comments
Open

(feat) Make the command retry on failure #203

DamienCassou opened this issue Jan 26, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@DamienCassou
Copy link

Is your feature request related to a problem? Please describe.

I'm trying to visually check a line chart with an animation. The problem is that .toMatchImageSnapshot() is executed before the animation finishes and the resulting PNG isn't equal to the expected PNG showing the chart at the end of the animation.

Describe the solution you'd like

It would be good that .toMatchImageSnapshot() retry upon failure, just like other Cypress commands.

Describe alternatives you've considered

I tried to use cypress-recurse but it doesn't seem compatible.

@DamienCassou DamienCassou added the enhancement New feature or request label Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants