fix(接口测试): 修复报告排序错误问题
--bug=1014475 --user=赵勇 【接口测试】github#15358,计数器顺序读取不对 https://www.tapd.cn/55049933/s/1192576
This commit is contained in:
parent
cd7e841e49
commit
8cf9990f5d
|
@ -385,7 +385,7 @@ public class ApiScenarioReportStructureService {
|
|||
*/
|
||||
private void orderLoops(List<StepTreeDTO> dtoList) {
|
||||
try {
|
||||
List<StepTreeDTO> steps = dtoList.stream().filter(e -> e.getValue() == null || StringUtils.isEmpty(e.getValue().getId()))
|
||||
List<StepTreeDTO> steps = dtoList.stream().filter(e -> e.getValue() == null || e.getValue().getStartTime() == 0)
|
||||
.collect(Collectors.toList());
|
||||
// 都是没有结果的步骤,不需要再次排序
|
||||
if (dtoList.size() == steps.size()) {
|
||||
|
|
Loading…
Reference in New Issue