conversation-session-browser-use-keypress-host-isolation.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "version": 1,
  3. "caseName": "conversation-session-browser-use-keypress-host-isolation",
  4. "spec": "./test/e2e/conversation-session/browser-use/conversation-session-browser-use-keypress-host-isolation.test.ts",
  5. "providerFixtures": [
  6. "./test/e2e/fixtures/upstream/common.json",
  7. "./test/e2e/fixtures/upstream/conversation-session/conversation-session-browser-use-keypress-host-isolation.json"
  8. ],
  9. "fileFixtures": [],
  10. "requests": [
  11. {
  12. "id": "upstream-browser-use-keypress-title",
  13. "description": "按键隔离用例的异步标题响应。",
  14. "kind": "common",
  15. "source": "synthetic",
  16. "timingPolicy": "fast-text",
  17. "syntheticReason": "标题不属于本用例语义,只需与 Browser tool continuation 隔离。"
  18. },
  19. {
  20. "id": "upstream-browser-use-keypress-action",
  21. "description": "打开测试页,只用页面脚本把焦点放进输入框(不点击),等测试让宿主 Composer 拿到焦点后,用 cua.keypress 依次按 a、b、Enter,打开 dialog 后按 Escape,回读页面状态。",
  22. "kind": "main",
  23. "source": "synthetic",
  24. "timingPolicy": "fast-text",
  25. "syntheticReason": "稳定制造「网页没有键盘焦点、宿主 Composer 有焦点」的时序,驱动真实 BrowserControl keypress 链路。"
  26. },
  27. {
  28. "id": "upstream-browser-use-keypress-final",
  29. "description": "按键结果正确时正常完成 turn;会话若被 Escape 停止则不会走到这一步。",
  30. "kind": "main",
  31. "source": "synthetic",
  32. "timingPolicy": "fast-text",
  33. "syntheticReason": "用正常完成证明 Escape 没有停止会话。"
  34. }
  35. ]
  36. }