sokko-g/playwright.config.js
Shinuwa 713bc3b70e
All checks were successful
Deploy Sokko G / deploy (push) Successful in 19s
Test onboarding visibility in production builds
2026-09-13 20:55:46 +02:00

28 lines
760 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",
testIgnore: "**/production/**",
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"] }
}
]
});