[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
Sat Jun 14 10:26:24 EDT 2014


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

Juraj Húska updated ARQGRA-450:
-------------------------------

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

  was:{{takeBeforeTest}} option is broken, because when there are multiple tests, and the loading of the page is done on {{@Before}} method, then screenshot is taken only for first test.



> 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