feat(测试跟踪): UI测试计划执行报告优化

--story=1010666 --user=张大海 【UI测试】测试计划执行报告优化 https://www.tapd.cn/55049933/s/1312736
This commit is contained in:
zhangdahai112 2022-12-05 23:15:23 +08:00 committed by f2c-ci-robot[bot]
parent a540700075
commit 54278943ff
3 changed files with 6 additions and 2 deletions

View File

@ -59,7 +59,9 @@
shareId,
isPlanReport: true,
isTemplate,
response
response,
showCancelButton: false,
showReportNameButton: false
}"/>
<UiShareReportDetail
v-else

View File

@ -165,7 +165,8 @@
<!-- 执行结果 -->
<el-drawer :visible.sync="runVisible" :destroy-on-close="true" direction="ltr" :withHeader="true" :modal="false"
size="90%">
<micro-app :to="`/ui/report/view/${reportId}?showCancelButton=false`" service="ui"/>
<micro-app :to="`/ui/report/view/${reportId}`" route-name="ApiReportView"
:route-params="{showCancelButton: false, reportId}" service="ui"/>
</el-drawer>
</div>
</el-card>

View File

@ -35,6 +35,7 @@ const TRACK_HEADER = {
{id: 'testPlanTestCaseCount', key: 'g', label: 'test_track.plan.test_plan_test_case_count'},
{id: 'testPlanApiCaseCount', key: 'h', label: 'test_track.plan.test_plan_api_case_count'},
{id: 'testPlanApiScenarioCount', key: 'i', label: 'test_track.plan.test_plan_api_scenario_count'},
{id: 'testPlanUiScenarioCount', key: 'l', label: 'test_track.plan.test_plan_ui_scenario_count', xpack: true},
{id: 'testPlanLoadCaseCount', key: 'j', label: 'test_track.plan.test_plan_load_case_count'},
{id: 'principalName', key: 'k', label: 'test_track.plan.plan_principal'},
],