Files
Jad Seifeddine c934065a84 tests: Playwright end-to-end harness, with a 1710px layout spec
A browser test harness under tests/e2e: serve.mjs serves the real static
tree over HTTP and lib/api.mjs answers /api/* from a small fixture address
book, recording every request the page makes, so the shipped pages run
against data the test controls without Vault, guacd or a session. CI gains
an e2e job that installs Chromium and runs the suite.

The first spec pins #252: at 1710px the connections, recordings and reports
tables fit inside the viewport and nothing scrolls sideways.

(cherry picked from commit 4ae28efec0)
2026-10-13 08:55:19 +11:00

14 lines
330 B
JSON

{
"name": "rustguac-e2e",
"private": true,
"description": "Playwright end-to-end tests for the rustguac pages, run against the static tree with a stubbed API.",
"type": "module",
"scripts": {
"test": "playwright test",
"serve": "node serve.mjs"
},
"devDependencies": {
"@playwright/test": "1.58.2"
}
}