allure-python
allure-python copied to clipboard
If the step combines strong and soft checks, then the step is marked as pass despite soft checks failed
I'm submitting
- [x] bug report
What is the current behavior?
the step combining strong and soft checks is marked as passed despite soft checks failed
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
- Run test
@allure.id("6088")
def test_draft():
with allure.step("Проверка, что cevvсуммы равны"):
assert 2+2==1+3
for digit in [1,2,3]:
with check: assert digit == 10
- Check status for steps at *-result.json in allure-results
What is the expected behavior?
The step marked as failed
What is the motivation / use case for changing the behavior?
Correct mark
Please tell us about your environment:
- pytest-check: 2.2.1
- Test framework: [email protected]
- Allure adaptor: [email protected]
Other information
Hello,I met the problem as above, has the bug fixed?