Background
Issue #78 specified the AppError payload format. This issue originally tracked restoring a Playwright-based MCP Inspector UI E2E test for the telepath mcp subcommand. The original E2E infrastructure was removed during PR #33 and the crate was merged into the unified tools/telepath CLI (PR #92).
Scope revision (2026-05-30)
After investigation, the original acceptance criteria cannot be met as stated:
- Transport gap: The restored Inspector UI test requires
--transport loopback, which does not exist in the unified tools/telepath CLI. The current CLI supports rtt and serial only.
- Known flaky: Inspector UI v0.21.x has a known React render-timing issue where
tools/list RPC succeeds but the Tools panel never repopulates — "pass reliably" is not achievable without debugging Inspector internals.
- Headless coverage already exists:
tools/telepath/tests/serial_pty_smoke.rs::serial_pty_mcp_ping_round_trip covers the same acceptance criteria (ping appears in list_tools, call returns 3735928559) over a real hardware-free wire path.
Revised scope: options
- (a) Remove from v0.3.0 milestone. Restore the Inspector UI browser test in a separate issue once:
--transport loopback or an equivalent hardware-free CLI entry point exists
- Inspector UI flakiness is diagnosed against the current Inspector release via
playwright codegen http://localhost:6274
- (b) Restore headless
mcp.spec.ts only (JSON-RPC over stdio, no browser) + just mcp-e2e recipe + manual "Try it with Inspector" section in docs/mcp-integration.md. This satisfies the spirit of the issue (E2E coverage exists) while acknowledging the UI flakiness. Note: the Rust test serial_pty_smoke.rs already provides equivalent coverage.
Current status
docs/mcp-integration.md line 133:
Inspector E2E browser test removed during initial PR; recovery tracked in #42
This reference will be updated when a decision is made on option (a) or (b).
References
Background
Issue #78 specified the AppError payload format. This issue originally tracked restoring a Playwright-based MCP Inspector UI E2E test for the
telepath mcpsubcommand. The original E2E infrastructure was removed during PR #33 and the crate was merged into the unifiedtools/telepathCLI (PR #92).Scope revision (2026-05-30)
After investigation, the original acceptance criteria cannot be met as stated:
--transport loopback, which does not exist in the unifiedtools/telepathCLI. The current CLI supportsrttandserialonly.tools/listRPC succeeds but the Tools panel never repopulates — "pass reliably" is not achievable without debugging Inspector internals.tools/telepath/tests/serial_pty_smoke.rs::serial_pty_mcp_ping_round_tripcovers the same acceptance criteria (ping appears inlist_tools, call returns3735928559) over a real hardware-free wire path.Revised scope: options
--transport loopbackor an equivalent hardware-free CLI entry point existsplaywright codegen http://localhost:6274mcp.spec.tsonly (JSON-RPC over stdio, no browser) +just mcp-e2erecipe + manual "Try it with Inspector" section indocs/mcp-integration.md. This satisfies the spirit of the issue (E2E coverage exists) while acknowledging the UI flakiness. Note: the Rust testserial_pty_smoke.rsalready provides equivalent coverage.Current status
docs/mcp-integration.mdline 133:This reference will be updated when a decision is made on option (a) or (b).
References
tools/telepath/tests/serial_pty_smoke.rs— existing headless MCP E2E coverage