Skip to content

Commit

Permalink
Merge pull request #94 from ozontech/ISSUE-55
Browse files Browse the repository at this point in the history
issue-55: Set up/Tear down sections are not displayed in tests without suite
  • Loading branch information
koodeex committed Jun 14, 2024
2 parents 4903fa0 + 6085a97 commit e7706a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/framework/core/allure_manager/manager/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,11 @@ func (a *allureManager) NewTest(testName, packageName string, tags ...string) {
}

func (a *allureManager) FinishTest() error {
container := a.testMeta.GetContainer()
if container != nil {
if err := container.Done(); err != nil {
return err
}
}
return a.testMeta.GetResult().Done()
}

0 comments on commit e7706a0

Please sign in to comment.