fix: improve Playwright configuration for better compatibility with missing dependencies
Some checks are pending
Docker Test / test (push) Waiting to run
Some checks are pending
Docker Test / test (push) Waiting to run
This commit is contained in:
parent
7b42e35ed3
commit
39e2862d8e
2 changed files with 107 additions and 0 deletions
|
|
@ -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'
|
||||
]
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue