fix(接口测试): 修复历史断言数据兼容问题
--bug=1011386 --user=赵勇 【接口测试】有个场景调试整个场景报错,关闭场景console也报错 https://www.tapd.cn/55049933/s/1122341
This commit is contained in:
parent
c93dca07a1
commit
354ab05b55
|
@ -697,7 +697,7 @@ public class ElementUtil {
|
|||
elementList.addAll(groupMap.get(POST).stream().sorted(Comparator.comparing(MsTestElement::getIndex)).collect(Collectors.toList()));
|
||||
}
|
||||
if (CollectionUtils.isNotEmpty(groupMap.get(ASSERTIONS))) {
|
||||
elementList.addAll(groupMap.get(ASSERTIONS).stream().sorted(Comparator.comparing(MsTestElement::getIndex)).collect(Collectors.toList()));
|
||||
elementList.addAll(groupMap.get(ASSERTIONS));
|
||||
}
|
||||
}
|
||||
return elementList;
|
||||
|
|
|
@ -18,8 +18,7 @@
|
|||
:value="item.id">
|
||||
</el-option>
|
||||
</el-select>
|
||||
<el-button size="mini" @click="add" type="primary" v-if="tabType !== 'assertionsRule'"
|
||||
:disabled="request.disabled">
|
||||
<el-button size="mini" @click="add" type="primary" v-if="tabType !== 'assertionsRule'">
|
||||
{{ $t('api_test.request.assertions.add') }}
|
||||
</el-button>
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue