]
Lukáš Fryč updated ARQGRA-450:
------------------------------
Fix Version/s: 2.1.0.Alpha1
takeBeforeTest does not work when loading of the page is in JUnit
@Before method
--------------------------------------------------------------------------------
Key: ARQGRA-450
URL:
https://issues.jboss.org/browse/ARQGRA-450
Project: Arquillian Graphene
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: screenshooter
Affects Versions: 2.1.0.Alpha1
Reporter: Juraj Húska
Assignee: Juraj Húska
Fix For: 2.1.0.Alpha1
{{takeBeforeTest}} option is broken, because when there are multiple tests, and the
loading of the page is done on {{@Before}} method, then the first test is omitted.
It is because JUnit @Before observer is called before the Graphene Screenshooter one,
thus the registration of interceptor which takes screenshots is done quite late.