tacoss / testcafe-blink-diff

Visual regression for Testcafé
65 stars 15 forks source link

Block out feature causes test with dots in fixture name to fail #66

Open maksnester opened 3 months ago

maksnester commented 3 months ago

When I use the blockOut feature I get this error on mac

Error: ENOENT: no such file or directory, open '/blockOut-base.json'

It happens only if the fixture name contains dots, e.g.

fixture('some. functionality.')

removing dots fixes it for me. Note that screenshots are added correctly, the problem happens only with blockOut-base.json file

pateketrueke commented 3 months ago

Oh my, good catch! Let me see if I can fix this asap, thank you.