[
https://issues.jboss.org/browse/ARQGRA-445?page=com.atlassian.jira.plugin...
]
Lukáš Fryč updated ARQGRA-445:
------------------------------
Status: Resolved (was: Pull Request Sent)
Assignee: Juraj Húska
Resolution: Done
Wrong classes are injected to PageObject injection points in abstract
test basis
--------------------------------------------------------------------------------
Key: ARQGRA-445
URL:
https://issues.jboss.org/browse/ARQGRA-445
Project: Arquillian Graphene
Issue Type: Bug
Affects Versions: 2.0.3.Final
Reporter: Lukáš Fryč
Assignee: Juraj Húska
Fix For: 2.0.3.Final
These tests fails because wrong instances are injected into abstract test basis:
{code}
Results :
Tests in error:
testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects2):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
testPageObjectWithGenericTypeIsInitialized2(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects1):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to org.jboss.arquillian.graphene.ftest.enricher.page.TestPage2
testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to
org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects3$InnerTestPage
testInitializingPageObjectsDeclaredAsInnerClassesGeneric(org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4):
org.jboss.arquillian.graphene.ftest.enricher.page.TestPage$$EnhancerByGraphene$$841cfb04
cannot be cast to
org.jboss.arquillian.graphene.ftest.enricher.TestInitializingGenericPageObjects4$InnerTestPage
{code}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)