[
https://issues.jboss.org/browse/ARQGRA-331?page=com.atlassian.jira.plugin...
]
Petr Andreev commented on ARQGRA-331:
-------------------------------------
Hi Lukáš, i have the similar problem with tests using Richfaces 3.3.4 (Sarissa 0.9.9.3 tru
0.9.9.6 redefines the XMLHttpRequest for all IEs, jQuery 1.3.2 is involved too). Do you
have any idea how to do a workaround? I'm currently working with Graphene
2.0.0.Final-SNAPSHOT. The problem appears on IE9: Sarissa defines an XMLHttpRequest as
ActiveXObject (by the way jQuery as well, up to v1.7). After all the Graphene
interceptions (seems to happen in xhrInterception.js) on such ActiveXObject the browser JS
console says:
"SCRIPT575: This method cannot be called until the send method has been called."
or something like that, depending on XMLHTTP ActiveX version. The test on FF runs
flawlessly!
I know, the RF 3 is not supported, BUT: in order to migrate to the current RF the
regression tests should work(;( If we just could load and init the Graphene JS BEFORE the
application´s one. By the way- perfect job implementing Graphene!
Graphene guards fails when page stores reference to XMLHttpRequest
before Graphene rewrites them
------------------------------------------------------------------------------------------------
Key: ARQGRA-331
URL:
https://issues.jboss.org/browse/ARQGRA-331
Project: Arquillian Graphene
Issue Type: Bug
Components: core
Affects Versions: 2.0.0.Alpha4
Reporter: Oliver Kišš
Assignee: Lukáš Fryč
Priority: Critical
Fix For: 2.1-Tracking
Graphene guards do not work correctly in the [AngularJS Kitchensink
quickstart|https://github.com/jboss-jdf/jboss-as-quickstart/tree/master/k...].
The registration form sends a XHR POST request on submit, but this is not recognized and
clicking on the submit button with {{guardAjax(registerButton).click()}} throws an
exception: "{{RequestGuardException: Request type 'XHR' was expected, but
type 'NONE' was done instead}}".
--
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