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!
13 lines
319 B
JavaScript
13 lines
319 B
JavaScript
module.exports = {
|
|
testDir: './tests',
|
|
timeout: 30000,
|
|
use: {
|
|
// channel: 'chrome', // Entfernt: nutze Standard-Chromium statt Google Chrome
|
|
headless: true,
|
|
viewport: { width: 390, height: 844 },
|
|
screenshot: 'only-on-failure',
|
|
baseURL: 'http://192.168.2.49:3098',
|
|
},
|
|
reporter: 'list',
|
|
};
|