fix(接口测试): 修复高级搜索中执行结果缺少状态的缺陷

--bug=1017179 --user=宋天阳 【接口测试】场景-回收站/场景列表-高级搜索-执行结果缺少状态
https://www.tapd.cn/55049933/s/1258856;--bug=1017183 --user=宋天阳
【接口测试】case列表/case-回收站-高级搜索-执行结果和列表选项不一致
https://www.tapd.cn/55049933/s/1258852
This commit is contained in:
song-tianyang 2022-10-11 18:25:54 +08:00 committed by 建国
parent 823f87bca6
commit 7ea49572f2
1 changed files with 14 additions and 6 deletions

View File

@ -219,10 +219,13 @@ export const API_CASE_RESULT = {
options: [OPERATORS.IN, OPERATORS.NOT_IN]
},
options: [
{value: 'success', label: 'api_test.automation.success'},
{value: 'error', label: 'api_test.automation.fail'},
{value: '', label: 'api_test.home_page.detail_card.unexecute'},
{value: 'Running', label: 'commons.testing'}
{text: 'Pending', value: 'PENDING'},
{text: 'Running', value: 'RUNNING'},
{text: 'Rerunning', value: 'RERUNNING'},
{text: 'Success', value: 'SUCCESS'},
{text: 'Error', value: 'ERROR'},
{text: "FakeError", value: 'FAKE_ERROR'},
{text: 'Stopped', value: 'STOPPED'},
],
props: { // 尾部控件的props一般为element ui控件的props
multiple: true
@ -237,8 +240,13 @@ export const API_SCENARIO_RESULT = {
options: [OPERATORS.IN, OPERATORS.NOT_IN]
},
options: [
{value: 'Success', label: 'api_test.automation.success'},
{value: 'Fail', label: 'api_test.automation.fail'}
{text: 'Pending', value: 'PENDING'},
{text: 'Running', value: 'RUNNING'},
{text: 'Rerunning', value: 'RERUNNING'},
{text: 'Success', value: 'SUCCESS'},
{text: 'Error', value: 'ERROR'},
{text: "FakeError", value: 'FAKE_ERROR'},
{text: 'Stopped', value: 'STOPPED'},
],
props: { // 尾部控件的props一般为element ui控件的props
multiple: true