You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use beforeEach to perform preconditions, such as activating parameters and afterEach to deactivate parameters related to tests. In the functions within the hooks there are calls to log the actions in the reportportal and it is very important that the defined logs are reported in the reportportal. The possibility of reporting hook logs is very important for understanding the entire test execution flow and for other purposes. A very important detail to consider is the use of logs to debug errors that occur in the beforeEach and afterEach hooks, as they are not logged in the reportportal this masks the identification of errors, which I have some scenarios happening and it is difficult to identify where The error is due to the hooks not being reported in the reportportal.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi There,
I use beforeEach to perform preconditions, such as activating parameters and afterEach to deactivate parameters related to tests. In the functions within the hooks there are calls to log the actions in the reportportal and it is very important that the defined logs are reported in the reportportal. The possibility of reporting hook logs is very important for understanding the entire test execution flow and for other purposes. A very important detail to consider is the use of logs to debug errors that occur in the beforeEach and afterEach hooks, as they are not logged in the reportportal this masks the identification of errors, which I have some scenarios happening and it is difficult to identify where The error is due to the hooks not being reported in the reportportal.
Thanks!
The text was updated successfully, but these errors were encountered: