| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- {
- "version": 1,
- "caseName": "conversation-session-share-publish-import",
- "spec": "./test/e2e/conversation-session/conversation-session-share-publish-import.test.ts",
- "fixtures": [
- {
- "id": "conversation-share-local-main",
- "description": "Local share publish uses a deterministic completed response.",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "Share UI assertions only need a completed terminal turn before publication."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_CONVERSATION_SHARE_LOCAL_V1"],
- "bodyIncludes": ["share-local-ready"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "text": {
- "id": "conversation-share-local-main",
- "inputTokens": 64,
- "outputTokens": 8,
- "text": "share-local-ready"
- }
- }
- },
- {
- "id": "conversation-share-local-main-second",
- "description": "Second completed turn for share selection (share-local-ready-second).",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "Share UI assertions only need a completed terminal turn before publication."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_CONVERSATION_SHARE_LOCAL_V1"],
- "bodyIncludes": ["share-local-ready-second"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "text": {
- "id": "conversation-share-local-main-second",
- "inputTokens": 64,
- "outputTokens": 8,
- "text": "share-local-ready-second"
- }
- }
- },
- {
- "id": "conversation-share-local-session-b",
- "description": "Session B independent prompt reply (share-session-b-ready).",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "Share UI assertions only need a completed terminal turn before publication."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_CONVERSATION_SHARE_LOCAL_V1"],
- "bodyIncludes": ["share-session-b-ready"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "text": {
- "id": "conversation-share-local-session-b",
- "inputTokens": 64,
- "outputTokens": 8,
- "text": "share-session-b-ready"
- }
- }
- },
- {
- "id": "conversation-share-error-main",
- "description": "Share error case returns an unsafe local file URL in a completed assistant response.",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "The case validates actionable share error details, not provider behavior."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_CONVERSATION_SHARE_ERROR_V1"],
- "bodyIncludes": ["file:///workspace/not-shareable.pdf"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "text": {
- "id": "conversation-share-error-main",
- "inputTokens": 64,
- "outputTokens": 16,
- "text": "file:///workspace/not-shareable.pdf"
- }
- }
- },
- {
- "id": "conversation-share-preview-main",
- "description": "Share candidate case returns one PDF preview, three media previews, and non-candidate paths.",
- "metadata": {
- "kind": "main",
- "timingPolicy": "fast-text",
- "source": "synthetic",
- "syntheticReason": "The case verifies share candidate discovery and warning projection."
- },
- "maxMatches": 1,
- "match": {
- "method": "POST",
- "pathIncludes": "/messages",
- "lastUserMessageIncludes": ["E2E_CONVERSATION_SHARE_PREVIEW_V1"],
- "bodyIncludes": ["prepared preview-card paths"]
- },
- "response": {
- "statusCode": 200,
- "statusMessage": "OK",
- "text": {
- "id": "conversation-share-preview-main",
- "inputTokens": 64,
- "outputTokens": 64,
- "text": "~/Code/vibe/shows/deliver/晨报_2026-09-08_早会版.pdf\n.zcode-e2e/conversation-share-preview/晨报_2026-09-08_早会版.pdf\nbuild_mn/qa/layout-review.md\n.zcode-e2e/conversation-share-preview/condensed.mp4\n.zcode-e2e/conversation-share-preview/纵横四海_电影解说.mp4\n.zcode-e2e/conversation-share-preview/final_subtitled.mp4"
- }
- }
- }
- ]
- }
|