fix: beautiful toHaveScreenshot in tracing (#12422)

This commit is contained in:
Andrey Lushnikov 2022-03-01 00:30:00 -07:00 committed by GitHub
parent a5f2dc0d7e
commit a0cf33bbb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -4089,6 +4089,7 @@ export const commandsWithTracingSnapshots = new Set([
'Page.goBack',
'Page.goForward',
'Page.reload',
'Page.expectScreenshot',
'Page.screenshot',
'Page.setViewportSize',
'Page.keyboardDown',

View File

@ -1028,6 +1028,8 @@ Page:
log:
type: array?
items: string
tracing:
snapshot: true
screenshot:
parameters: