Add e2e tests for run-detail depth#27
Conversation
Covers the gaps left by runs/view.spec.ts: the Failed sidebar filter, the parsed-error banner on a failed scenario run, a multi-step trace with interleaved tool_call/tool_response, the USAGE token breakdown in an expanded model step, and Expand-all/Collapse-all controls. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Greptile SummaryAdds
Confidence Score: 5/5Additive test-only change with no production code modifications; safe to merge. The change is purely additive (one new spec file, no production code touched). The selector ambiguity flagged in the earlier review thread has been addressed. Database isolation between tests is handled by the existing global No files require special attention. Reviews (2): Last reviewed commit: "Tighten tool_call selectors to use the a..." | Re-trigger Greptile |
span*=Tool Call matched "Model Requested Tool Call" first, so the intended tool_call step label was never actually asserted. The arrow (→ / ←) is unique to the tool_call and tool_response step labels. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Summary
tests/e2e/specs/runs/detail.spec.tscovering the gaps left byruns/view.spec.ts.error_json.messageExpand all/Collapse allin the metrics bar toggle every step bodyTest plan
bun run test:e2e -- --spec ./tests/e2e/specs/runs/detail.spec.ts→ 5 passing, ran 3× consecutively to confirm stability🤖 Generated with Claude Code