snapshot
snapshot copied to clipboard
Adds value / object / DOM element snapshot testing support to Cypress test runner
How is this working for anyone? https://github.com/cypress-io/snapshot/blob/2678cd27cbb5e8509efb8ebc100cccb49c847a37/src/index.js#L77 If the file isn't present then I get an error about the file missing. I use the [recommended](https://github.com/cypress-io/snapshot#userelativesnapshots) `readFileMaybe()` returns `null` which will...
When using useRelativeSnapshots, there is an error when snapshot does not exist. Existing code is effectively ``` cy.writeFile(snapshotFileName, '', 'utf-8', { log: false }) .then(evaluateLoadedSnapShots) ``` but cypress-io/cypress@ce8f0ee made writeFile...
Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the...
Thank you for taking time to open a new issue. Please answer a few questions to help us fix it faster. You can delete text that is irrelevant to the...
This allows snapshot testing of a Vue app with scoped styles. Closes #144
https://github.com/cypress-io/snapshot/blob/2678cd27cbb5e8509efb8ebc100cccb49c847a37/package-lock.json#L2114-L2115 I'm relatively new to NPM but I believe it's complaining about a "high" vulnerability with this dependency. ``` === npm audit security report === Manual Review Some vulnerabilities require...
## Is this a bug report or a feature request? ### Feature Request Request: Currently, the `utils` include a transient ID filtering method for Angular and React. Is it possible...
## Is this a bug report or a feature request? Feature ## Description It would be great if we can create 1 snapshot per spec file. Within 1 folder we...
On Cypress 6.1.2 and the latest version of @cypress/snapshot the snapshot error are not surfaced in the cypress UI: I can see that the snapshot failed in the console but...
If I try to snapshot a group of sibling elements, only the first element is actually snapshotted. Take the following dom: ```html some random markup ``` and then snapshot the...