Closed abf7d closed 1 year ago
Hi @abf7d, it looks like that plugin hasn't been updated in a long time, last commit was early 2021. it does look like someone made a fork that potentially should work for cypress 11. https://github.com/jaredpalmer/cypress-image-snapshot/issues/252 https://github.com/simonsmith/cypress-image-snapshot
I'm unaware of any snapshotting plugins for cypress, but this isn't an Nx Bug as @nx/cypress
allows using pretty much any cypress version. I wouldn't recommend using anything pre v10. As far as I'm aware of the cypress team doesn't maintain older versions of cypress either so ideally be on latest (at the time of writing that's v12) is the best in terms of cypress usability.
As mentioned, this isn't a bug with Nx + Cypress so I'm going to close this issue. If you have issues with the linked plugins not working, then I'd recommend opening an issue on the plugins repo with a minimal reproducible so they can help you. If the plugin works without Nx with the same cypress versions then feel free to open an issue on the Nx repo with a minimal reproducible.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
I tried to install the
cypress-image-snapshot
package so I can take and compare snapshots in my component tests:npm install --save-dev cypress-image-snapshot @types/cypress-image-snapshot
. There were conflicts with the dependencies. The cypress-image-snapshot package isn't compatible with v11. I have searched for resources for visual/snapshot testing and haven't found anything compatible. Are there any packages or ways to conduct visual tests with cypress in component tests?Expected Behavior
I expect to be able to run snapshot tests in cypress.
GitHub Repo
No response
Steps to Reproduce
npm install --save-dev cypress-image-snapshot @types/cypress-image-snapshot
Nx Report
Failure Logs
No response
Operating System
Additional Information
No response