sokko-g/playwright.config.js
Shinuwa 2bff58f08c
Some checks failed
Deploy Sokko G / deploy (push) Failing after 2s
Fix compact calendar events and stabilize E2E execution
2026-09-11 08:52:20 +02:00

27 lines
726 B
JavaScript

// Rôle : configure les diagnostics navigateur Playwright sans les intégrer au check de prod.
import { defineConfig, devices } from "@playwright/test";
export default defineConfig({
testDir: "./e2e",
fullyParallel: true,
// Le serveur Vite partagé compile les outils lazy à la première visite.
workers: 2,
reporter: [["list"], ["html", { open: "never" }]],
use: {
baseURL: "http://localhost:5173",
trace: "retain-on-failure",
screenshot: "only-on-failure"
},
webServer: {
command: "npm run dev",
url: "http://localhost:5173",
reuseExistingServer: true,
timeout: 120000
},
projects: [
{
name: "chromium",
use: { ...devices["Desktop Chrome"] }
}
]
});