2026-05-18-19-37-10 调整原始视频与结果同级分栏

This commit is contained in:
2026-05-18 19:39:07 +08:00
parent c62f6e3401
commit 72d0e9a168
7 changed files with 172 additions and 47 deletions

View File

@@ -0,0 +1,27 @@
# 测试方案
开始时间2026-05-18-19-37-10
## 自动化验证
- `pytest -q`
- `curl -s http://127.0.0.1:8001/api/health`
- `curl -s http://127.0.0.1:8001/api/samples`
- `git diff --check`
- Chrome headless 截图首页检查布局。
## 手工验证
1. 打开 `http://192.168.3.11:8001/`
2. 右侧应显示左右两个同级面板:左侧“查看原始视频”,右侧“预览与结果”。
3. 点击“加载样例”,左侧显示原始视频播放器。
4. 点击“运行分割”,右侧显示分割结果。
5. 点击左侧“放大查看”,打开原始视频大弹窗。
## 执行结果
- `pytest -q`通过4 个测试全部通过。
- `curl -s http://127.0.0.1:8001/api/health`:通过,返回 `status=ok`
- `curl -s http://127.0.0.1:8001/api/samples`:通过,样例视频和样例图像仍可获取。
- `git diff --check`:通过,无空白格式错误。
- Chrome headless 首页截图:通过,右侧工作区已拆成同级左右两栏,左侧为“查看原始视频”,右侧为“预览与结果”。