allure-java
allure-java copied to clipboard
Add screenshots for passed steps feature for allure-java
Context
A lot of our customers and users Allure requested the feature to easily create screenshots also if a Step passes. I tried to match the style of the already available functions. I added a unit test for this functionality and adjusted the old ones.
Checklist
- [x] Sign Allure CLA
- [x] Provide unit tests
@baev @eroshenkoam : Could somebody have a look at this?
Is there any progress? I am using allure selenide and in selenide has enabled screenshot on success TRUE but in allure report, I am getting broken img Is that somehow related?
Allure has https://github.com/allure-framework/allure-java/blob/master/allure-java-commons/src/main/java/io/qameta/allure/listener/StepLifecycleListener.java that can be used to add any additional data per Allure step no matter what framework is used.