feat: 自动化增加起止时间 + 本轮每次测试明细表
- 显示自动化开始/结束时间 - 测试信息区新增本轮测试明细表(序号、状态、关键字段) - 方便对照平均值是否计算正确
This commit is contained in:
@@ -8,6 +8,7 @@ from app.models import (
|
||||
get_serialnet_stats,
|
||||
get_latest_test_state,
|
||||
get_automation_averages,
|
||||
get_automation_records,
|
||||
clear_serialnet_records,
|
||||
insert_log,
|
||||
)
|
||||
@@ -116,8 +117,10 @@ def api_automation_progress(dnt_id):
|
||||
stats = get_serialnet_stats(dnt_id)
|
||||
latest = get_latest_test_state(dnt_id)
|
||||
averages = get_automation_averages(dnt_id, since if since else None)
|
||||
records = get_automation_records(dnt_id, since) if since else []
|
||||
return jsonify({
|
||||
"stats": stats,
|
||||
"latest": latest,
|
||||
"averages": averages,
|
||||
"records": records,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user