fix(接口测试): 优化误报编码样式
--bug=1011596 --user=宋天阳 【接口测试】场景执行-误报-响应码和误报描述未对齐显示 https://www.tapd.cn/55049933/s/1124057
This commit is contained in:
parent
e384e17a72
commit
a8d28b9570
|
@ -228,6 +228,10 @@ public class ApiTestCaseService {
|
|||
if (updateUser != null) {
|
||||
caseResult.setUpdateUser(updateUser.getName());
|
||||
}
|
||||
//检查用例的执行状态是否是null(如果报告被删除)。 如果执行结果是null,取记录最后执行状态的status字段
|
||||
if(caseResult.getExecResult() == null && StringUtils.isNotEmpty(caseResult.getStatus()) && !StringUtils.equalsIgnoreCase(caseResult.getStatus(),"trash")){
|
||||
caseResult.setExecResult(caseResult.getStatus());
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{{ responseResult && responseResult.responseCode ? responseResult.responseCode : '0' }}
|
||||
</div>
|
||||
<div v-if="response && response.attachInfoMap && response.attachInfoMap.errorReportResult">
|
||||
<div class="ms-req-error-report-result">
|
||||
<div class="node-title ms-req-error-report-result" style="margin-left: 0px;padding-left: 0px">
|
||||
{{ response.attachInfoMap.errorReportResult }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue