[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
Juraj Húska updated ARQGRA-382:
-------------------------------
Assignee: Juraj Húska
> 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
> Assignee: Juraj Húska
> 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
11 years, 3 months
[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
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
11 years, 3 months
[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-382:
------------------------------
Comment: was deleted
(was: You mean only for parameters, right?)
> 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
11 years, 3 months
[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Karel Piwko (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
Karel Piwko commented on ARQGRA-382:
------------------------------------
You mean only for parameters, right?
> 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
11 years, 3 months
[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
Lukáš Fryč commented on ARQGRA-382:
-----------------------------------
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.0.Final
>
>
> 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
11 years, 3 months
[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-382:
------------------------------
Fix Version/s: 2.0-Next
(was: 2.0.0.Final)
> 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
11 years, 3 months
[JBoss JIRA] (ARQGRA-382) Make @InitialPage work for Field
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-382?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-382:
------------------------------
Summary: Make @InitialPage work for Field (was: @InitialPage does not work for Field)
> Make @InitialPage work for Field
> --------------------------------
>
> Key: ARQGRA-382
> URL: https://issues.jboss.org/browse/ARQGRA-382
> Project: Arquillian Graphene
> Issue Type: Bug
> Components: core
> Affects Versions: 2.0.0.CR1
> Reporter: Karel Piwko
> Fix For: 2.0.0.Final
>
>
> 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
11 years, 3 months