fix: beautiful toHaveScreenshot in tracing (#12422)
This commit is contained in:
parent
a5f2dc0d7e
commit
a0cf33bbb0
|
|
@ -4089,6 +4089,7 @@ export const commandsWithTracingSnapshots = new Set([
|
||||||
'Page.goBack',
|
'Page.goBack',
|
||||||
'Page.goForward',
|
'Page.goForward',
|
||||||
'Page.reload',
|
'Page.reload',
|
||||||
|
'Page.expectScreenshot',
|
||||||
'Page.screenshot',
|
'Page.screenshot',
|
||||||
'Page.setViewportSize',
|
'Page.setViewportSize',
|
||||||
'Page.keyboardDown',
|
'Page.keyboardDown',
|
||||||
|
|
|
||||||
|
|
@ -1028,6 +1028,8 @@ Page:
|
||||||
log:
|
log:
|
||||||
type: array?
|
type: array?
|
||||||
items: string
|
items: string
|
||||||
|
tracing:
|
||||||
|
snapshot: true
|
||||||
|
|
||||||
screenshot:
|
screenshot:
|
||||||
parameters:
|
parameters:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue