meinaart / cypress-plugin-snapshots

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

provide api to reset snapshot index #142

Open azuruce opened 4 years ago

azuruce commented 4 years ago

it is not clear we should provide a thorough solution to the compatibility issue between cypress-pugin-retry and cypress-plugin-snapshot. The retry will always run beforeEach but not beforeAll by default during retry, and cypress didn't provide a central mechanism to coordinate. It might be best to provide an API that user can hook in to reset cypress snapshot index instead until a clear solution surfaces.