cypress-image-snapshot
cypress-image-snapshot copied to clipboard
matchImageSnapshot command options not being respected in cloud containers
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.