fix(UI 自动化): UI测试计划通过率计算错误修复

This commit is contained in:
zhangdahai112 2022-07-20 18:39:43 +08:00 committed by jianxing
parent 8f133219f3
commit d084fb13a3
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ public class TestPlanService {
uiScenarioExecResults.forEach(item -> { uiScenarioExecResults.forEach(item -> {
if (StringUtils.isNotBlank(item)) { if (StringUtils.isNotBlank(item)) {
testPlan.setTested(testPlan.getTested() + 1); testPlan.setTested(testPlan.getTested() + 1);
if (StringUtils.equals(item, "success")) { if (StringUtils.equals(item, "Success")) {
testPlan.setPassed(testPlan.getPassed() + 1); testPlan.setPassed(testPlan.getPassed() + 1);
} }
} }