Skip to content

Commit

Permalink
[v056] fix allure-step attachments print
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinyaev Anton Yuryevich committed Apr 15, 2022
1 parent 45b4224 commit c22bf88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/allure/step.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,10 @@ func (s *Step) PrintAttachments() {
for _, a := range s.Attachments {
_ = a.Print()
}
if s.Steps == nil {
return
}
for _, step := range s.Steps {
step.PrintAttachments()
}
}

0 comments on commit c22bf88

Please sign in to comment.