cypress-plugin-snapshots
cypress-plugin-snapshots copied to clipboard
Plugin for snapshot tests in Cypress.io
tl;dr ^ If a diff image is only generated when there is a mismatch, then I don't mind a rare performance hit, and would appreciate being able to see the...
**Describe the bug** When running a test like ```js it.only('looks right', () => { cy.url().should(($url) => { expect(new URL($url).toString()).to.equal(new URL(config.dashboardUrl).toString()); }); cy.document().toMatchImageSnapshot(); }); ``` it works fine in Chrome, but...
it is not clear we should provide a thorough solution to the compatibility issue between cypress-pugin-retry and cypress-plugin-snapshot. The retry will always run beforeEach but not beforeAll by default during...
Created a quick change to fix the example of clip option to be used for screenshots. Issue ref: https://github.com/meinaart/cypress-plugin-snapshots/issues/152
Screenshot settings for `toMatchImageSnapshot` must be inside the `screenshotConfig` property: ```javascript cy.get('.element') .toMatchImageSnapshot({ screenshotConfig: { clip: { x: 0, y: 0, width: 100, height: 100 }, }, }); ```
**Describe the bug** When snapshot does not match trying to update it from cypress test runner does not work **To Reproduce** Steps to reproduce the behavior: Click update snapshot button...
**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Click on 'COMPARE SNAPSHOT' 2. Click on 'Update Snapshot'...
**Describe the bug** Every X runs, a test will fail because a snapshot is cut at the bottom. Rerunning the test will usually result in the correct snapshot again. The...
**Describe the bug** After test run if it got failed - first time click on "Compare snapshots" displays diff image on both sides instead actual and expected images. If you...