wrong option!

This commit is contained in:
Simon Knott 2024-11-13 16:18:03 +01:00
parent b918f13f60
commit 4af8593f41
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -1538,7 +1538,7 @@ test('canvas clipping with overlaying element', { annotation: [{ type: 'issue',
});
const snapshot = await traceViewer.snapshotFrame('page.evaluate');
await expect(snapshot.owner()).toHaveScreenshot({ threshold: 0.05 });
await expect(snapshot.owner()).toHaveScreenshot({ maxDiffPixelRatio: 0.05 });
});
test('should show only one pointer with multilevel iframes', async ({ page, runAndTrace, server, browserName }) => {