fix(UI 自动化): ui场景页面问题修复
--bug=1016262 --user=张大海 【UI测试】进入UI场景页面报异常且未显示模块树 https://www.tapd.cn/55049933/s/1232992
This commit is contained in:
parent
e06e93d484
commit
3c9539c72d
|
@ -85,6 +85,11 @@ public class BaseQueryRequest {
|
|||
*/
|
||||
private String refId;
|
||||
|
||||
/**
|
||||
* 测试计划关联场景过滤掉步骤为0的场景
|
||||
*/
|
||||
private boolean hasStep;
|
||||
|
||||
public Map<String, List<String>> getFilters() {
|
||||
if (MapUtils.isEmpty(filters) || filters.containsKey("isHandleCustomMultiple")) {
|
||||
return filters;
|
||||
|
|
|
@ -30,6 +30,4 @@ public class UiScenarioRequest extends BaseQueryRequest {
|
|||
* 是否需要查询环境字段
|
||||
*/
|
||||
private boolean selectEnvironment = false;
|
||||
//测试计划关联场景过滤掉步骤为0的场景
|
||||
private String stepTotal;
|
||||
}
|
||||
|
|
|
@ -195,7 +195,7 @@ export default {
|
|||
if (this.planId != null) {
|
||||
this.condition.planId = this.planId;
|
||||
}
|
||||
this.condition.stepTotal = "testPlan";
|
||||
this.condition.hasStep = true;
|
||||
|
||||
let url = "/test/plan/uiScenario/case/relevance/list/" + this.currentPage + "/" + this.pageSize;
|
||||
this.result = this.$post(url, this.condition, response => {
|
||||
|
|
Loading…
Reference in New Issue