test: systemTest.ts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user