fix(测试跟踪): 测试计划只关联UI用例不需要资源池

--bug=1029935 --user=宋昌昌 【测试跟踪】测试计划只关联UI用例-应用管理接口执行资源池按钮关闭-执行测试计划提示选择资源池 https://www.tapd.cn/55049933/s/1413401
This commit is contained in:
song-cc-rock 2023-09-06 15:46:58 +08:00 committed by 刘瑞斌
parent 7ab94d291e
commit 930476f914
1 changed files with 5 additions and 3 deletions

View File

@ -1067,15 +1067,17 @@ export default {
if (!this.haveUICase && !haveApiCase && !haveScenarioCase && haveLoadCase) {
//
this.$refs.runMode.handleCommand("run");
} else if (haveApiCase || haveScenarioCase || this.haveUICase) {
} else if (haveApiCase || haveScenarioCase) {
// ,
this.haveOtherExecCase = true;
//ui
this.$refs.runMode.open("API", row.runModeConfig);
} else if (this.haveUICase) {
// UI
this.$refs.runMode.open("", row.runModeConfig);
} else {
//
this.$router.push("/track/plan/view/" + row.id);
}
},
_handleRun(config) {
let defaultPlanEnvMap = config.testPlanDefaultEnvMap;