mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(test-runner): allow viewport null values (#7225)
This commit is contained in:
parent
6118d16edd
commit
4d0d3924f0
2
types/test.d.ts
vendored
2
types/test.d.ts
vendored
@ -1145,7 +1145,7 @@ export type PlaywrightTestOptions = {
|
|||||||
* Viewport used for all pages in the test. Takes priority over `contextOptions`.
|
* Viewport used for all pages in the test. Takes priority over `contextOptions`.
|
||||||
* @see BrowserContextOptions
|
* @see BrowserContextOptions
|
||||||
*/
|
*/
|
||||||
viewport: ViewportSize | undefined;
|
viewport: ViewportSize | null | undefined;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Options used to create the context. Other options above (e.g. `viewport`) take priority.
|
* Options used to create the context. Other options above (e.g. `viewport`) take priority.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user