refactor: 执行结果不填时,测试用例可通过
This commit is contained in:
parent
6d6506a3cb
commit
1582a46534
|
@ -261,7 +261,7 @@
|
|||
},
|
||||
test: {},
|
||||
activeTab: 'detail',
|
||||
isFailure: false,
|
||||
isFailure: true,
|
||||
};
|
||||
},
|
||||
props: {
|
||||
|
@ -447,7 +447,7 @@
|
|||
stepResultChange() {
|
||||
if (this.testCase.method == 'manual') {
|
||||
this.isFailure = this.testCase.steptResults.filter(s => {
|
||||
return !s.executeResult || s.executeResult === 'Failure' || s.executeResult === 'Blocking';
|
||||
return s.executeResult === 'Failure' || s.executeResult === 'Blocking';
|
||||
}).length > 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue