Skip to content

Commit

Permalink
add video file (via #60)
Browse files Browse the repository at this point in the history
  • Loading branch information
eroshenkoam committed Oct 6, 2023
1 parent a669652 commit a4f2ee6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ private void parseStep(final JsonNode activity,
return;
}

if (activity.has(ATTACHMENTS)) {
context.getCurrent().getAttachments().addAll(getAttachments(activity.get(ATTACHMENTS).get(VALUES)));
}
if (activityTitle.startsWith("Start Test at") && activity.has(ACTIVITY_START)) {
context.getResult().setStart(parseDate(activity.get(ACTIVITY_START).get(VALUE).asText()));
return;
Expand Down Expand Up @@ -222,9 +225,6 @@ private void parseStep(final JsonNode activity,
parseStep(subActivity, context.child(step));
}
}
if (activity.has(ATTACHMENTS)) {
step.getAttachments().addAll(getAttachments(activity.get(ATTACHMENTS).get(VALUES)));
}
if (activity.has(ACTIVITY_FAILURE_SUMMARY_IDS)) {
final Iterable<JsonNode> activityFailures = activity.get(ACTIVITY_FAILURE_SUMMARY_IDS).get(VALUES);
for (JsonNode activityFailureUuid : activityFailures) {
Expand Down

0 comments on commit a4f2ee6

Please sign in to comment.