Compare commits
No commits in common. "7c5e63497ff987cad1cd1c67bca03e8c202d25d9" and "93e3f0875664c811ffc746cd4c59a7f3ac69e45a" have entirely different histories.
7c5e63497f
...
93e3f08756
3 changed files with 0 additions and 26 deletions
|
|
@ -16,7 +16,6 @@
|
||||||
2. **Playwright-Konfiguration reparieren**
|
2. **Playwright-Konfiguration reparieren**
|
||||||
- Fehlerursache der Integrationstests identifizieren
|
- Fehlerursache der Integrationstests identifizieren
|
||||||
- Konfiguration korrigieren
|
- Konfiguration korrigieren
|
||||||
- Dokumentation des Problems in PLAYWRIGHT_ISSUE.md
|
|
||||||
|
|
||||||
3. **Lokalen Test-Prozess optimieren**
|
3. **Lokalen Test-Prozess optimieren**
|
||||||
- `cd backend && npm ci && npm test` ausführen
|
- `cd backend && npm ci && npm test` ausführen
|
||||||
|
|
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
# Playwright Konfigurationsfehler
|
|
||||||
|
|
||||||
## Fehlerbeschreibung
|
|
||||||
Der Integrationstest schlägt fehl mit folgendem Fehler:
|
|
||||||
```
|
|
||||||
Error: browserType.launch: Target page, context or browser has been closed
|
|
||||||
Browser logs:
|
|
||||||
[...]
|
|
||||||
/home/openclaw/.cache/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
|
|
||||||
```
|
|
||||||
|
|
||||||
## Ursache
|
|
||||||
Die benötigte Bibliothek `libatk-1.0.so.0` ist nicht installiert.
|
|
||||||
|
|
||||||
## Mögliche Lösungen
|
|
||||||
1. Installation der fehlenden Bibliothek (erfordert Root-Rechte)
|
|
||||||
2. Verwendung eines Docker-Containers für Tests
|
|
||||||
3. Anpassung der Playwright-Konfiguration zur Verwendung von headless-Modus ohne GUI
|
|
||||||
|
|
||||||
## Aktueller Status
|
|
||||||
Der Test kann nicht ausgeführt werden, da die notwendige Abhängigkeit fehlt.
|
|
||||||
|
|
@ -15,28 +15,24 @@ export default defineConfig({
|
||||||
actionTimeout: 0,
|
actionTimeout: 0,
|
||||||
baseURL: 'http://localhost:3000',
|
baseURL: 'http://localhost:3000',
|
||||||
trace: 'on-first-retry',
|
trace: 'on-first-retry',
|
||||||
headless: true,
|
|
||||||
},
|
},
|
||||||
projects: [
|
projects: [
|
||||||
{
|
{
|
||||||
name: 'chromium',
|
name: 'chromium',
|
||||||
use: {
|
use: {
|
||||||
...devices['Desktop Chrome'],
|
...devices['Desktop Chrome'],
|
||||||
headless: true,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'firefox',
|
name: 'firefox',
|
||||||
use: {
|
use: {
|
||||||
...devices['Desktop Firefox'],
|
...devices['Desktop Firefox'],
|
||||||
headless: true,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'webkit',
|
name: 'webkit',
|
||||||
use: {
|
use: {
|
||||||
...devices['Desktop Safari'],
|
...devices['Desktop Safari'],
|
||||||
headless: true,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue