conversation-session-browser-use-agent-tab-closed-residual-guest.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-browser-use-agent-tab-closed-residual-guest",
  4. "spec": "./test/e2e/conversation-session/browser-use/conversation-session-browser-use-agent-tab-closed-residual-guest.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-browser-use-agent-tab-closed-residual-guest.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "upstream-agent-tab-ws-switch-title",
  13. "description": "预热轮的异步标题响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "标题不属于本用例语义,只需与 Browser tool continuation 隔离。"
  18. },
  19. {
  20. "id": "upstream-agent-tab-ws-switch-warmup",
  21. "description": "预热轮:首轮发出时 session 的 MCP 可能还没连上;测试按请求里是否已暴露 Browser Use 工具决定是否再预热一轮(最多 5 轮)。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "首轮工具快照不等待 MCP 启动;预热不属于本用例语义。"
  26. },
  27. {
  28. "id": "upstream-agent-tab-ws-switch-open",
  29. "description": "Agent 用 Browser Use 打开 fixture 页面并 handoff,tab 保持 Agent 归属。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "稳定打开一个真实的 Agent Browser Use tab,供切换 workspace 后在别的 workspace 留下残留壳,再验证 tab 关闭后残留壳不会留下出声 guest。"
  34. },
  35. {
  36. "id": "upstream-agent-tab-ws-switch-final",
  37. "description": "打开页面后正常结束本轮,tab 留在 Agent 名下。",
  38. "kind": "main",
  39. "source": "synthetic",
  40. "timingPolicy": "fast-text",
  41. "syntheticReason": "让 turn 回到 idle,再切换 workspace 与归档任务。"
  42. }
  43. ]
  44. }