fix: 测试用例保存判断

This commit is contained in:
wenyann 2020-07-17 15:41:14 +08:00
parent aeeed5a37d
commit 5f8d2a7374
1 changed files with 11 additions and 9 deletions

View File

@ -282,15 +282,17 @@
+ this.$t('test_track.length_less_than') + '300'); + this.$t('test_track.length_less_than') + '300');
return; return;
} }
if (!result.actualResult) { if (this.testCase.method != 'auto') {
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.actual_result') if (!result.actualResult) {
); this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.actual_result')
return; );
} return;
if (!result.executeResult) { }
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.execution_result') if (!result.executeResult) {
); this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.execution_result')
return; );
return;
}
} }