fix: playwright config
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
steps:
|
||||
- name: install-dependencies
|
||||
image: node:22
|
||||
environment:
|
||||
NODE_PATH: /var/jenkins_home/.npm/node_modules
|
||||
NPM_CONFIG_CACHE: /var/jenkins_home/.npm
|
||||
commands:
|
||||
- echo "📦 Installing dependencies..."
|
||||
- npm install --prefer-offline --no-audit
|
||||
|
||||
- name: install-playwright
|
||||
image: node:22
|
||||
commands:
|
||||
- npx playwright install # wichtig: vollständige Installation
|
||||
- echo "🧩 Installing Playwright and required browsers..."
|
||||
- npx playwright install # vollständige Installation inkl. Chromium & headless_shell
|
||||
- npx playwright install-deps
|
||||
|
||||
- name: run-tests
|
||||
image: node:22
|
||||
commands:
|
||||
- echo "🧪 Running Playwright tests (Chromium only)..."
|
||||
- npx playwright test --project=chromium
|
||||
|
||||
Reference in New Issue
Block a user