In the latest cucumber framework, Screen shot and reports does not generate if scenario fails. I have intentailly make the invalid xpath in my TC.
I am attaching the SS for the reference.
InstructorAshish Replied on 16/08/2021
In the @after method you have to flush the extent reports right
Thats how it generates