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

Improve the logic & reflection of Nested Steps execution results in Allure report #1746

Closed
cherevachy opened this issue Jun 24, 2021 · 0 comments · Fixed by #3136
Closed
Assignees
Labels
feature New feature or request p1 Blocker
Milestone

Comments

@cherevachy
Copy link
Contributor

Currently step <When the condition {condition_expression} is true I do> is displayed as "green" in Allure report in the following cases:

  1. condition expression is incorrect
  2. condition expression is correct & failed
    This can be misleading as gives no details on actual condition status as well as does not highlight the fact that the nested steps were skippsed

The proposed improvement:
For case 1) - The condition step should be failed with the message that condition_expression is invalid; it should be mentioned that the nested steps execution was skipped
For case 2) - - The condition step should still be passed, but it should be mentioned that the nested steps execution was skipped due to failed condition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request p1 Blocker
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants