cypress-plugin-snapshots
cypress-plugin-snapshots copied to clipboard
provide api to reset snapshot index
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.