Files
ben-to/playwright.tour-capture.config.ts
T
2026-07-21 16:50:58 +02:00

20 lines
514 B
TypeScript

import { defineConfig } from "@playwright/test";
/** Génération des GIF du tour (`npm run tour:capture`) — hors `test:ci`, requiert ffmpeg. */
export default defineConfig({
testDir: "./tests/tour-capture",
testMatch: "**/*.capture.ts",
timeout: 180_000,
workers: 1,
use: {
baseURL: "http://localhost:3000",
viewport: { width: 390, height: 760 }
},
webServer: {
command: "npm run dev:web",
url: "http://localhost:3000",
reuseExistingServer: true,
timeout: 120_000
}
});