fix: Use Chromium instead of Chrome for Playwright tests
Some checks failed
Deploy Development / deploy (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 5s
Test Suite / playwright-tests (push) Failing after 1m54s

Problem: Tests schlagen fehl mit 'chrome not found at /opt/google/chrome/chrome'

Root Cause: playwright.config.js hatte 'channel: chrome' konfiguriert,
was Google Chrome erwartet statt Playwright's eingebautes Chromium

Lösung: channel: 'chrome' entfernt → nutzt Standard-Chromium

Tests sollten jetzt durchlaufen!
This commit is contained in:
Lars 2026-04-22 22:09:17 +02:00
parent 43c6abce4a
commit 74a92439eb

View File

@ -2,7 +2,7 @@ module.exports = {
testDir: './tests',
timeout: 30000,
use: {
channel: 'chrome',
// channel: 'chrome', // Entfernt: nutze Standard-Chromium statt Google Chrome
headless: true,
viewport: { width: 390, height: 844 },
screenshot: 'only-on-failure',