docs: document Playwright configuration issue and update next steps
This commit is contained in:
parent
93e3f08756
commit
be9be94ed4
2 changed files with 22 additions and 0 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
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
|
||||||
|
|
|
||||||
21
PLAYWRIGHT_ISSUE.md
Normal file
21
PLAYWRIGHT_ISSUE.md
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
# 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.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue