cypress-image-snapshot icon indicating copy to clipboard operation
cypress-image-snapshot copied to clipboard

matchImageSnapshot command options not being respected in cloud containers

Open lvxwrkr777 opened this issue 3 years ago • 0 comments

I'm having a weird problem where tests pass locally, but not in CI. I think it's because my options (element padding and failureThreshold) are not being respected, in CI only.

CI is obviously cloud containers, so there are some environmental differences. In CI, we are cacheing cypress, for instance.

I've tried passing the options in-script, and also in support\commands.js

Also, my Cypress is in Typescript.

lvxwrkr777 avatar Nov 19 '21 18:11 lvxwrkr777