]
Lukáš Fryč updated ARQGRA-445:
------------------------------
Fix Version/s: 2.0.3.Final
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č
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}