allure2
allure2 copied to clipboard
The teardown step is printed in testbody
The teardown/Hook step is printed in testbody
allure-cucumber7-jvm = 2.24.0 it came in the teardown section but in allure-cucumber7-jvm = 2.27.0 onwards it is coming in the testbody.
Steps to Reproduce
- create a test and take screenshot after every step
- create allure report for 2.27.0 and view it
Expected Behaviour
hook steps should be in teardown
Screenshots or Additional Context
No response
What Language are you using?
Java
What Framework/Allure Integration you are using?
allure-cucumber7-jvm
What version of Allure Integration you are using?
2.27.0
What version of Allure Report you are using?
2.27.0
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
After step hooks are executed during the test, Allure displays it correctly.
You can use Allure Lifecycle API to "fix" the report, e.g. remove the logging for after-step hooks or rename it to something more meaningful.