kuceb / cypress-plugin-retries

A Cypress plugin to retry failed tests.
MIT License
237 stars 20 forks source link

cypress-plugin-retries incompatible with cypress-plugin-snapshots #71

Open azuruce opened 4 years ago

azuruce commented 4 years ago

1.5.2 cypress-plugin-retries 1.4.3 cypress-plugin-snapshots symptom is if retry happens, the snapshot will not know it is a retry and will keep matching the snapshot from middle of the run. Let's say there are two snapshots in a test, snapshot1, and snapshot2. In a test, both will be checked in sequence. But if snapshot1 passed, and then test failed before snapshot2 is checked, the retry will rerun the test again and it will try to compare snapshot2 with the test's snapshot1 i the retry.

https://github.com/meinaart/cypress-plugin-snapshots