[arquillian-issues] [JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Mon Sep 30 07:18:02 EDT 2013


    [ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12808179#comment-12808179 ] 

Lukáš Fryč edited comment on ARQGRA-382 at 9/30/13 7:16 AM:
------------------------------------------------------------

Agree, let's make this issue opened for post-2.0 development and make the annotation work only for --fields-- method parameters.

Juraj, could you please take this over? ^
                
      was (Author: lfryc):
    Agree, let's make this issue opened for post-2.0 development and make the annotation work only for fields.

Juraj, could you please take this over? ^
                  
> Make @InitialPage work for Field
> --------------------------------
>
>                 Key: ARQGRA-382
>                 URL: https://issues.jboss.org/browse/ARQGRA-382
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>          Components: core
>    Affects Versions: 2.0.0.CR1
>            Reporter: Karel Piwko
>             Fix For: 2.0-Next
>
>
> While @InitialPage allows to be used on test class field, it does not do anything.
> {code}
> @InitialPage AddUserPage page;
> @Test
> void test() {
>     page.foo()
> }
> {code}
> raises
> {code}
> java.lang.NullPointerException: null
>         at com.acme.example.test.DroneTest.addUser(DroneTest.java:35)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the arquillian-issues mailing list