feat(e2e): add test daemon CLI with ANSI dashboard and Agent SDK bridge
- index.ts: CLI entry point (--full, --spec, --watch, --agent flags) - runner.ts: programmatic WDIO launcher with result streaming - dashboard.ts: ANSI terminal UI (pass/fail/skip/running icons, summary) - agent-bridge.ts: NDJSON stdin/stdout for Agent SDK queries (status, rerun, failures, reset-cache) - Standalone package at tests/e2e/daemon/
This commit is contained in:
parent
46f51d7941
commit
d7dd7722ab
7 changed files with 796 additions and 0 deletions
22
tests/e2e/daemon/package.json
Normal file
22
tests/e2e/daemon/package.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"name": "@agor/e2e-daemon",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"agor-e2e": "./index.ts"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "tsx index.ts",
|
||||
"start:full": "tsx index.ts --full",
|
||||
"start:watch": "tsx index.ts --watch",
|
||||
"start:agent": "tsx index.ts --agent"
|
||||
},
|
||||
"dependencies": {
|
||||
"@wdio/cli": "^9.24.0",
|
||||
"@wdio/local-runner": "^9.24.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsx": "^4.19.0"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue