From 4d0d3924f0bc907f2c1bab958bbe16b970eba1a8 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Mon, 21 Jun 2021 20:26:14 +0200 Subject: [PATCH] fix(test-runner): allow viewport null values (#7225) --- types/test.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/test.d.ts b/types/test.d.ts index 7becea4768..ef0adf352c 100644 --- a/types/test.d.ts +++ b/types/test.d.ts @@ -1145,7 +1145,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.