I have subclassed WebDriverScreenshotOnFailure and overridden
afterScenarioFailure(UUIDExceptionWrapper).

I wondered why my class never was used. Then I discovered that I have to
add the same annotation in the overriden method like it is in the
superclass:

@AfterScenario(uponOutcome = Outcome.FAILURE)

Do you intend not to "inherit" this annotation to sub classes when
afterScenarioFailure(UUIDExceptionWrapper) is overridden?

Reply via email to