fix(测试计划): 失败用例统计未包含阻塞用例

This commit is contained in:
shiziyuan9527 2021-03-23 14:39:31 +08:00
parent 8c768895d4
commit a072f3992d
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ public class ReportFailureAdvanceResultComponent extends ReportComponent {
@Override
public void readRecord(TestPlanCaseDTO testCase) {
if (StringUtils.equals(testCase.getStatus(), TestPlanTestCaseStatus.Failure.name())) {
if (StringUtils.equals(testCase.getStatus(), TestPlanTestCaseStatus.Failure.name()) ||
StringUtils.equals(testCase.getStatus(), TestPlanTestCaseStatus.Blocking.name())) {
this.functionalTestCases.add(testCase);
}
}