diff --git a/src/main/java/io/eroshenkoam/xcresults/export/Allure2ExportFormatter.java b/src/main/java/io/eroshenkoam/xcresults/export/Allure2ExportFormatter.java index 9f48ba7..3652ee8 100644 --- a/src/main/java/io/eroshenkoam/xcresults/export/Allure2ExportFormatter.java +++ b/src/main/java/io/eroshenkoam/xcresults/export/Allure2ExportFormatter.java @@ -102,6 +102,7 @@ public TestResult format(final ExportMeta meta, final JsonNode node) { result.setStop(result.getStart() + durationToMillis); } if (result.getSteps().size() > 0) { + result.setStart(result.getSteps().get(0).getStart()); result.setStop(result.getSteps().get(result.getSteps().size() - 1).getStop()); } }