Commit 5f8d2a73 authored by wenyann's avatar wenyann
Browse files

fix: 测试用例保存判断

Showing with 11 additions and 9 deletions
+11 -9
......@@ -282,15 +282,17 @@
+ 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;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment