fix: improve Playwright configuration for better compatibility with missing dependencies
Some checks are pending
Docker Test / test (push) Waiting to run

This commit is contained in:
OpenClaw 2026-03-07 10:46:21 +00:00
parent 7b42e35ed3
commit 39e2862d8e
2 changed files with 107 additions and 0 deletions

View file

@ -17,6 +17,15 @@ export default defineConfig({
trace: 'on-first-retry',
headless: true,
viewport: { width: 1280, height: 720 },
// Hinzugefügte Optionen zur Verbesserung der Kompatibilität
launchOptions: {
args: [
'--no-sandbox',
'--disable-dev-shm-usage',
'--disable-gpu',
'--disable-web-security'
]
}
},
projects: [
{
@ -25,6 +34,14 @@ export default defineConfig({
...devices['Desktop Chrome'],
headless: true,
channel: 'chrome',
launchOptions: {
args: [
'--no-sandbox',
'--disable-dev-shm-usage',
'--disable-gpu',
'--disable-web-security'
]
}
},
},
{