cherry-pick(release-1.12): allow viewport null values (#7310)
PR #7225 SHA 4d0d392
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
9a3c01db41
commit
dd153b3dd7
2
types/test.d.ts
vendored
2
types/test.d.ts
vendored
|
|
@ -1116,7 +1116,7 @@ export type PlaywrightTestOptions = {
|
|||
* Viewport used for all pages in the test. Takes priority over `contextOptions`.
|
||||
* @see BrowserContextOptions
|
||||
*/
|
||||
viewport: ViewportSize | undefined;
|
||||
viewport: ViewportSize | null | undefined;
|
||||
|
||||
/**
|
||||
* Options used to create the context. Other options above (e.g. `viewport`) take priority.
|
||||
|
|
|
|||
Loading…
Reference in a new issue