fix(UI 自动化): 修复测试计划关联ui场景执行报告不显示

--story=1007518 --user=张大海 【UI测试】支持加入到测试计划中 https://www.tapd.cn/55049933/s/1202992
This commit is contained in:
zhangdahai112 2022-07-18 17:00:21 +08:00 committed by zhangdahai112
parent 2e1bcde9d4
commit a6538104ea
1 changed files with 7 additions and 1 deletions

View File

@ -103,7 +103,13 @@ public class ApiScenarioSerialService {
ApiRunMode.SCENARIO_PLAN.name(),
ApiRunMode.SCHEDULE_SCENARIO_PLAN.name(),
ApiRunMode.SCHEDULE_SCENARIO.name(),
ApiRunMode.JENKINS_SCENARIO_PLAN.name())) {
ApiRunMode.JENKINS_SCENARIO_PLAN.name(),
ApiRunMode.UI_SCENARIO.name(),
ApiRunMode.UI_SCENARIO_PLAN.name(),
ApiRunMode.UI_JENKINS_SCENARIO_PLAN.name(),
ApiRunMode.UI_SCHEDULE_SCENARIO.name(),
ApiRunMode.UI_SCHEDULE_SCENARIO_PLAN.name())
) {
ApiScenarioReport report = apiScenarioReportMapper.selectByPrimaryKey(queue.getReportId());
if (report != null) {
report.setStatus(APITestStatus.Running.name());