fix(测试跟踪): 修复测试计划批量执行时报告触发方式不为批量的问题
--bug=1026387 --user=宋天阳 【测试跟踪】测试计划批量执行-查看报告触发方式-仍为手动触发 https://www.tapd.cn/55049933/s/1373930
This commit is contained in:
parent
cacd315da8
commit
260c2dca4c
|
@ -2174,6 +2174,7 @@ public class TestPlanService {
|
|||
}
|
||||
runRequest.setTestPlanId(planExecutionQueue.getTestPlanId());
|
||||
runRequest.setReportId(planExecutionQueue.getReportId());
|
||||
runRequest.setTriggerMode(request.getTriggerMode());
|
||||
runPlan(runRequest);
|
||||
} else {
|
||||
for (TestPlanExecutionQueue planExecutionQueue : planExecutionQueues) {
|
||||
|
@ -2182,6 +2183,7 @@ public class TestPlanService {
|
|||
TestPlanRequestUtil.changeStringToBoolean(jsonObject);
|
||||
TestPlanRunRequest runRequest = JSON.parseObject(JSON.toJSONString(jsonObject), TestPlanRunRequest.class);
|
||||
runRequest.setReportId(planExecutionQueue.getReportId());
|
||||
runRequest.setTriggerMode(request.getTriggerMode());
|
||||
runPlan(runRequest);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -141,10 +141,10 @@
|
|||
:label="$t('test_track.report.list.pass_rate')"
|
||||
>
|
||||
<template v-slot:default="scope">
|
||||
<span>{{
|
||||
(scope.row.passRate ? (scope.row.passRate * 100).toFixed(1) : 0) +
|
||||
"%"
|
||||
}}</span>
|
||||
<span v-if="scope.row.status === 'RUNNING' || scope.row.status === 'Running'"> - </span>
|
||||
<span v-else> {{
|
||||
(scope.row.passRate ? (scope.row.passRate * 100).toFixed(1) : 0) + "%"
|
||||
}}</span>
|
||||
</template>
|
||||
</ms-table-column>
|
||||
</span>
|
||||
|
@ -169,7 +169,7 @@ import MsTablePagination from "metersphere-frontend/src/components/pagination/Ta
|
|||
import MsTableHeader from "metersphere-frontend/src/components/MsTableHeader";
|
||||
import MsTableOperatorButton from "metersphere-frontend/src/components/MsTableOperatorButton";
|
||||
import MsTableOperator from "metersphere-frontend/src/components/MsTableOperator";
|
||||
import { TEST_PLAN_REPORT_CONFIGS } from "metersphere-frontend/src/components/search/search-components";
|
||||
import {TEST_PLAN_REPORT_CONFIGS} from "metersphere-frontend/src/components/search/search-components";
|
||||
import ReportTriggerModeItem from "metersphere-frontend/src/components/tableItem/ReportTriggerModeItem";
|
||||
import MsTag from "metersphere-frontend/src/components/MsTag";
|
||||
import ShowMoreBtn from "metersphere-frontend/src/components/table/ShowMoreBtn";
|
||||
|
@ -180,7 +180,7 @@ import {
|
|||
initCondition,
|
||||
} from "metersphere-frontend/src/utils/tableUtils";
|
||||
import MsTableHeaderSelectPopover from "metersphere-frontend/src/components/table/MsTableHeaderSelectPopover";
|
||||
import { getCurrentProjectID } from "metersphere-frontend/src/utils/token";
|
||||
import {getCurrentProjectID} from "metersphere-frontend/src/utils/token";
|
||||
import TestPlanDbReport from "@/business/report/components/TestPlanDbReport";
|
||||
import MsTable from "metersphere-frontend/src/components/table/MsTable";
|
||||
import MsTableColumn from "metersphere-frontend/src/components/table/MsTableColumn";
|
||||
|
|
Loading…
Reference in New Issue