jaredpalmer / cypress-image-snapshot

Catch visual regressions in Cypress
MIT License
882 stars 160 forks source link

Unable to click more than one snapshot error. "The snapshot is missing..." #255

Open nfafamy opened 2 years ago

nfafamy commented 2 years ago

I have multiple snapshots error on the test suite, but can open one snapshot error only. When I clicked for the rest of the snapshot error it unable to click. image

plugin/index.js

//cypress-plugin-snapshots
const { initPlugin } = require('cypress-plugin-snapshots/plugin');

module.exports = (on, config) => {
  initPlugin(on, config);
  return config;
};

Each test case I have write as per below cy.get("#root").toMatchImageSnapshot({imageConfig: { threshold: 0 },});