在提交Case结论时增加防呆处理

This commit is contained in:
wenyann 2020-07-09 16:22:51 +08:00
parent 2543d9416a
commit fc39278cae
4 changed files with 19 additions and 0 deletions

View File

@ -282,6 +282,18 @@
+ this.$t('test_track.length_less_than') + '300');
return;
}
if (!result.executeResult) {
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.execution_result')
);
return;
}
if (!result.actualResult) {
this.$warning(this.testCase.steptResults[i].desc + this.$t('test_track.actual_result')
);
return;
}
param.results.push(result);
}

View File

@ -386,6 +386,8 @@ export default {
recent_plan: "Recent plan",
recent_case: "Recent case",
pass_rate: "Pass rate",
execution_result: ": Please select the execution result",
actual_result: ": The actual result is empty",
case: {
test_case: "Case",
move: "Move case",

View File

@ -384,6 +384,9 @@ export default {
recent_plan: "最近的计划",
recent_case: "最近的用例",
pass_rate: "通过率",
execution_result: ": 请选择执行结果",
actual_result: ": 实际结果为空",
case: {
test_case: "测试用例",
move: "移动用例",

View File

@ -384,6 +384,8 @@ export default {
recent_plan: "最近的計劃",
recent_case: "最近的用例",
pass_rate: "通過率",
execution_result: ": 請選擇執行結果",
actual_result: ": 實際結果為空",
case: {
test_case: "測試用例",
move: "移動用例",