fix(接口定义): 修复接口报告高级搜索触发方式只有手动触发的缺陷 (#16022)

--bug=1015097 --user=王孝刚
【接口测试】接口测试报告页高级搜索-触发方式只有手动触发,还应该有定时任务,API调用和批量执行
https://www.tapd.cn/55049933/s/1205685

Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
MeterSphere Bot 2022-07-21 11:36:38 +08:00 committed by GitHub
parent 4472c320bd
commit 60f61deec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 22 additions and 4 deletions

View File

@ -345,6 +345,24 @@ export const ISREFERENCE = {
}
// 触发方式
export const TRIGGER_MODE = {
key: "triggerMode",
name: 'MsTableSearchSelect',
label: 'commons.trigger_mode.name',
operator: {
options: [OPERATORS.IN, OPERATORS.NOT_IN]
},
options: [
{label: 'test_track.report.trigger_mode.manual', value: 'manual'},
{label: 'commons.trigger_mode.schedule', value: 'SCHEDULE'},
{label: 'commons.trigger_mode.api', value: 'API'},
{label: 'api_test.automation.batch_execute', value: 'BATCH'}
],
props: {
multiple: true
}
}
// 触发方式
export const UI_TRIGGER_MODE = {
key: "triggerMode",
name: 'MsTableSearchSelect',
label: 'commons.trigger_mode.name',
@ -629,9 +647,9 @@ export const CASE_DEMAND = {
label: "test_track.related_requirements",
operator: {
options: [{
label: "test_track.demand.third_platform_demand",
value: "third_platform"
},
label: "test_track.demand.third_platform_demand",
value: "third_platform"
},
{
label: "test_track.demand.other_demand",
value: "other_platform"
@ -713,7 +731,7 @@ export const REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, STATUS, CREATOR, TR
export const REPORT_CASE_CONFIGS = [NAME, CREATE_TIME, STATUS, CREATOR, TRIGGER_MODE];
export const UI_REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, UI_REPORT_STATUS, CREATOR, TRIGGER_MODE, UI_MODULE_TREE];
export const UI_REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, UI_REPORT_STATUS, CREATOR, UI_TRIGGER_MODE, UI_MODULE_TREE];
// 测试跟踪-测试用例 列表
export const TEST_CASE_CONFIGS = [ID, NAME, TAGS, TEST_CASE_MODULE_TREE, CREATE_TIME, UPDATE_TIME, CREATOR, CASE_REVIEW_STATUS, FOLLOW_PEOPLE, CASE_DEMAND];