|
|
|
@ -11,5 +11,10 @@ export function getTreeComponents(params?: { name: string, identifier: string, r
|
|
|
|
|
|
|
|
|
|
|
|
// 查询单个组件的测试用例列表
|
|
|
|
// 查询单个组件的测试用例列表
|
|
|
|
export function getComponentTestCaseList(params?: { componentBaseId: string, identifier: string }) {
|
|
|
|
export function getComponentTestCaseList(params?: { componentBaseId: string, identifier: string }) {
|
|
|
|
return axios.get(`${urlPrefix}componentTestCase/tree/testcase`, { params });
|
|
|
|
return axios.get(`${urlPrefix}/componentTestCase/tree/testcase`, { params });
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 提交测试用例
|
|
|
|
|
|
|
|
export function submitTestCase(params) {
|
|
|
|
|
|
|
|
return axios.post(`${urlPrefix}/componentTestCase/submit`, params);
|
|
|
|
}
|
|
|
|
}
|