[49][57] Playwright-UI-Suite e2e/ (14 Tests), npm run e2e, CI-Job e2e

Bedient die gebaute App wie ein Mensch: Start, neues Projekt, Musterhaus,
Wand per Klicks/Befehlszeile, Undo/Redo, Eigenschaft ändern, Geschoss,
3D, Speichern, Export IFC/DXF, DXF-Import. Konsolenfehler scheitern
(Erlaubt-Liste für headless-wgpu). Projekt öffnen im Browser ist kaputt
(readAsArrayBuffer + String) und als test.fail markiert.

Claude-Session: https://claude.ai/code/session_01NTYBZBvLYCtugMJoKXaB67
This commit is contained in:
Claude committed 2026-10-28 20:33:54 +00:00
1 parent 3586151206
commit 7e30b476cc
15 files changed
+597 -2

No files matched your search

+25
View File
@@ -18,3 +18,28 @@ jobs:
- run: pip install ifcopenshell pytest ezdxf
- run: npm run build:core && npm run build:truck && npm run build:engine3d && npm run build:engine && npm run build:fileio
- run: npm run check
# UI-Suite ([49]): bedient die gebaute Web-App wie ein Mensch (Playwright, Chromium headless).
# Eigener Job, damit `npm run check` schnell bleibt; läuft parallel dazu.
e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: 22, cache: npm }
- uses: dtolnay/rust-toolchain@stable
with: { targets: wasm32-unknown-unknown }
- run: cargo install wasm-pack --locked
- run: npm ci
- run: npm run build:core && npm run build:truck && npm run build:engine3d && npm run build:engine && npm run build:fileio
- run: npx playwright install --with-deps chromium
# `npm run e2e` baut selbst nach dist-test und startet vite preview (playwright.config.ts).
- run: npm run e2e
# Bei Fehlern: Screenshots + Traces (test-results/) zum Ansehen mit `npx playwright show-trace`.
- uses: actions/upload-artifact@v4
if: failure()
with:
name: e2e-test-results
path: |
test-results/
playwright-report/
retention-days: 7