cypress-plugin-snapshots icon indicating copy to clipboard operation
cypress-plugin-snapshots copied to clipboard

Add retry-ability

Open gbasto opened this issue 4 years ago • 5 comments

Adds retry-ability to snapshot tests, by adding two new configuration options:

retryCount - the number of retries that should be done if the test is failing
retryDelay - the amount of time between each retry

This is useful, for example, for cases when some tests are failing because the image snapshot is done before some images are loaded due to slow network.

gbasto avatar Feb 22 '21 14:02 gbasto

@meinaart please merge this pull requests.

YadrovSergey avatar Mar 11 '21 08:03 YadrovSergey

@meinaart could you look into this PR ? We need it !

edimitchel avatar Mar 31 '21 08:03 edimitchel

@gbasto please look at my PR I made on your fork !

edimitchel avatar Mar 31 '21 13:03 edimitchel

@meinaart This PR would be extremely useful ... I hope this project hasn't been abandoned! Please merge this PR. Thank you!

scottrippey avatar Nov 07 '22 22:11 scottrippey

I've been using a patched version of cypress-plugin-snapshots with this change for the last 2 years and it has been working perfectly to me, however this PR still has no feedback from the repo maintainers.

Is this project completely abandoned? @meinaart let me know if you need any help, otherwise I'll just close it as it's tickling my OCD anytime I look into my open PRs and I always find this one stalled there 😅

gbasto avatar Jul 24 '23 11:07 gbasto