update expect-matcher-result.spec
This commit is contained in:
parent
87fb05ddb2
commit
3c9895588a
|
|
@ -271,6 +271,7 @@ test('toHaveScreenshot should populate matcherResult', async ({ page, server, is
|
||||||
name: 'toHaveScreenshot',
|
name: 'toHaveScreenshot',
|
||||||
pass: false,
|
pass: false,
|
||||||
log: expect.any(Array),
|
log: expect.any(Array),
|
||||||
|
shortMessage: expect.any(String),
|
||||||
});
|
});
|
||||||
|
|
||||||
expect.soft(stripAnsi(e.toString())).toContain(`Error: Screenshot comparison failed:
|
expect.soft(stripAnsi(e.toString())).toContain(`Error: Screenshot comparison failed:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue