diff --git a/playwright.config.ts b/playwright.config.ts index a53fedc..9591a0c 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -82,7 +82,9 @@ export default defineConfig({ name: 'mobile-audit', testMatch: /audit\/mobile\.spec\.ts/, dependencies: ['setup'], - timeout: 600_000, + // Single test walks 4 viewports × ~45 routes sequentially with slowMo; + // 30 min headroom keeps us well under the wall-clock cost. + timeout: 1_800_000, use: { headless: false, launchOptions: { slowMo: 200 }, diff --git a/tests/e2e/audit/mobile.spec.ts b/tests/e2e/audit/mobile.spec.ts index 1810e84..9b00183 100644 --- a/tests/e2e/audit/mobile.spec.ts +++ b/tests/e2e/audit/mobile.spec.ts @@ -340,7 +340,7 @@ async function writeIndex(allByViewport: Map): Promise } test('mobile audit — every page at iPhone viewports', async ({ browser, request }) => { - test.setTimeout(600_000); + test.setTimeout(1_800_000); await fs.mkdir(OUT_ROOT, { recursive: true }); await ensureAdminExists(request);