conversation-session-fork-side-pane-empty-state.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-fork-side-pane-empty-state",
  4. "spec": "./test/e2e/conversation-session/branching/conversation-session-fork-side-pane-empty-state.test.ts",
  5. "fixtures": [
  6. {
  7. "id": "fork-side-pane-empty-state-title",
  8. "description": "SSC22 parent 首发的 case-local 标题生成响应。",
  9. "metadata": {
  10. "kind": "common",
  11. "timingPolicy": "fast-text",
  12. "source": "synthetic",
  13. "syntheticReason": "标题不是本 case 的产品语义;固定响应避免严格 case-local replay 依赖共享 fallback。"
  14. },
  15. "match": {
  16. "method": "POST",
  17. "pathIncludes": "/messages",
  18. "bodyIncludes": ["Generate a concise title", "E2E_SSC_FORK_SIDE_PANE_PARENT"]
  19. },
  20. "response": {
  21. "statusCode": 200,
  22. "statusMessage": "OK",
  23. "headers": {
  24. "content-type": "application/json; charset=utf-8"
  25. },
  26. "body": "{\"id\":\"upstream-e2e-fork-side-pane-title\",\"type\":\"message\",\"role\":\"assistant\",\"model\":\"deepseek-v4-pro\",\"content\":[{\"type\":\"text\",\"text\":\"{\\\"title\\\":\\\"Fork Side Pane E2E\\\"}\"}],\"stop_reason\":\"end_turn\",\"stop_sequence\":null,\"usage\":{\"input_tokens\":125,\"cache_creation_input_tokens\":0,\"cache_read_input_tokens\":0,\"output_tokens\":24,\"service_tier\":\"standard\"}}"
  27. }
  28. },
  29. {
  30. "id": "fork-side-pane-empty-state-parent-turn",
  31. "description": "SSC22 parent completed assistant,提供稳定 fork target。",
  32. "metadata": {
  33. "kind": "main",
  34. "timingPolicy": "fast-text",
  35. "source": "synthetic",
  36. "syntheticReason": "核心断言是 fork task 切换后的 Side Pane 可见性;provider 只需稳定形成 completed assistant。"
  37. },
  38. "maxMatches": 1,
  39. "match": {
  40. "method": "POST",
  41. "pathIncludes": "/messages",
  42. "lastUserMessageIncludes": ["E2E_SSC_FORK_SIDE_PANE_PARENT"],
  43. "bodyExcludes": ["Generate a concise title", "CRITICAL: Respond with TEXT ONLY"]
  44. },
  45. "response": {
  46. "statusCode": 200,
  47. "statusMessage": "OK",
  48. "text": {
  49. "id": "upstream-e2e-fork-side-pane-parent",
  50. "inputTokens": 128,
  51. "outputTokens": 12,
  52. "text": "SSC_FORK_SIDE_PANE_REPLY"
  53. }
  54. }
  55. }
  56. ]
  57. }