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