hermione/v8.2.0
🚀 Improvements
it('example', async ({browser}) => {
// ignores up to 5 diff pixels
await browser.assertView('some-state', 'some-selector', {ignoreDiffPixelCount: 5});
// ignores up to 1.5% diff pixels
await browser.assertView('other-state', 'other-selector', {ignoreDiffPixelCount: "1.5%"});
});