| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- {
- "version": 1,
- "caseName": "conversation-session-tool-detail-toggle-stability",
- "spec": "./test/e2e/conversation-session/tools/conversation-session-tool-detail-toggle-stability.test.ts",
- "fixtures": [
- {
- "id": "upstream-tool-detail-toggle-read-call",
- "description": "P08: emit two consecutive Read tool uses in a summary group.",
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "tool-use",
- "syntheticReason": "固定触发两次连续 Read,验证跨类型摘要组开合和真实 Read 行,不生成 Explore 工具身份。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_TOOL_DETAIL_TOGGLE_READ"],
- "bodyIncludes": ["E2E_TOOL_DETAIL_TOGGLE_READ"],
- "bodyExcludes": [
- "Generate a concise title",
- "toolu_e2e_tool_detail_toggle_read_1",
- "toolu_e2e_tool_detail_toggle_read_2"
- ]
- },
- "response": {
- "statusCode": 200,
- "toolUses": [
- {
- "id": "toolu_e2e_tool_detail_toggle_read_1",
- "name": "Read",
- "input": {
- "file_path": "{{e2eRuntimeRoot}}/conversation-session-tool-detail-toggle-stability/read-fixture-a.txt"
- }
- },
- {
- "id": "toolu_e2e_tool_detail_toggle_read_2",
- "name": "Read",
- "input": {
- "file_path": "{{e2eRuntimeRoot}}/conversation-session-tool-detail-toggle-stability/read-fixture-b.txt"
- }
- }
- ]
- }
- },
- {
- "id": "upstream-tool-detail-toggle-final",
- "description": "P08: finish the turn after both Read results.",
- "metadata": {
- "kind": "main",
- "source": "synthetic",
- "timingPolicy": "fast-text",
- "syntheticReason": "工具结果回填后稳定结束当前轮,使测试只观测已完成详情的展开和收起几何。"
- },
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "bodyIncludes": [
- "E2E_TOOL_DETAIL_TOGGLE_READ",
- "toolu_e2e_tool_detail_toggle_read_1",
- "toolu_e2e_tool_detail_toggle_read_2"
- ],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "text": "upstream-e2e-ok"
- }
- }
- ]
- }
|