fix(测试跟踪): 修复测试计划里接口用例批量执行选择新环境执行失效问题
--user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001020243
This commit is contained in:
parent
465413c0be
commit
b4b6db4a6e
|
@ -627,6 +627,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleRunBatch(config) {
|
handleRunBatch(config) {
|
||||||
let obj = {planIds: this.testPlanCaseIds, config: config, triggerMode: "BATCH",projectId: getCurrentProjectID()};
|
let obj = {planIds: this.testPlanCaseIds, config: config, triggerMode: "BATCH",projectId: getCurrentProjectID()};
|
||||||
|
obj.config.envMap = strMapToObj(config.envMap);
|
||||||
testPlanApiCaseRun(obj)
|
testPlanApiCaseRun(obj)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.$message(this.$t('commons.run_message'));
|
this.$message(this.$t('commons.run_message'));
|
||||||
|
|
|
@ -470,6 +470,7 @@ export default {
|
||||||
rows.forEach(row => {
|
rows.forEach(row => {
|
||||||
this.buildExecuteParam(param, row);
|
this.buildExecuteParam(param, row);
|
||||||
});
|
});
|
||||||
|
param.config.envMap = strMapToObj(config.envMap);
|
||||||
param.condition = selectParam.condition;
|
param.condition = selectParam.condition;
|
||||||
param.triggerMode = "BATCH";
|
param.triggerMode = "BATCH";
|
||||||
param.requestOriginator = "TEST_PLAN";
|
param.requestOriginator = "TEST_PLAN";
|
||||||
|
|
Loading…
Reference in New Issue