diff --git a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java index 0f87a58823..87003f408d 100644 --- a/backend/src/main/java/io/metersphere/track/service/TestPlanService.java +++ b/backend/src/main/java/io/metersphere/track/service/TestPlanService.java @@ -430,7 +430,7 @@ public class TestPlanService { uiScenarioExecResults.forEach(item -> { if (StringUtils.isNotBlank(item)) { testPlan.setTested(testPlan.getTested() + 1); - if (StringUtils.equals(item, "success")) { + if (StringUtils.equals(item, "Success")) { testPlan.setPassed(testPlan.getPassed() + 1); } }