cy.compareSnapshot command

All available options for compareSnapshot command

cy.compareSnapshot command could be use in a most basic way:

cy.compareSnapshot('header')

or in a more configurable way:

cy.compareSnapshot({
  name: 'header',
  testThreshold: 0.2
})
  • Available options are:

Last updated