[arquillian-issues] [JBoss JIRA] (ARQGRA-450) takeBeforeTest does not work when loading of the page is in JUnit @Before method

Juraj Húska (JIRA) issues at jboss.org
Tue Jun 17 05:31:24 EDT 2014


     [ https://issues.jboss.org/browse/ARQGRA-450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juraj Húska resolved ARQGRA-450.
--------------------------------

    Resolution: Done


Fixed with [this|https://github.com/arquillian/arquillian-graphene/commit/f5d63ad4ba69346908ddd425e21d4a38c80ed1d6] commit.

Increased the precedence for Before event observer. 

> 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
>
> {{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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)



More information about the arquillian-issues mailing list