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
We use snapshots to check large response data strings. When the toMatchSnapshot method fails, ci crashes and contains error logs, but in the allure the test is green. In the console, the logs are also displayed correctly.
I would immediately ask you to think about whether it is possible to display the snapshot logs in the form in which it is logged in the console / ci job. This is much more convenient to analyze by comparing large strings / objects.
CI job logs:
To Reproduce
Create jest test containing `expect(data).toMatchSnapshot();
run test
compare local and allure result
` Expected behavior
Allure result contains logs of failure
Screenshots
If applicable, add screenshots to help explain your problem.
Vesions:
jest: 29.7.0
allure-jest: 3.0.1
allure-js-commons: 3.0.1
The text was updated successfully, but these errors were encountered:
Describe the bug
official jest documentation
We use snapshots to check large response data strings. When the
toMatchSnapshot
method fails, ci crashes and contains error logs, but in the allure the test is green. In the console, the logs are also displayed correctly.I would immediately ask you to think about whether it is possible to display the snapshot logs in the form in which it is logged in the console / ci job. This is much more convenient to analyze by comparing large strings / objects.
CI job logs:
To Reproduce
`
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Vesions:
The text was updated successfully, but these errors were encountered: