From 63a1d7a783e02080a65ad5302093970f9750c882 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Thu, 18 Jul 2024 15:35:33 +0200 Subject: [PATCH] Fix defaultViewport --- tests/helpers.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/helpers.ts b/tests/helpers.ts index ee4be26..08fb557 100644 --- a/tests/helpers.ts +++ b/tests/helpers.ts @@ -14,7 +14,11 @@ export const launchBrowserWithExtension = async (extensionPath: string): Promise `--disable-extensions-except=${extensionPath}`, `--load-extension=${extensionPath}`, '--window-size=1920,1080' - ] + ], + defaultViewport: { + width: 1920, + height: 1080 + } }); };