fix(消息通知): 修改测试计划定时任务变量不能获取的问题
--bug=1010513 --user=刘瑞斌 【测试跟踪】-测试计划-定时执行-飞书/钉钉/企业微信机器人通知中无测试报告链接 https://www.tapd.cn/55049933/s/1107858
This commit is contained in:
parent
edd4b9e486
commit
df8de40201
|
@ -153,13 +153,13 @@ export default {
|
||||||
'<body>\n' +
|
'<body>\n' +
|
||||||
'<div>\n' +
|
'<div>\n' +
|
||||||
' <div style="margin-left: 100px">\n' +
|
' <div style="margin-left: 100px">\n' +
|
||||||
' ${operator}执行接口测试成功: ${name}, 报告: ${reportUrl}' +
|
' ${operator}执行接口测试成功: ${name}, 报告: ${planShareUrl}' +
|
||||||
' </div>\n' +
|
' </div>\n' +
|
||||||
'\n' +
|
'\n' +
|
||||||
'</div>\n' +
|
'</div>\n' +
|
||||||
'</body>\n' +
|
'</body>\n' +
|
||||||
'</html>',
|
'</html>',
|
||||||
robotTitle: "${operator}执行接口测试成功: ${name}, 报告: ${reportUrl}",
|
robotTitle: "${operator}执行接口测试成功: ${name}, 报告: ${planShareUrl}",
|
||||||
scheduleTask: [{
|
scheduleTask: [{
|
||||||
taskType: "scheduleTask",
|
taskType: "scheduleTask",
|
||||||
event: "",
|
event: "",
|
||||||
|
@ -265,6 +265,10 @@ export default {
|
||||||
label: this.$t('test_track.pass_rate'),
|
label: this.$t('test_track.pass_rate'),
|
||||||
value: 'passRate',
|
value: 'passRate',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: this.$t('report.plan_share_url'),
|
||||||
|
value: 'planShareUrl',
|
||||||
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue