[JBoss JIRA] (ARQGRA-353) Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-353?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-353:
------------------------------
Fix Version/s: 2.0.0.Final
(was: 2.0-Tracking)
> Integration tests fail on Opera with Graphene Alpha5, Selenium 2.35
> -------------------------------------------------------------------
>
> Key: ARQGRA-353
> URL: https://issues.jboss.org/browse/ARQGRA-353
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Priority: Optional
> Fix For: 2.0.0.Final
>
>
> {code}
> Results :
> Failed tests: testUnstable(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke unstable javascript extension: Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Unstable#simple()
> testIncorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): Expected exception: java.lang.IllegalStateException
> testJQuerySelectorCallingFindByDirectly(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> testFindByOnListOfWebElement(org.jboss.arquillian.graphene.ftest.page.extension.JQuerySelectorsPageExtensionTestCase): expected:<[h]1> but was:<[H]1>
> Tests in error:
> testScreenMethods(org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.EnrichmentTestCase$Screen#getHeight()
> test(org.jboss.arquillian.graphene.ftest.javascript.TestCustomJSInterface): Can't invoke the javacript org.jboss.arquillian.graphene.page.document.Document#getTitle()
> testWithSources(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld#hello()
> testWithInterfaceDependencies(org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.javascript.JavaScriptPageExtensionTestCase$HelloWorld2#hello()
> testStelenessAndJavascriptOnWebDriver(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testStelenessAndJavascriptOnWebElement(org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.webdriver.FindElementTestCase$JQueryInstallator#install()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardXhr(org.jboss.arquillian.graphene.ftest.parallel.TestGrapheneUtilitiesParalelly): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttp(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjax(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedTrigerringAndProcessing(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardDelayedAjaxProcessingWithCodeArgument(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardAjaxWithRelocation(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testGuardHttpFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequestFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardAjaxFailure(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testDelayedGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Unexpected exception, expected<org.jboss.arquillian.graphene.request.RequestGuardException> but was<java.lang.IllegalStateException>
> testGuardNoRequest(org.jboss.arquillian.graphene.ftest.guard.GuardsTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#clearRequestDone()
> testXhr(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testHttp(org.jboss.arquillian.graphene.ftest.guard.RequestGuardTestCase): Can't invoke the javacript org.jboss.arquillian.graphene.guard.RequestGuardImpl#getRequestType()
> testCorrectInstallation(org.jboss.arquillian.graphene.ftest.page.extension.PageExtensionTestCase): com.opera.core.systems.scope.exceptions.ResponseNotReceivedException: No response in a timely fashion
> testDeletion(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testReplacement(org.jboss.arquillian.graphene.ftest.enricher.TestHandlingOfStaleElements): com.sun.proxy.$Proxy21 cannot be cast to com.opera.core.systems.OperaWebElement
> testOneWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> testListWithJavascript(org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement): Can't invoke the javacript org.jboss.arquillian.graphene.ftest.enricher.TestGrapheneElement$TestJavascript#getInnerHtml()
> Tests run: 271, Failures: 5, Errors: 27, Skipped: 0
> {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-337) Disallow initialization of page abstractions which has non-private members
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-337:
------------------------------
Priority: Major (was: Critical)
> Disallow initialization of page abstractions which has non-private members
> --------------------------------------------------------------------------
>
> Key: ARQGRA-337
> URL: https://issues.jboss.org/browse/ARQGRA-337
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Fix For: 2.1-Tracking
>
>
> It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
> {code:java}
> // not allowed
> class Page {
> @FindBy(...)
> Tree tree;
> }
> {code}
> The accessors should be used instead:
> {code:java}
> // allowed
> class Page {
> @FindBy(...)
> private Tree tree;
> public Tree tree() {
> return tree;
> }
> }
> {code}
> We need to disallow that - either provide a warning or fail.
--
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-337) Disallow initialization of page abstractions which has non-private members
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-337:
------------------------------
Fix Version/s: 2.0.0.Final
(was: 2.0-Tracking)
> Disallow initialization of page abstractions which has non-private members
> --------------------------------------------------------------------------
>
> Key: ARQGRA-337
> URL: https://issues.jboss.org/browse/ARQGRA-337
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Priority: Critical
> Fix For: 2.0.0.Final
>
>
> It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
> {code:java}
> // not allowed
> class Page {
> @FindBy(...)
> Tree tree;
> }
> {code}
> The accessors should be used instead:
> {code:java}
> // allowed
> class Page {
> @FindBy(...)
> private Tree tree;
> public Tree tree() {
> return tree;
> }
> }
> {code}
> We need to disallow that - either provide a warning or fail.
--
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-337) Disallow initialization of page abstractions which has non-private members
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-337?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-337:
------------------------------
Fix Version/s: 2.1-Tracking
(was: 2.0.0.Final)
> Disallow initialization of page abstractions which has non-private members
> --------------------------------------------------------------------------
>
> Key: ARQGRA-337
> URL: https://issues.jboss.org/browse/ARQGRA-337
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Reporter: Lukáš Fryč
> Priority: Critical
> Fix For: 2.1-Tracking
>
>
> It is not allowed to access Graphene-injected page abstractions directly through field references because then the object's calls can't be intercepted:
> {code:java}
> // not allowed
> class Page {
> @FindBy(...)
> Tree tree;
> }
> {code}
> The accessors should be used instead:
> {code:java}
> // allowed
> class Page {
> @FindBy(...)
> private Tree tree;
> public Tree tree() {
> return tree;
> }
> }
> {code}
> We need to disallow that - either provide a warning or fail.
--
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