test(e2e): run full suite at mobile viewport too (Pixel 5)
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).
This commit is contained in:
parent
ed8948e539
commit
146ac73da2
1 changed files with 2 additions and 0 deletions
|
|
@ -20,5 +20,7 @@ module.exports = defineConfig({
|
||||||
},
|
},
|
||||||
projects: [
|
projects: [
|
||||||
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
|
{ name: 'chromium', use: { ...devices['Desktop Chrome'] } },
|
||||||
|
// Mobile pass — catches layout regressions at ~375 px (iPhone SE)
|
||||||
|
{ name: 'mobile-chrome', use: { ...devices['Pixel 5'] } },
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue