comparing snapshots in a docker image always passes
Closed this issue · 1 comments
maximegheraille commented
Hi,
I am using a docker image with github actions to run cypress, everything works fine except that all snapshots always pass, even if I use random images instead of correct ones.
My docker config uses WORKDIR /opt/app
and COPY . /opt/app
(nothing special here)
I logged all my folders content from the docker image and they are all present at ./cypress/report/asset
,
My customSnapshotsDir is also ./cypress/report/asset
with e2eSpecDir: ${Cypress.spec.relative}
any idea what could be the issue ? not sure if you ever tested this before.
maximegheraille commented
found the issue, the bind target directory does not need the opt/app
in it, so just target=/cypress/report/asset