fix(测试跟踪): 修复测试计划失败top10 的用例是跨项目的,该用例跳转链接页面是当前项目问题
--bug=1025817 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001025817
This commit is contained in:
parent
8f743300ce
commit
0b6e43fd10
|
@ -56,10 +56,12 @@
|
||||||
apiScene.testPlanName AS testPlan,
|
apiScene.testPlanName AS testPlan,
|
||||||
apiScene.testPlanId AS testPlanId,
|
apiScene.testPlanId AS testPlanId,
|
||||||
count(executionInfo.id) AS failureTimes,
|
count(executionInfo.id) AS failureTimes,
|
||||||
'scenario' AS caseType
|
'scenario' AS caseType,
|
||||||
|
scene.project_id AS projectId
|
||||||
FROM scenario_execution_info executionInfo
|
FROM scenario_execution_info executionInfo
|
||||||
INNER JOIN (
|
INNER JOIN (
|
||||||
SELECT testPlanScenario.id, testPlanScenario.api_scenario_id, testPlan.id AS testPlanId, testPlan.`name` AS testPlanName
|
SELECT testPlanScenario.id, testPlanScenario.api_scenario_id, testPlan.id AS testPlanId, testPlan.`name` AS
|
||||||
|
testPlanName
|
||||||
FROM test_plan_api_scenario testPlanScenario
|
FROM test_plan_api_scenario testPlanScenario
|
||||||
INNER JOIN test_plan testPlan ON testPlan.id = testPlanScenario.test_plan_id
|
INNER JOIN test_plan testPlan ON testPlan.id = testPlanScenario.test_plan_id
|
||||||
WHERE testPlan.project_id = #{projectId}
|
WHERE testPlan.project_id = #{projectId}
|
||||||
|
|
|
@ -107,7 +107,9 @@ export default {
|
||||||
"/" +
|
"/" +
|
||||||
dataType +
|
dataType +
|
||||||
"/" +
|
"/" +
|
||||||
selectType
|
selectType +
|
||||||
|
"/" +
|
||||||
|
projectId
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case "api":
|
case "api":
|
||||||
|
|
|
@ -205,7 +205,9 @@ export default {
|
||||||
"redirectPage",
|
"redirectPage",
|
||||||
"scenarioWithQuery",
|
"scenarioWithQuery",
|
||||||
"scenario",
|
"scenario",
|
||||||
"edit:" + param
|
"edit:" + param,
|
||||||
|
projectId,
|
||||||
|
null
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case "testCase":
|
case "testCase":
|
||||||
|
|
Loading…
Reference in New Issue