jaredpalmer / cypress-image-snapshot

Catch visual regressions in Cypress
MIT License
888 stars 160 forks source link

[AC-2842] wait on record #167

Closed boldizsarnemeth closed 3 years ago

boldizsarnemeth commented 3 years ago

Changes how the snapshot pathes are calculated. Now there will be recursive folders for the test cases. Checks for the reference images before taking the snapshot and if the image does not exist waits for the full timeout and only then takes the picture (avoid taking a bad picture too early). Otherwise takes the picture immediately and retries until the timeout is gone.