fix(UI 自动化): UI测试计划通过率计算错误修复
This commit is contained in:
parent
8f133219f3
commit
d084fb13a3
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue