2026-05-18-19-19-36 修复样例加载提示和favicon
This commit is contained in:
24
工程分析/测试方案-2026-05-18-19-19-36.md
Normal file
24
工程分析/测试方案-2026-05-18-19-19-36.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# 测试方案
|
||||
|
||||
开始时间:2026-05-18-19-19-36
|
||||
|
||||
## 测试项
|
||||
|
||||
- `curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8001/favicon.ico`
|
||||
- `curl -s http://127.0.0.1:8001/api/samples`
|
||||
- `pytest -q`
|
||||
- Chrome headless 首页截图确认页面仍可渲染。
|
||||
|
||||
## 验收标准
|
||||
|
||||
- `/favicon.ico` 不再返回 404。
|
||||
- `/api/samples` 返回样例视频和样例图像。
|
||||
- 自动化测试通过。
|
||||
- 网页端加载样例有明确页面提示。
|
||||
|
||||
## 执行结果
|
||||
|
||||
- `/favicon.ico`:通过,返回 `200 image/svg+xml`。
|
||||
- `/api/samples`:通过,返回 `synthetic_guidewire.mp4` 和 `synthetic_guidewire.png`。
|
||||
- `pytest -q`:通过,4 个测试全部通过。
|
||||
- Chrome headless 首页截图:通过,页面可正常渲染。
|
||||
Reference in New Issue
Block a user