test: systemTest.ts

This commit is contained in:
ISA
2025-08-29 11:57:25 +02:00
parent 05c1c9c0cf
commit 6df31455a9
9 changed files with 131 additions and 39 deletions

View File

@@ -3,12 +3,12 @@ steps:
- name: install-dependencies-and-browsers
image: node:22
environment:
PLAYWRIGHT_BROWSERS_PATH: "0" # Browser in ./node_modules/playwright/.local-browsers
PLAYWRIGHT_BROWSERS_PATH: "0"
CI: "true"
E2E_BASE_URL: "http://localhost:3000"
LANG: "C.UTF-8"
TZ: "Europe/Berlin"
PW_HEADLESS: "1" # erzwingt headless in der Config
PW_HEADLESS: "1" # erzwingt headless über die Config
commands:
- echo "📦 Installing deps..."
- npm ci
@@ -18,7 +18,7 @@ steps:
- name: run-tests
image: node:22
environment:
PLAYWRIGHT_BROWSERS_PATH: "0" # gleicher Pfad wie oben
PLAYWRIGHT_BROWSERS_PATH: "0"
CI: "true"
E2E_BASE_URL: "http://localhost:3000"
LANG: "C.UTF-8"
@@ -28,4 +28,4 @@ steps:
- echo "🔧 Installing system dependencies for Playwright..."
- npx playwright install-deps
- echo "🧪 Running Playwright tests (Chromium only)..."
- npx playwright test --project=chromium --headless
- npx playwright test --project=chromium # <-- kein --headless