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
Describe the bug
When a Jest test exceeds its timeout (for example, using jest.setTimeout(1000)), the test fails with a timeout error. However, this failure is not logged correctly in the Allure report, and relevant information about the timeout is missing from the report. Instead of showing the correct error message or relevant data regarding the timeout, the test does not appear in the Allure report as a failure or it is incomplete, causing confusion during test result analysis.
To Reproduce
Steps to reproduce the behavior:
Create a Jest test with a jest.setTimeout(1000) setting.
Run the test with a long-running process that exceeds the 1000ms timeout.
Observe that the test will fail due to a timeout.
View the Allure report generated after the test run.
Notice that the timeout failure is either missing or lacks important details about the timeout error.
Expected behavior
The expected behavior is that the Allure report should capture all relevant details about a failed test due to a timeout, including the timeout error message and the relevant stack trace or additional information that can help in debugging the cause of the failure. Specifically, it should show:
The fact that the test exceeded its timeout.
The error message related to the timeout failure.
Additional context (e.g., duration of the test) if applicable.
Describe the bug
When a Jest test exceeds its timeout (for example, using jest.setTimeout(1000)), the test fails with a timeout error. However, this failure is not logged correctly in the Allure report, and relevant information about the timeout is missing from the report. Instead of showing the correct error message or relevant data regarding the timeout, the test does not appear in the Allure report as a failure or it is incomplete, causing confusion during test result analysis.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The expected behavior is that the Allure report should capture all relevant details about a failed test due to a timeout, including the timeout error message and the relevant stack trace or additional information that can help in debugging the cause of the failure. Specifically, it should show:
The fact that the test exceeded its timeout.
The error message related to the timeout failure.
Additional context (e.g., duration of the test) if applicable.
**Version
Allure-Jest: 3.0.8
Allure-JS-Commons: 3.0.8
Jest: 29.7.0
Jest-Junit: 16.0.0
Node: 18.18.2
NPM: 9.8.1
The text was updated successfully, but these errors were encountered: