20 lines
514 B
TypeScript
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
|
|
}
|
|
});
|