Open AMS777 opened 3 years ago
Screenshot settings for toMatchImageSnapshot must be inside the screenshotConfig property:
toMatchImageSnapshot
screenshotConfig
cy.get('.element') .toMatchImageSnapshot({ screenshotConfig: { clip: { x: 0, y: 0, width: 100, height: 100 }, }, });
Screenshot settings for
toMatchImageSnapshot
must be inside thescreenshotConfig
property: