cypress-plugin-snapshots icon indicating copy to clipboard operation
cypress-plugin-snapshots copied to clipboard

Plugin for snapshot tests in Cypress.io

Results 120 cypress-plugin-snapshots issues
Sort by recently updated
recently updated
newest added

**Describe the bug** Image snapshots changes after upgrading Cypress from 6.6.0 to 7.3.0. They are moved 1px to the right and outside of the viewport. **To Reproduce** Steps to reproduce...

bug

The version of `diff2html` used introduces two high-severity vulnerabilities from using old versions of the `merge` and `diff` packages. `diff2html` should be upgraded to latest version (`3.4.5`) to alleviate the...

**Describe the bug** With this code in a test: ```js cy.visit('http://localhost:3100'); cy.document().toMatchImageSnapshot(); ``` Cypress never updates the snapshot file, and always marks it as updated: ``` Error: CypressError: `cy.readFile()` must...

bug

**Describe the bug** When I call `.toMatchSnapshot()` on a string which contains newline characters "\n" the snapshot gets saved with newlines inside: ``` My Heading My Div ``` When I...

bug

**Describe the bug** Screenshots do not match if the monitor setup has changed from the initial screenshot monitor setup. **To Reproduce** Steps to reproduce the behavior: 1. Clear your screenshot...

bug

**Is your feature request related to a problem? Please describe.** Having to manually name all images **Describe the solution you'd like** It would be nice if you there was some...

enhancement

**Describe the bug** Using cypress with --headless works fine on jenkins However adding cypress-plugin-snapshots causes the following error on jenkins ``` resize: can't open terminal /dev/tty tput: No value for...

bug

**Describe the bug** `npm audit` shows that cypress-plugin-snapshots contains high severity vulnerabilities (it depends on a vulnerable version of `unidiff`) **To Reproduce** Steps to reproduce the behavior: 1. Go to...

bug

When I run `npx cypress run --headless` the tests work, but when running the tests through `npx cypress open` I get I understand this is an [upstream problem](https://github.com/cypress-io/cypress/issues/3090) (https://github.com/cypress-io/cypress/issues/3090), however...

bug

**Describe the bug** When running ```js it.only('looks right', () => { cy.url().should(($url) => { expect(new URL($url).toString()).to.equal(new URL(config.dashboardUrl).toString()); }); cy.document().toMatchImageSnapshot({ capture: 'runner' }); }); ``` the option I provide to `capture`...

bug