playwright: headless:true

This commit is contained in:
ISA
2025-08-29 13:57:59 +02:00
parent 8850b0ffda
commit 0f570ac5b0
6 changed files with 11 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ export default defineConfig({
use: {
baseURL: process.env.E2E_BASE_URL || "http://localhost:3000",
headless: process.env.PW_HEADLESS === "1" || CI, // <- Headless-Steuerung hier
headless: true,
launchOptions: { args: ["--no-sandbox", "--disable-dev-shm-usage"] },
viewport: { width: 1920, height: 1080 },
video: CI ? "retain-on-failure" : "on-first-retry",