diff --git a/frontend/src/assets/svg/totalTime.svg b/frontend/src/assets/svg/totalTime.svg new file mode 100644 index 0000000000..ebaedb9ab8 --- /dev/null +++ b/frontend/src/assets/svg/totalTime.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/frontend/src/models/testPlan/testPlanReport.ts b/frontend/src/models/testPlan/testPlanReport.ts index d9be327840..22377882b6 100644 --- a/frontend/src/models/testPlan/testPlanReport.ts +++ b/frontend/src/models/testPlan/testPlanReport.ts @@ -24,6 +24,15 @@ export interface PlanReportDetail { // apiScenarioCount: countDetail; // 接口场景用例分析-用例数 } +export interface ReportMetricsItemModel { + unit: string; + value: number | string; + name: string; + icon: string; + tip?: string; + runMode?: string; +} + export interface StatusListType { label: string; value: keyof countDetail; diff --git a/frontend/src/views/api-test/components/requestComposition/response/result/index.vue b/frontend/src/views/api-test/components/requestComposition/response/result/index.vue index 07f56a4eb8..c7602f41da 100644 --- a/frontend/src/views/api-test/components/requestComposition/response/result/index.vue +++ b/frontend/src/views/api-test/components/requestComposition/response/result/index.vue @@ -160,6 +160,14 @@ const { t } = useI18n(); const responseCompositionTabList = [ + { + label: t('apiTestDebug.extract'), + value: ResponseComposition.EXTRACT, + }, + { + label: t('apiTestDebug.assertion'), + value: ResponseComposition.ASSERTION, + }, { label: t('apiTestDebug.responseBody'), value: ResponseComposition.BODY, @@ -176,14 +184,6 @@ label: t('apiTestDebug.console'), value: ResponseComposition.CONSOLE, }, - { - label: t('apiTestDebug.extract'), - value: ResponseComposition.EXTRACT, - }, - { - label: t('apiTestDebug.assertion'), - value: ResponseComposition.ASSERTION, - }, ]; const activeTab = ref(ResponseComposition.BODY); diff --git a/frontend/src/views/api-test/components/requestComposition/response/result/tiledDisplay.vue b/frontend/src/views/api-test/components/requestComposition/response/result/tiledDisplay.vue index b53ed0ee62..7ef1835304 100644 --- a/frontend/src/views/api-test/components/requestComposition/response/result/tiledDisplay.vue +++ b/frontend/src/views/api-test/components/requestComposition/response/result/tiledDisplay.vue @@ -45,7 +45,7 @@
- +
diff --git a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue index 54a5c3baf7..72ce3d8804 100644 --- a/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue +++ b/frontend/src/views/api-test/management/components/management/case/tabContent/tabCaseExecuteHistory.vue @@ -166,6 +166,7 @@ { title: 'apiTestManagement.taskOperator', dataIndex: 'operationUser', + showTooltip: true, width: 100, }, { @@ -236,7 +237,6 @@ .ms-scroll-bar(); } - .history-table-before { display: flex; justify-content: space-between; diff --git a/frontend/src/views/api-test/report/component/reportDetailHeader.vue b/frontend/src/views/api-test/report/component/reportDetailHeader.vue index 1e870864be..ea9f6da47b 100644 --- a/frontend/src/views/api-test/report/component/reportDetailHeader.vue +++ b/frontend/src/views/api-test/report/component/reportDetailHeader.vue @@ -57,21 +57,6 @@ - - - {{ props.detail.runMode === 'SERIAL' ? t('case.execute.serial') : t('case.execute.parallel') }} - - - -
{{ props.detail.creatUserName || '-' }}