test(e2e): add the full web-console end-to-end gate
- API/WS driver A0–A12: auth/pairing, workspaces, instances, session create, real model streaming, abort, model/thinking, history paging, resync, multi-workspace isolation, subagents and a deterministic attention/diff trigger (attention-ext.ts). - Playwright driver B1–B14 + C1–C4: guard/pairing, workspaces, chat streaming, abort, panels, attention, status/devices, reconnect, deep links, i18n/theme, responsive overflow and console errors. - lib.sh isolates every run (runtime/data/state/agent dirs, ephemeral port, fresh workspaces) and reaps by /proc env; run-all.sh builds both sides. Document the plan and the 31/31 acceptance run.
This commit is contained in:
1 parent
0ef019f58d
commit
b02f4e9070
11 files changed
+7119
No files matched your search
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
# Full web-console E2E gate: API/WS suite, then the browser suite.
|
||||
# Each suite gets its own isolated temp root (see lib.sh).
|
||||
set -uo pipefail
|
||||
|
||||
HERE="$(cd "$(dirname "$0")" && pwd)"
|
||||
overall=0
|
||||
|
||||
echo "==> [1/2] API/WS suite"
|
||||
if ! bash "$HERE/run-api.sh"; then
|
||||
overall=1
|
||||
echo "==> API/WS suite FAILED"
|
||||
fi
|
||||
|
||||
echo "==> [2/2] browser suite"
|
||||
if ! bash "$HERE/run-ui.sh"; then
|
||||
overall=1
|
||||
echo "==> browser suite FAILED"
|
||||
fi
|
||||
|
||||
if [ "$overall" -eq 0 ]; then
|
||||
echo "E2E OK"
|
||||
else
|
||||
echo "E2E FAILED (see the artifacts printed above)"
|
||||
fi
|
||||
exit "$overall"
|
||||
Reference in new issue
Block a user