tests/e2e (see its README): - install.mjs: real install.sh in a Debian container - VPN-safe HOST_IP detection on simulated hosts, fresh/upgrade/re-run, and the proxy config byte-identical to nginx-proxy/nginx.conf (guards rule CS-5) - license_e2e.py: real cloud + site processes with a throwaway signing key - 400 days offline, tampered file, clock rollback, expiry deferred to workday close, renewal, remote lock - browser.mjs: web delivery modes (same-origin, plain HTTP by LAN IP, venue mode) and the install dialog on Android/iPhone/desktop/no-APK - android.mjs basics|rediscovery|stacks: pairing, venues, camera, back button, restart; IP change / server down / cold start; TLS pinning (wrong-key QR, impostor, upgrade, renewal, rediscovery) and UI bundles (apply, staged, tampered, APK too old, rollback, two venues) on isolated compose stacks built from the repo - lib/: env (paths, LAN IP autodetect, settings), proc (seeded throwaway DBs via demo_seed.py, backends, nginx, Vite, compose stacks), android (adb + WebView DevTools, boots the AVD), cdp - run-all.mjs runs everything fastest-first with a summary Nothing machine-specific is hard-coded; developer stacks/DBs are never touched. Results on this machine: install 9/9, license 17/17, browser 22/22, android basics 19/19, rediscovery 10/10, stacks 21/21. Pack README: Testing section + rule CS-11 (tests follow the code; run run-all before a release). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
469 B
JSON
19 lines
469 B
JSON
{
|
|
"name": "xenia-e2e",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "End-to-end suites for client-services (see README.md)",
|
|
"scripts": {
|
|
"all": "node run-all.mjs",
|
|
"all:no-android": "node run-all.mjs --no-android",
|
|
"install-sh": "node install.mjs",
|
|
"license": "python license_e2e.py",
|
|
"browser": "node browser.mjs",
|
|
"android": "node android.mjs"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "^1.63.0",
|
|
"fflate": "^0.8.3"
|
|
}
|
|
}
|