From 2060d78fba264221d970777ad336c3aeebad26e5 Mon Sep 17 00:00:00 2001 From: song-tianyang Date: Thu, 20 Oct 2022 15:03:13 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=B5=8B=E8=AF=95=E8=B7=9F=E8=B8=AA):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E6=8A=A5?= =?UTF-8?q?=E5=91=8A=E4=B8=8D=E6=98=BE=E7=A4=BA=E8=AF=AF=E6=8A=A5=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E7=9A=84=E7=BC=BA=E9=99=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1018536 --user=宋天阳 【测试跟踪】测试报告-接口用例统计分析-测试结果,没统计误报状态的接口用例和场景用例 https://www.tapd.cn/55049933/s/1269579 --- test-track/frontend/src/business/utils/constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test-track/frontend/src/business/utils/constants.js b/test-track/frontend/src/business/utils/constants.js index 06092e1d11..a4ccce5ca8 100644 --- a/test-track/frontend/src/business/utils/constants.js +++ b/test-track/frontend/src/business/utils/constants.js @@ -1,4 +1,5 @@ import i18n from "@/i18n"; + export const REPORT_STATUS_MAP = new Map([ ["success", {name: i18n.t('test_track.plan_view.pass'), itemStyle: {color: '#67C23A'}}], ["Success", {name: i18n.t('test_track.plan_view.pass'), itemStyle: {color: '#67C23A'}}], @@ -13,6 +14,6 @@ export const REPORT_STATUS_MAP = new Map([ ["PENDING", {name: i18n.t('api_test.home_page.detail_card.unexecute'), itemStyle: {color: '#909399'}}], ["Underway", {name: i18n.t('api_test.home_page.detail_card.unexecute'), itemStyle: {color: '#909399'}}], ["RERUNNING", {name: i18n.t('api_test.home_page.detail_card.unexecute'), itemStyle: {color: '#909399'}}], - ["errorReportResult", {name: i18n.t('error_report_library.option.name'), itemStyle: {color: '#F6972A'}}], + ["FAKE_ERROR", {name: i18n.t('error_report_library.option.name'), itemStyle: {color: '#F6972A'}}], ["run", {name: i18n.t('test_track.plan_view.running'), itemStyle: {color: '#DEDE10'}}], ]);