From d6a03b5f44dd11a24d82b38e2e8b001f41c89638 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 28 Dec 2025 21:54:07 +0000 Subject: [PATCH] Add Mobile Chrome testing configuration to Playwright Add Pixel 5 device emulation to enable mobile viewport testing for scroll-driven animations. This allows verifying that animations render correctly on mobile browsers. --- playwright.config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/playwright.config.js b/playwright.config.js index 945828e..6e88da3 100644 --- a/playwright.config.js +++ b/playwright.config.js @@ -40,12 +40,16 @@ export default defineConfig({ /* Maximum time one test can run for */ timeout: 30000, - /* Configure projects for Chromium only */ + /* Configure projects for Desktop and Mobile */ projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] }, }, + { + name: 'Mobile Chrome', + use: { ...devices['Pixel 5'] }, + }, ], /* Run your local dev server before starting the tests */