fix(接口测试): 修复重跑未过滤误报结果

--bug=1015206 --user=赵勇 【接口测试】失败重跑,返回200的误报状态的接口也重跑了 https://www.tapd.cn/55049933/s/1209786
This commit is contained in:
fit2-zhao 2022-07-25 14:09:02 +08:00 committed by f2c-ci-robot[bot]
parent 047ad4eb01
commit 4f1f2f1383
2 changed files with 2 additions and 2 deletions

View File

@ -482,7 +482,7 @@
INNER JOIN api_test_case c ON r.resource_id = c.id
AND c.`status` != 'Trash'
WHERE
r.STATUS != 'success'
r.status not in ('success','errorReportResult','errorReport')
AND r.integrated_report_id = #{reportId}
ORDER BY
r.create_time ASC

View File

@ -211,7 +211,7 @@ export default {
if (hasLicense() && this.fullTreeNodes && this.fullTreeNodes.length > 0 && !this.isShare) {
this.fullTreeNodes.forEach(item => {
item.redirect = true;
if (item.totalStatus === 'fail' || item.unExecuteTotal > 0
if (item.totalStatus === 'fail' || item.totalStatus === 'error' || item.unExecuteTotal > 0
|| (item.type === "API" && item.totalStatus === 'unexecute')) {
this.showRerunButton = true;
}