fix(测试跟踪): 测试计划报告列表成功率统计有误
--bug=1021048 --user=陈建星 【测试跟踪】测试计划-报告-成功率统计的不对 https://www.tapd.cn/55049933/s/1319353
This commit is contained in:
parent
9559c2be3d
commit
9290f6a697
|
@ -198,7 +198,7 @@ public class TestPlanReportService {
|
||||||
if (MapUtils.isNotEmpty(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap())) {
|
if (MapUtils.isNotEmpty(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap())) {
|
||||||
// 场景用例
|
// 场景用例
|
||||||
reportIds = new ArrayList<>(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap().values());
|
reportIds = new ArrayList<>(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap().values());
|
||||||
planReportCaseDTOS = planApiScenarioReportService.selectForPlanReport(reportIds);
|
planReportCaseDTOS = planUiScenarioReportService.selectForPlanReport(reportIds);
|
||||||
TestPlanStatusCalculator.buildStatusResultMap(planReportCaseDTOS, statusResultMap, report, ApiReportStatus.SUCCESS.name());
|
TestPlanStatusCalculator.buildStatusResultMap(planReportCaseDTOS, statusResultMap, report, ApiReportStatus.SUCCESS.name());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue