fix: 测试用例保存判断
This commit is contained in:
parent
9e0653947c
commit
0c5404b0e4
|
@ -282,15 +282,18 @@
|
|||
+ this.$t('test_track.length_less_than') + '300');
|
||||
return;
|
||||
}
|
||||
if (!result.actualResult) {
|
||||
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.actual_result')
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (!result.executeResult) {
|
||||
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.execution_result')
|
||||
);
|
||||
return;
|
||||
|
||||
if (this.testCase.method != 'auto') {
|
||||
if (!result.actualResult) {
|
||||
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.actual_result')
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (!result.executeResult) {
|
||||
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.execution_result')
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue