| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- {
- "version": 1,
- "caseName": "conversation-session-project-device-visibility-ssh",
- "spec": "./test/e2e/conversation-session/remote/navigation/conversation-session-project-device-visibility-ssh.test.ts",
- "fixtures": [
- {
- "id": "project-device-visibility-ssh-title",
- "description": "真实 SSH 项目行设备名显示回归的标题响应。",
- "metadata": {
- "kind": "common",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "显示偏好回归只要求任务确定完成,真实 SSH、Host/CLI、历史及项目身份仍走产品链路。"
- },
- "maxMatches": 4,
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "bodyIncludes": ["Generate a concise title", "E2E_PROJECT_DEVICE_VISIBILITY_SSH"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "application/json; charset=utf-8"
- },
- "body": "{\"id\":\"ssh-cold-title\",\"object\":\"chat.completion\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"{\\\"title\\\":\\\"Project device visibility\\\"}\"},\"finish_reason\":\"stop\"}]}"
- }
- },
- {
- "id": "project-device-visibility-ssh-main",
- "description": "真实 SSH 项目行设备名显示回归的任务首发和续发响应。",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "显示偏好回归只要求任务确定完成,真实 SSH、Host/CLI、历史及项目身份仍走产品链路。"
- },
- "maxMatches": 8,
- "match": {
- "method": "POST",
- "pathIncludes": "/chat/completions",
- "bodyIncludes": ["E2E_PROJECT_DEVICE_VISIBILITY_SSH_"],
- "bodyExcludes": ["Generate a concise title"]
- },
- "response": {
- "statusCode": 200,
- "headers": {
- "content-type": "text/event-stream; charset=utf-8"
- },
- "body": "data: {\"id\":\"ssh-cold-main\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{\"content\":\"PROJECT_DEVICE_VISIBILITY_SSH_REPLY\"},\"finish_reason\":null}]}\n\ndata: {\"id\":\"ssh-cold-main\",\"object\":\"chat.completion.chunk\",\"created\":0,\"model\":\"e2e-ssh-remote-lifecycle-model\",\"choices\":[{\"index\":0,\"delta\":{},\"finish_reason\":\"stop\"}]}\n\ndata: [DONE]\n\n"
- }
- }
- ]
- }
|