feat(测试计划): 创建测试计划允许自动更新状态

This commit is contained in:
xinxin.wu 2024-07-12 16:50:52 +08:00 committed by Craftsman
parent b97ae530f9
commit f65edc53bc
3 changed files with 16 additions and 1 deletions

View File

@ -196,7 +196,7 @@
tags: [], tags: [],
description: '', description: '',
testPlanning: false, testPlanning: false,
automaticStatusUpdate: true, automaticStatusUpdate: false,
repeatCase: false, repeatCase: false,
passThreshold: 100, passThreshold: 100,
type: testPlanTypeEnum.TEST_PLAN, type: testPlanTypeEnum.TEST_PLAN,
@ -273,6 +273,12 @@
tooltipPosition: 'bl', tooltipPosition: 'bl',
desc: ['testPlan.planForm.repeatCaseTip1', 'testPlan.planForm.repeatCaseTip2'], desc: ['testPlan.planForm.repeatCaseTip1', 'testPlan.planForm.repeatCaseTip2'],
}, },
{
key: 'automaticStatusUpdate',
label: 'testPlan.planForm.allowUpdateStatus',
tooltipPosition: 'bl',
desc: ['testPlan.planForm.enableAutomaticStatusTip', 'testPlan.planForm.closeAutomaticStatusTip'],
},
]; ];
function handleCancel() { function handleCancel() {

View File

@ -81,12 +81,17 @@ export default {
'testPlan.planForm.testPlanGroupRequired': 'Plan group cannot be empty', 'testPlan.planForm.testPlanGroupRequired': 'Plan group cannot be empty',
'testPlan.planForm.planStartAndEndTime': 'Planned start and end time', 'testPlan.planForm.planStartAndEndTime': 'Planned start and end time',
'testPlan.planForm.associateRepeatCase': 'Allow associated duplicate cases', 'testPlan.planForm.associateRepeatCase': 'Allow associated duplicate cases',
'testPlan.planForm.allowUpdateStatus': 'Allows automatic status updates',
'testPlan.planForm.passThreshold': 'Pass threshold', 'testPlan.planForm.passThreshold': 'Pass threshold',
'testPlan.planForm.passThresholdRequired': 'Pass threshold cannot be empty', 'testPlan.planForm.passThresholdRequired': 'Pass threshold cannot be empty',
'testPlan.planForm.createTo': 'Create to', 'testPlan.planForm.createTo': 'Create to',
'testPlan.planForm.selectPlanGroup': 'Select plan group', 'testPlan.planForm.selectPlanGroup': 'Select plan group',
'testPlan.planForm.repeatCaseTip1': 'Enable: Repeatedly associate the same case', 'testPlan.planForm.repeatCaseTip1': 'Enable: Repeatedly associate the same case',
'testPlan.planForm.repeatCaseTip2': 'Close: Cannot be associated with the same case repeatedly', 'testPlan.planForm.repeatCaseTip2': 'Close: Cannot be associated with the same case repeatedly',
'testPlan.planForm.enableAutomaticStatusTip':
'Enable: function cases associated interface/UI/case execution successful performance, function of the use case status automatically updated to success',
'testPlan.planForm.closeAutomaticStatusTip':
'Close: the function of use case execution result is not affected by the interface/UI/performance',
'testPlan.planForm.passThresholdTip': 'If the pass rate reaches the specified pass threshold, the result is passed', 'testPlan.planForm.passThresholdTip': 'If the pass rate reaches the specified pass threshold, the result is passed',
'testPlan.planForm.pickCases': 'Select cases', 'testPlan.planForm.pickCases': 'Select cases',
'testPlan.testPlanDetail.executed': 'Executed', 'testPlan.testPlanDetail.executed': 'Executed',

View File

@ -78,12 +78,16 @@ export default {
'testPlan.planForm.testPlanGroupRequired': '计划组不能为空', 'testPlan.planForm.testPlanGroupRequired': '计划组不能为空',
'testPlan.planForm.planStartAndEndTime': '计划起止时间', 'testPlan.planForm.planStartAndEndTime': '计划起止时间',
'testPlan.planForm.associateRepeatCase': '允许关联重复用例', 'testPlan.planForm.associateRepeatCase': '允许关联重复用例',
'testPlan.planForm.allowUpdateStatus': '允许自动更新状态',
'testPlan.planForm.passThreshold': '通过阀值', 'testPlan.planForm.passThreshold': '通过阀值',
'testPlan.planForm.passThresholdRequired': '通过阀值不能为空', 'testPlan.planForm.passThresholdRequired': '通过阀值不能为空',
'testPlan.planForm.createTo': '创建到', 'testPlan.planForm.createTo': '创建到',
'testPlan.planForm.selectPlanGroup': '选择计划组', 'testPlan.planForm.selectPlanGroup': '选择计划组',
'testPlan.planForm.repeatCaseTip1': '开启:可重复关联同一个用例', 'testPlan.planForm.repeatCaseTip1': '开启:可重复关联同一个用例',
'testPlan.planForm.repeatCaseTip2': '关闭:不可重复关联同一用例', 'testPlan.planForm.repeatCaseTip2': '关闭:不可重复关联同一用例',
'testPlan.planForm.enableAutomaticStatusTip':
'开启:功能用例关联的接口/UI/性能用例执行成功,功能用例的状态自动更新为成功',
'testPlan.planForm.closeAutomaticStatusTip': '关闭:功能用例的执行结果不受接口/UI/性能的影响',
'testPlan.planForm.passThresholdTip': '通过率达到设置的通过阈值时,报告结果为通过', 'testPlan.planForm.passThresholdTip': '通过率达到设置的通过阈值时,报告结果为通过',
'testPlan.planForm.pickCases': '选择用例', 'testPlan.planForm.pickCases': '选择用例',
'testPlan.testPlanDetail.executed': '已执行', 'testPlan.testPlanDetail.executed': '已执行',