mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
refactor(测试跟踪): 优化测试报告中的api执行结果统计,增加未执行的图表统计
--bug=1011645 --user=宋天阳 【测试跟踪】-生成的接口测试 报告没有显示 未执行 的百分比 https://www.tapd.cn/55049933/s/1127350
This commit is contained in:
parent
4effc49667
commit
e750b9fdde
@ -51,6 +51,7 @@ public class TestPlanUtils {
|
||||
addToReportStatusResultList(resultMap, statusResult, "success");
|
||||
addToReportStatusResultList(resultMap, statusResult, "Success");
|
||||
addToReportStatusResultList(resultMap, statusResult, "SUCCESS");
|
||||
addToReportStatusResultList(resultMap, statusResult, "STOP");
|
||||
addToReportStatusResultList(resultMap, statusResult, TestPlanTestCaseStatus.Prepare.name());
|
||||
addToReportStatusResultList(resultMap, statusResult, ExecuteResult.errorReportResult.name());
|
||||
}
|
||||
|
@ -43,14 +43,14 @@
|
||||
</el-tab-pane>
|
||||
<el-tab-pane name="errorReport" v-if="content.errorCode > 0">
|
||||
<template slot="label">
|
||||
<span class="fail">{{ $t('error_report_library.option.name') }}</span>
|
||||
<span class="fail" style="color: #F6972A">{{ $t('error_report_library.option.name') }}</span>
|
||||
</template>
|
||||
<ms-scenario-results v-on:requestResult="requestResult" :console="content.console"
|
||||
:treeData="fullTreeNodes" ref="errorReportTree"/>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane name="unExecute" v-if="content.unExecute > 0">
|
||||
<template slot="label">
|
||||
<span class="fail">{{ $t('api_test.home_page.detail_card.unexecute') }}</span>
|
||||
<span class="fail" style="color: #9C9B9A">{{ $t('api_test.home_page.detail_card.unexecute') }}</span>
|
||||
</template>
|
||||
<ms-scenario-results v-on:requestResult="requestResult" :console="content.console"
|
||||
:treeData="fullTreeNodes" ref="unExecuteTree"/>
|
||||
|
@ -2,7 +2,7 @@
|
||||
<div>
|
||||
<el-row >
|
||||
<el-col :span="12" v-if="caseCharData && caseCharData.length > 0">
|
||||
<ms-doughnut-pie-chart :name="$t('api_test.home_page.detail_card.single_case')" :data="caseCharData" ref="functionChar"/>
|
||||
<ms-doughnut-pie-chart style="margin-right: 200px" :name="$t('api_test.home_page.detail_card.single_case')" :data="caseCharData" ref="functionChar"/>
|
||||
</el-col>
|
||||
<el-col :span="12" v-if="scenarioCharData && scenarioCharData.length > 0">
|
||||
<api-scenario-char-result :name="$t('test_track.plan.test_plan_api_scenario_count')" :data="scenarioCharData"/>
|
||||
|
Loading…
Reference in New Issue
Block a user