snapFilenameExtension cause removing of snapshot after test
Opened this issue · 2 comments
dorley commented
When defining snapFilenameExtension (e.g. to empty string), the snapshot image will be removed after execute method call to 'matchImageSnapshot', if removed 'snapFilenameExtension' then it will work just fine.
Sample code:
addMatchImageSnapshotCommand({
failureThreshold: 0.2,
capture: 'viewport',
// snapFilenameExtension: '',
})
kamiloski88 commented
I use it in the same way, and problem occurs too for me
simonsmith commented
There is a specific test case to allow snapFilenameExtension
to be an empty string, so this should be fine. For that reason I need a more robust reproduction of the issue to make that test fail
Can you also check #48 and see if that is related?