fix(测试跟踪): 修复测试计划报告不显示误报状态的缺陷

--bug=1018536 --user=宋天阳 【测试跟踪】测试报告-接口用例统计分析-测试结果,没统计误报状态的接口用例和场景用例
https://www.tapd.cn/55049933/s/1269579
This commit is contained in:
song-tianyang 2022-10-20 15:03:13 +08:00 committed by jianxing
parent 2ce8b4ae7b
commit 2060d78fba
1 changed files with 2 additions and 1 deletions

View File

@ -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'}}],
]);