conversation-session-v4-video-preview.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-v4-video-preview",
  4. "spec": "./test/e2e/conversation-session/presentation/conversation-session-v4-video-preview.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "v4-video-preview-send",
  8. "description": "VI06/VI07:空正文与一张图片、四个 video AttachmentRef 到达 provider。",
  9. "metadata": {
  10. "kind": "main",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "五个媒体文件名同时出现,约束共享 gallery 场景的图片与视频都进入媒体能力投影。"
  14. },
  15. "maxMatches": 1,
  16. "match": {
  17. "method": "POST",
  18. "pathIncludes": "/messages",
  19. "bodyIncludes": [
  20. "e2e-composer-preview.mp4",
  21. "e2e-gallery-image.png",
  22. "e2e-unsupported.mov",
  23. "e2e-chunk-fallback.ogg",
  24. "e2e-sent-large.mp4"
  25. ],
  26. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  27. },
  28. "response": {
  29. "statusCode": 200,
  30. "text": {
  31. "id": "v4-video-preview-send",
  32. "inputTokens": 80,
  33. "outputTokens": 8,
  34. "text": "V4_VIDEO_PREVIEW_SEND_OK"
  35. }
  36. }
  37. },
  38. {
  39. "id": "v4-video-preview-edit",
  40. "description": "VI06:edit 删除第一个 video 后,provider 只看到剩余图片与三个 video。",
  41. "metadata": {
  42. "kind": "main",
  43. "timingPolicy": "fast-text",
  44. "source": "synthetic",
  45. "syntheticReason": "bodyIncludes 剩余图片与三个 video 且排除被删除 video,约束 branch-cut 后的附件投影。"
  46. },
  47. "maxMatches": 1,
  48. "match": {
  49. "method": "POST",
  50. "pathIncludes": "/messages",
  51. "bodyIncludes": [
  52. "e2e-gallery-image.png",
  53. "e2e-unsupported.mov",
  54. "e2e-chunk-fallback.ogg",
  55. "e2e-sent-large.mp4"
  56. ],
  57. "bodyExcludes": [
  58. "e2e-composer-preview.mp4",
  59. "Generate a concise title",
  60. "CRITICAL: Respond with TEXT ONLY"
  61. ]
  62. },
  63. "response": {
  64. "statusCode": 200,
  65. "text": {
  66. "id": "v4-video-preview-edit",
  67. "inputTokens": 80,
  68. "outputTokens": 8,
  69. "text": "V4_VIDEO_PREVIEW_EDIT_OK"
  70. }
  71. }
  72. }
  73. ]
  74. }