cypress-plugin-snapshots
cypress-plugin-snapshots copied to clipboard
Plugin for snapshot tests in Cypress.io
**Is your feature request related to a problem? Please describe.** When a spec file dynamically generates a lot of tests that use snapshots, all the snapshots are stored in a...
**Describe the bug** This is related to #24 but it's worse than described there. Basically when the snapshots don't match, the test will always timeout (60 seconds). It should not...
can we add something to support custom name like so toMatchSnapshot({name: { title: "myname" modify: "replace" // or add }}) or anything along these lines?
I'm using HTML snapshot, like this: ``` ``` If I change the order of the attributes, like this: ``` ``` Please ignore the order by default.
Thanks for creating this great plugin, to me, it's much better than another visual test plugin. But...that another plugin provides an must-have environment setting to prevent failures but I can't...
Hello! I've recently started to use both `Cypress` and `cypress-plugin-snapshots` and i have a doubt regarding `fixed` elements, like for example a fixed `Header` at the top of the page....
- Happens with: HTMLCollection, NodeList, jquery/cy.get() Related: - isHTML method not returning expected values - getSubject method not returning expected values
Add `overwrite` property to `toMatchSnapshot` to overwrite current snapshot. Makes it easier then doing it by hand.