add threshold
This commit is contained in:
parent
690ca79064
commit
b918f13f60
|
|
@ -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();
|
||||
await expect(snapshot.owner()).toHaveScreenshot({ threshold: 0.05 });
|
||||
});
|
||||
|
||||
test('should show only one pointer with multilevel iframes', async ({ page, runAndTrace, server, browserName }) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue