generate_html_report
Renders the last test run results into a self-contained HTML report with embedded screenshots, step list, and test history. Outputs a single file with no external dependencies for easy sharing.
Instructions
把最近一次 run_tests 的結果渲染成單檔自包含 HTML——base64 內嵌截圖、嵌入式 step list、history sparkline 走勢、折疊的 Passed 區塊、展開的 Failed cards。沒外部 CSS/JS 依賴,可以直接寄信、丟靜態 host、貼到 Slack。預設輸出 PROJECT_ROOT/report.html。實作位於 reporters/html.py,走 sample_report.html 同款設計。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | No | 選填,輸出檔名(相對於 QA_PROJECT_ROOT)。預設 `report.html`。 | report.html |