conversation-session-node-repl-frontend-restart.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-node-repl-frontend-restart",
  4. "spec": "./test/e2e/conversation-session/browser-use/conversation-session-node-repl-frontend-restart.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-node-repl-frontend-restart.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "node-repl-frontend-restart-title",
  13. "description": "固定 frontend 重启 case 的异步标题响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "标题不属于本用例语义,只需避免误命中主请求。"
  18. },
  19. {
  20. "id": "node-repl-frontend-restart-warmup",
  21. "description": "预热轮只返回文本,让会话先启动并连上 node_repl。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "MCP 异步启动时首个请求可能早于 node_repl 连上;预热轮把这段时序移出本 case。"
  26. },
  27. {
  28. "id": "node-repl-frontend-restart-setup",
  29. "description": "首轮调用 node_repl 创建真实 IAB tab、打开 fixture 页并写入 state,返回稳定 tab id。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "稳定构造 frontend 重启前的 tab/page 状态。"
  34. },
  35. {
  36. "id": "node-repl-frontend-restart-setup-final",
  37. "description": "首轮在 tab 创建成功后完成。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "fast-text",
  41. "syntheticReason": "形成 frontend 终止前的 turn 边界。"
  42. },
  43. {
  44. "id": "node-repl-frontend-restart-verify",
  45. "description": "frontend 重启后的下一轮按上一条 tool result 的稳定 id 取回原 tab,读取并更新页面 state。",
  46. "kind": "main",
  47. "source": "synthetic",
  48. "timingPolicy": "fast-text",
  49. "syntheticReason": "验证重启后 js 仍在工具列表里且可调用,tab/page 状态连续;tab id 从真实 tool result 动态注入。"
  50. },
  51. {
  52. "id": "node-repl-frontend-restart-final",
  53. "description": "第二轮只在 tab/page 连续时完成。",
  54. "kind": "main",
  55. "source": "synthetic",
  56. "timingPolicy": "fast-text",
  57. "syntheticReason": "证明重启后的真实 tool result 已进入同一 session continuation。"
  58. }
  59. ]
  60. }