fix(接口测试): 修复场景步骤中含有误报结果的步骤时统计数量有误的问题

--bug=1012755 --user=宋天阳 【项目设置】-开启误报-添加误报单-执行场景结果是误报,报告显示未执行
https://www.tapd.cn/55049933/s/1147995
This commit is contained in:
song-tianyang 2022-04-26 15:19:09 +08:00 committed by xiaomeinvG
parent 0bf836715c
commit c8522ee402
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ public class ApiScenarioReportStructureService {
failCount++;
} else if (StringUtils.equalsIgnoreCase(child.getTotalStatus(), "success")) {
successCount++;
} else if (StringUtils.equalsIgnoreCase(child.getTotalStatus(), "errorCode")) {
} else if (StringUtils.equalsAnyIgnoreCase(child.getTotalStatus(), "errorCode", "errorReportResult")) {
errorReportCount++;
}
}