Allure steps not marked as failed when using SoftAssertions inside static steps #2781
Unanswered
lubomsky
asked this question in
Bug Reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
When using SoftAssertions inside Allure steps, the steps are not properly marked as failed in the Allure report, even when the assertions fail.
Steps to reproduce
Expected Behavior
The first test should correctly register steps as failed based on the assertions.
The second test should also register steps as failed.
Actual Behavior
In the first test, steps reflect their correct status (failed).
In the second test, all steps are reported as passed, regardless of assertion outcomes.
Screenshots
Result of the second test
**Result of the first test **
Beta Was this translation helpful? Give feedback.
All reactions