DDD.AgentBrowser
E2E 除錯說明書——用 agent-browser CLI 在 DDD 工作流中系統性地除錯前端問題。 Use when E2E tests fail, when you need to visually verify UI behavior, debug form submissions, inspect page state, or trace frontend issues during "/DDD.work". Also use when the user says "debug E2E", "check the page", "why is the test failing", "open the browser", "take a screenshot", "inspect the DOM", or invokes "/DDD.agent-browser". --- # DDD:AgentBrowser — E2E 除錯說明書 在 DDD 工作流的開發階段(`/DDD.work`),當 Playwright E2E 測試失敗或需要視覺驗證時, 用 `agent-browser` CLI 直接操作瀏覽器來定位問題。 這份說明書不是瀏覽器自動化教學,而是**除錯流程指南**——幫你從「測試掛了」走到「找到根因」。 ## 核心除錯循環 ``` 測試失敗 → 重現場景 → 觀察狀態 → 定位根因 → 修正 → 驗證 ``` 每一步都有對應的 agent-browser 指令,按順序走就對了。 ## Step 1:重現場景 先把瀏覽器帶到測試失敗的那個畫面。 ```bash # 開啟目標頁面
Changelog: Source: GitHub https://github.com/applepig/ddd-workflow
No comments yet. Be the first one!