- 查看报告
+ {{ $t('test_track.plan.load_case.view_report') }}
-
@@ -141,10 +141,10 @@ export default {
// name: "批量编辑用例", handleClick: this.handleBatchEdit
// },
{
- name: "批量取消关联", handleClick: this.handleDeleteBatch
+ name: this.$t('test_track.plan.load_case.unlink_in_bulk'), handleClick: this.handleDeleteBatch
},
{
- name: "批量执行用例", handleClick: this.handleRunBatch
+ name: this.$t('test_track.plan.load_case.batch_exec_cases'), handleClick: this.handleRunBatch
}
],
statusFilters: [
@@ -200,7 +200,6 @@ export default {
if (arr.length > 0) {
this.initTable();
} else {
- setTimeout(this.initTable, 3000);
clearInterval(this.refreshScheduler);
}
}, 4000);
@@ -263,7 +262,7 @@ export default {
}).then(() => {
this.$notify({
title: loadCase.caseName,
- message: '正在执行....',
+ message: this.$t('test_track.plan.load_case.exec'),
type: 'success'
});
this.initTable();
@@ -274,7 +273,7 @@ export default {
});
this.$notify.error({
title: loadCase.caseName,
- message: '用例执行错误,请单独调试该用例!'
+ message: this.$t('test_track.plan.load_case.error')
});
})
},
@@ -310,7 +309,7 @@ export default {
if (exist) {
this.$refs.loadCaseReport.drawer = true;
} else {
- this.$warning("报告不存在");
+ this.$warning(this.$t('test_track.plan.load_case.report_not_found'));
// this.initTable();
}
})
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index 2ba6cd5f6b..46b74f7012 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -1103,6 +1103,16 @@ export default {
plan_delete_confirm: "All use cases under this plan will be deleted,confirm delete test plan: ",
plan_delete_tip: "The test plan is under way, please confirm and delete it!",
plan_delete: "Delete test plan",
+ load_case: {
+ execution_status: "Execution status",
+ report: "report",
+ view_report: "View report",
+ unlink_in_bulk: "Unlink in bulk",
+ batch_exec_cases: "Batch execution use cases",
+ exec: "Executing....",
+ error: "Use case execution error, please debug this use case separately!",
+ report_not_found: "Report does not exist",
+ }
},
review: {
test_review: "Test Review",
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index e83f4ebf27..9f7ebec1d7 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -1104,6 +1104,16 @@ export default {
plan_delete_confirm: "将删除该测试计划下所有用例,确认删除测试计划: ",
plan_delete_tip: "该测试计划正在进行中,请确认再删除!",
plan_delete: "删除计划",
+ load_case: {
+ execution_status: "执行状态",
+ report: "报告",
+ view_report: "查看报告",
+ unlink_in_bulk: "批量取消关联",
+ batch_exec_cases: "批量执行用例",
+ exec: "正在执行....",
+ error: "用例执行错误,请单独调试该用例!",
+ report_not_found: "报告不存在",
+ }
},
review: {
test_review: "用例评审",
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index 719de09a8f..e16fea582f 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -1104,6 +1104,16 @@ export default {
plan_delete_confirm: "將刪除該測試計劃下所有用例,確認刪除測試計劃: ",
plan_delete_tip: "該測試計劃正在進行中,請確認再刪除!",
plan_delete: "刪除計劃",
+ load_case: {
+ execution_status: "執行狀態",
+ report: "報告",
+ view_report: "查看報告",
+ unlink_in_bulk: "批量取消關聯",
+ batch_exec_cases: "批量執行用例",
+ exec: "正在執行....",
+ error: "用例執行錯誤,請單獨調試該用例!",
+ report_not_found: "報告不存在",
+ }
},
review: {
test_review: "用例評審",