Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue-55: Set up/Tear down sections are not displayed in tests without suite #94

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
issue-55: fixed tests
  • Loading branch information
dkx86 committed Jun 10, 2024
commit 6085a97e09d15173aad96dd8c8bb0a693fc298f3
7 changes: 5 additions & 2 deletions pkg/framework/core/allure_manager/manager/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ func (a *allureManager) NewTest(testName, packageName string, tags ...string) {
}

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