From d1c9cda9f56e939b455e3852cb6ee998c132cd33 Mon Sep 17 00:00:00 2001 From: Yifeng Wang Date: Sun, 25 Dec 2022 09:19:49 +0800 Subject: [PATCH] chore: tweak local e2e viewport size --- playwright.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 65c98ed455..fec10a72fd 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,5 +1,5 @@ import type { PlaywrightTestConfig } from '@playwright/test'; -import { devices } from '@playwright/test'; +// import { devices } from '@playwright/test'; /** * Read environment variables from file. @@ -51,7 +51,7 @@ const config: PlaywrightTestConfig = { name: 'chromium', use: { browserName: 'chromium', - viewport: { width: 1920, height: 1080 }, + viewport: { width: 1440, height: 800 }, actionTimeout: 5 * 1000, }, },