Package org.fluentlenium.adapter.junit
Annotation Type After
-
@Retention(RUNTIME) @Target(METHOD) public @interface AfterA equivalent of JUnit @After.It should be used instead of JUnit @
Afterannotation when screenshot is configured onConfigurationProperties.TriggerMode.AUTOMATIC_ON_FAILvalue to make sure screenshot is taken just after the exception occurs, and before @After methods are invoked.When using default JUnit @
Afterannotation, screenshot is taken after the invocation of @After methods and may cause hard to diagnose errors when After change the state of the underlying web application.- See Also:
- Issue #390