Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If the step combines strong and soft checks, then the step is marked as pass despite soft checks failed #781

Open
1 task done
esultanza opened this issue Dec 12, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@esultanza
Copy link

esultanza commented Dec 12, 2023

I'm submitting

  • 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

  1. 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

  1. 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:

Other information

18285403-d1b5-4ce8-bad2-3e81e4f78bb4-result.json

@cheshi-mantu cheshi-mantu added the bug Something isn't working label Dec 13, 2023
@Faerie1999
Copy link

Faerie1999 commented Jul 11, 2024

Hello,I met the problem as above, has the bug fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants