在提交Case结论时增加防呆处理
This commit is contained in:
parent
2543d9416a
commit
fc39278cae
|
@ -282,6 +282,18 @@
|
||||||
+ this.$t('test_track.length_less_than') + '300');
|
+ this.$t('test_track.length_less_than') + '300');
|
||||||
return;
|
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);
|
param.results.push(result);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -386,6 +386,8 @@ export default {
|
||||||
recent_plan: "Recent plan",
|
recent_plan: "Recent plan",
|
||||||
recent_case: "Recent case",
|
recent_case: "Recent case",
|
||||||
pass_rate: "Pass rate",
|
pass_rate: "Pass rate",
|
||||||
|
execution_result: ": Please select the execution result",
|
||||||
|
actual_result: ": The actual result is empty",
|
||||||
case: {
|
case: {
|
||||||
test_case: "Case",
|
test_case: "Case",
|
||||||
move: "Move case",
|
move: "Move case",
|
||||||
|
|
|
@ -384,6 +384,9 @@ export default {
|
||||||
recent_plan: "最近的计划",
|
recent_plan: "最近的计划",
|
||||||
recent_case: "最近的用例",
|
recent_case: "最近的用例",
|
||||||
pass_rate: "通过率",
|
pass_rate: "通过率",
|
||||||
|
execution_result: ": 请选择执行结果",
|
||||||
|
actual_result: ": 实际结果为空",
|
||||||
|
|
||||||
case: {
|
case: {
|
||||||
test_case: "测试用例",
|
test_case: "测试用例",
|
||||||
move: "移动用例",
|
move: "移动用例",
|
||||||
|
|
|
@ -384,6 +384,8 @@ export default {
|
||||||
recent_plan: "最近的計劃",
|
recent_plan: "最近的計劃",
|
||||||
recent_case: "最近的用例",
|
recent_case: "最近的用例",
|
||||||
pass_rate: "通過率",
|
pass_rate: "通過率",
|
||||||
|
execution_result: ": 請選擇執行結果",
|
||||||
|
actual_result: ": 實際結果為空",
|
||||||
case: {
|
case: {
|
||||||
test_case: "測試用例",
|
test_case: "測試用例",
|
||||||
move: "移動用例",
|
move: "移動用例",
|
||||||
|
|
Loading…
Reference in New Issue