fix(测试计划): 修复测试计划无法查看ui报告的问题

修复测试计划无法查看ui报告的问题
This commit is contained in:
song-tianyang 2023-03-14 12:39:08 +08:00 committed by 建国
parent ac9afccb6c
commit 6b2061547c
1 changed files with 2 additions and 2 deletions

View File

@ -1335,8 +1335,8 @@ public class TestPlanReportService {
//查找UI测试报告结果 //查找UI测试报告结果
if (DiscoveryUtil.hasService(MicroServiceName.UI_TEST)) { if (DiscoveryUtil.hasService(MicroServiceName.UI_TEST)) {
LogUtil.info("测试计划报告【" + testPlanReportContentWithBLOBs.getTestPlanReportId() + "】开始查找UI测试报告结果"); LogUtil.info("测试计划报告【" + testPlanReportContentWithBLOBs.getTestPlanReportId() + "】开始查找UI测试报告结果");
Map<String, String> testPlanLoadCaseIdAndReportIdMap = this.parseCaseReportMap(testPlanReportContentWithBLOBs.getPlanLoadCaseReportStruct()); Map<String, String> testPlanUiCaseIdAndReportIdMap = this.parseCaseReportMap(testPlanReportContentWithBLOBs.getPlanUiScenarioReportStruct());
if (MapUtils.isNotEmpty(testPlanLoadCaseIdAndReportIdMap)) { if (MapUtils.isNotEmpty(testPlanUiCaseIdAndReportIdMap)) {
ApiPlanReportRequest request = new ApiPlanReportRequest(); ApiPlanReportRequest request = new ApiPlanReportRequest();
request.setConfig(reportConfig); request.setConfig(reportConfig);
request.setPlanId(testPlanId); request.setPlanId(testPlanId);