From 146ac73da2a9795b7f4e16e394213ba7ff66a2fe Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 20 Apr 2026 23:21:27 +0200 Subject: [PATCH] test(e2e): run full suite at mobile viewport too (Pixel 5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a second Playwright project so every calculator test runs at both Desktop Chrome and Pixel 5 (~375 px). Catches mobile layout regressions automatically. 106 tests passing (53 × 2 viewports). --- e2e/playwright.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/e2e/playwright.config.js b/e2e/playwright.config.js index bbe9f0d..fa2861d 100644 --- a/e2e/playwright.config.js +++ b/e2e/playwright.config.js @@ -20,5 +20,7 @@ module.exports = defineConfig({ }, projects: [ { name: 'chromium', use: { ...devices['Desktop Chrome'] } }, + // Mobile pass — catches layout regressions at ~375 px (iPhone SE) + { name: 'mobile-chrome', use: { ...devices['Pixel 5'] } }, ], });