fix(接口定义): 修复接口报告高级搜索触发方式只有手动触发的缺陷 (#16021)
--bug=1015097 --user=王孝刚 【接口测试】接口测试报告页高级搜索-触发方式只有手动触发,还应该有定时任务,API调用和批量执行 https://www.tapd.cn/55049933/s/1205685 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
d59502a4d3
commit
341807b850
|
@ -314,9 +314,9 @@ export const EXECUTOR = {
|
|||
|
||||
export const ISREFERENCE = {
|
||||
key: "isReference",
|
||||
name: 'MsTableSearchSelect',
|
||||
label: 'api_test.scenario.reference',
|
||||
operator: {
|
||||
name: 'MsTableSearchSelect',
|
||||
label: 'api_test.scenario.reference',
|
||||
operator: {
|
||||
options: [OPERATORS.IN]
|
||||
},
|
||||
options: [
|
||||
|
@ -324,7 +324,7 @@ export const ISREFERENCE = {
|
|||
{value: 'true', label: 'commons.yes'},
|
||||
{value: 'false', label: 'commons.no'}
|
||||
],
|
||||
props: { // 尾部控件的props,一般为element ui控件的props
|
||||
props: { // 尾部控件的props,一般为element ui控件的props
|
||||
multiple: false
|
||||
}
|
||||
}
|
||||
|
@ -337,9 +337,25 @@ export const TRIGGER_MODE = {
|
|||
options: [OPERATORS.IN, OPERATORS.NOT_IN]
|
||||
},
|
||||
options: [
|
||||
{label: "commons.trigger_mode.manual", value: "MANUAL"},
|
||||
// {label: "commons.trigger_mode.schedule", value: "SCHEDULE"},
|
||||
// {label: "commons.trigger_mode.api", value: "API"}
|
||||
{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
|
||||
}
|
||||
}
|
||||
//ui报告触发方式
|
||||
export const UI_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'},
|
||||
],
|
||||
props: {
|
||||
multiple: true
|
||||
|
@ -580,7 +596,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];
|
||||
export const UI_REPORT_CONFIGS = [NAME, TEST_NAME, CREATE_TIME, UI_REPORT_STATUS, CREATOR, UI_TRIGGER_MODE];
|
||||
|
||||
export const TEST_CASE_CONFIGS = [NAME, API_TAGS, MODULE, PRIORITY, CREATE_TIME, UPDATE_TIME, CREATOR, CASE_REVIEW_STATUS];
|
||||
|
||||
|
@ -588,11 +604,11 @@ export const TEST_PLAN_CONFIGS = [NAME, UPDATE_TIME, CREATE_TIME, PRINCIPAL, TES
|
|||
|
||||
export const API_DEFINITION_CONFIGS = [NAME, API_METHOD, API_PATH, API_STATUS, API_TAGS, UPDATE_TIME, CREATE_TIME, PRINCIPALAPI, ISREFERENCE];
|
||||
|
||||
export const API_CASE_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, API_CASE_RESULT, UPDATE_TIME, CREATE_TIME, CREATOR,ISREFERENCE];
|
||||
export const API_CASE_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, API_CASE_RESULT, UPDATE_TIME, CREATE_TIME, CREATOR, ISREFERENCE];
|
||||
|
||||
export const API_SCENARIO_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, API_SCENARIO_RESULT, UPDATE_TIME, CREATE_TIME, CREATOR];
|
||||
|
||||
export const TEST_PLAN_REPORT_CONFIGS = [NAME, TEST_PLAN_NAME,CREATOR, CREATE_TIME, TEST_PLAN_TRIGGER_MODE, TEST_PLAN_REPORT_STATUS];
|
||||
export const TEST_PLAN_REPORT_CONFIGS = [NAME, TEST_PLAN_NAME, CREATOR, CREATE_TIME, TEST_PLAN_TRIGGER_MODE, TEST_PLAN_REPORT_STATUS];
|
||||
|
||||
// 测试计划 功能用例
|
||||
export const TEST_PLAN_TEST_CASE_CONFIGS = [NAME, API_TAGS, MODULE, PRIORITY, CREATE_TIME, UPDATE_TIME, EXECUTOR, CASE_REVIEW_STATUS, PLAN_CASE_STATUS];
|
||||
|
@ -602,9 +618,9 @@ export const TEST_PLAN_RELEVANCE_FUNC_CONFIGS = [NAME, API_TAGS, CREATE_TIME, UP
|
|||
export const TEST_PLAN_RELEVANCE_API_DEFINITION_CONFIGS = [NAME, API_METHOD, API_PATH, API_TAGS, UPDATE_TIME, CREATE_TIME, CREATOR];
|
||||
export const TEST_PLAN_RELEVANCE_API_CASE_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, UPDATE_TIME, CREATOR];
|
||||
export const TEST_PLAN_RELEVANCE_API_SCENARIO_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, API_SCENARIO_RESULT, CREATE_TIME, UPDATE_TIME, CREATOR];
|
||||
export const TEST_PLAN_RELEVANCE_LOAD_CASE= [NAME, STATUS, CREATE_TIME, UPDATE_TIME, CREATOR];
|
||||
export const TEST_PLAN_RELEVANCE_LOAD_CASE = [NAME, STATUS, CREATE_TIME, UPDATE_TIME, CREATOR];
|
||||
|
||||
// 测试用例关联测试
|
||||
export const TEST_CASE_RELEVANCE_API_CASE_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, CREATOR];
|
||||
export const TEST_CASE_RELEVANCE_API_SCENARIO_CONFIGS = [NAME, API_CASE_PRIORITY, API_TAGS, CREATOR];
|
||||
export const TEST_CASE_RELEVANCE_LOAD_CASE= [NAME, STATUS, CREATE_TIME, UPDATE_TIME, CREATOR];
|
||||
export const TEST_CASE_RELEVANCE_LOAD_CASE = [NAME, STATUS, CREATE_TIME, UPDATE_TIME, CREATOR];
|
||||
|
|
Loading…
Reference in New Issue