fix(UI 自动化): 测试计划报告成功率显示不对
--bug=1015582 --user=张大海 【测试跟踪】github#16534,测试计划-关联UI自动化-点执行-报告成功率显示不对 https://www.tapd.cn/55049933/s/1217248
This commit is contained in:
parent
dbc6c24a0b
commit
18538169e4
|
@ -190,6 +190,12 @@ public class TestPlanReportService {
|
|||
planReportCaseDTOS = extApiScenarioReportMapper.selectForPlanReport(reportIds);
|
||||
TestPlanUtils.buildStatusResultMap(planReportCaseDTOS, statusResultMap, report, "Success");
|
||||
}
|
||||
if (MapUtils.isNotEmpty(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap())) {
|
||||
// 场景用例
|
||||
reportIds = new ArrayList<>(testPlanExecuteReportDTO.getTestPlanUiScenarioIdAndReportIdMap().values());
|
||||
planReportCaseDTOS = extApiScenarioReportMapper.selectForPlanReport(reportIds);
|
||||
TestPlanUtils.buildStatusResultMap(planReportCaseDTOS, statusResultMap, report, "Success");
|
||||
}
|
||||
if (MapUtils.isNotEmpty(testPlanExecuteReportDTO.getTestPlanLoadCaseIdAndReportIdMap())) {
|
||||
// 性能用例
|
||||
reportIds = new ArrayList<>(testPlanExecuteReportDTO.getTestPlanLoadCaseIdAndReportIdMap().values());
|
||||
|
|
Loading…
Reference in New Issue