fix(测试计划): 修复测试计划执行时未执行ui用例的bug
--bug=1024331 --user=宋天阳 【测试跟踪】列表点击执行按钮,没有运行UI的用例,报告内没有UI的结果 https://www.tapd.cn/55049933/s/1348989
This commit is contained in:
parent
ca541bd8af
commit
dcc0370685
|
@ -911,14 +911,13 @@ public class TestPlanService {
|
|||
LogUtil.error("测试计划执行查询场景用例失败!", e);
|
||||
}
|
||||
}
|
||||
if (MapUtils.isNotEmpty(reportInfoDTO.getPlanScenarioIdMap())) {
|
||||
if (MapUtils.isNotEmpty(reportInfoDTO.getUiScenarioIdMap())) {
|
||||
try {
|
||||
uiScenarios = planTestPlanUiScenarioCaseService.getFailureListByIds(reportInfoDTO.getPlanScenarioIdMap().keySet());
|
||||
uiScenarios = planTestPlanUiScenarioCaseService.getFailureListByIds(reportInfoDTO.getUiScenarioIdMap().keySet());
|
||||
} catch (Exception e) {
|
||||
LogUtil.error("测试计划执行查询UI用例失败!", e);
|
||||
}
|
||||
}
|
||||
|
||||
if (CollectionUtils.isNotEmpty(apiTestCases)) {
|
||||
//执行接口案例任务
|
||||
LoggerUtil.info("开始执行测试计划接口用例 " + planReportId);
|
||||
|
|
Loading…
Reference in New Issue