-
Notifications
You must be signed in to change notification settings - Fork 14
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
Logs which are located in afterEach hooks, are not sent to reportportal #50
Comments
Hello @grib9544! |
Hi, I wanted to give some update on this issue. I debugged this a little bit and this is what I've got: Logs for beforeEach/afterEach methods are added to test itself, beforeEach/afterEach are present in report but are empty Logs for beforeAll/afterAll methods are not added anywhere at all, although they are also present in report. While debugging So to sum it up:
|
Hello guys, any update on this? |
also want to up this topic. still need logs in beforeEach/afterEach |
@AmsterGet Can you please add this fix to the new version that is being released? |
Hello,
I found out some bug, it's related with issue #44.
The solution to resolve the bug is to remove the line. The problem is that we remove currentTest, and logs in afterEach hooks can't be sent to reportportal when currentTest value is null.
If you have contribution guide, I can create pull request to resolve this problem.
Regards,
The text was updated successfully, but these errors were encountered: