[JBoss JIRA] (ARQGRA-479) Propagate xhr.response values in wrapper callback
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-479?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-479:
------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Propagate xhr.response values in wrapper callback
> -------------------------------------------------
>
> Key: ARQGRA-479
> URL: https://issues.jboss.org/browse/ARQGRA-479
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 2.0-Tracking, 2.1-Tracking
>
>
> When the xhr wrapper is created the response property is copied but it isn't updated in the callback, which leads to the property values' being out of sync. Some frameworks (e.g. Angular) will use the xhr.response over xhr.responseText if it is present, which means that simply using a guardAjax in a Graphene test will cause all subsequent xhr calls to return invalid data. In my case (Firefox 38, Angular 1.4.4, Graphene 2.0.3.Final) all $http calls would return "" once a guardAjax was executed, despite valid data being shown in Firefox's request log.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ARQGRA-479) Propagate xhr.response values in wrapper callback
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-479?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-479:
------------------------------
Affects Version/s: 2.1.0.Alpha2
2.0.3.Final
> Propagate xhr.response values in wrapper callback
> -------------------------------------------------
>
> Key: ARQGRA-479
> URL: https://issues.jboss.org/browse/ARQGRA-479
> Project: Arquillian Graphene
> Issue Type: Bug
> Affects Versions: 2.0.3.Final, 2.1.0.Alpha2
> Reporter: Lukáš Fryč
> Assignee: Lukáš Fryč
> Fix For: 2.0-Tracking, 2.1-Tracking
>
>
> When the xhr wrapper is created the response property is copied but it isn't updated in the callback, which leads to the property values' being out of sync. Some frameworks (e.g. Angular) will use the xhr.response over xhr.responseText if it is present, which means that simply using a guardAjax in a Graphene test will cause all subsequent xhr calls to return invalid data. In my case (Firefox 38, Angular 1.4.4, Graphene 2.0.3.Final) all $http calls would return "" once a guardAjax was executed, despite valid data being shown in Firefox's request log.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ARQGRA-479) Propagate xhr.response values in wrapper callback
by Lukáš Fryč (JIRA)
Lukáš Fryč created ARQGRA-479:
---------------------------------
Summary: Propagate xhr.response values in wrapper callback
Key: ARQGRA-479
URL: https://issues.jboss.org/browse/ARQGRA-479
Project: Arquillian Graphene
Issue Type: Bug
Reporter: Lukáš Fryč
Assignee: Lukáš Fryč
Fix For: 2.0-Tracking, 2.1-Tracking
When the xhr wrapper is created the response property is copied but it isn't updated in the callback, which leads to the property values' being out of sync. Some frameworks (e.g. Angular) will use the xhr.response over xhr.responseText if it is present, which means that simply using a guardAjax in a Graphene test will cause all subsequent xhr calls to return invalid data. In my case (Firefox 38, Angular 1.4.4, Graphene 2.0.3.Final) all $http calls would return "" once a guardAjax was executed, despite valid data being shown in Firefox's request log.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months
[JBoss JIRA] (ARQGRA-478) Add support for multiple @InitialPage when using Qualifiers
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/ARQGRA-478?page=com.atlassian.jira.plugin... ]
Lukáš Fryč updated ARQGRA-478:
------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 2.1-Tracking
Resolution: Done
> Add support for multiple @InitialPage when using Qualifiers
> -----------------------------------------------------------
>
> Key: ARQGRA-478
> URL: https://issues.jboss.org/browse/ARQGRA-478
> Project: Arquillian Graphene
> Issue Type: Enhancement
> Components: core
> Reporter: Michael Irwin
> Assignee: Michael Irwin
> Fix For: 2.1-Tracking
>
>
> If using multiple browsers in a test, it would be nice to support multiple @InitialPage parameters in the method, each with a separate qualifier.
> Obviously, if the same qualifier is applied to more than one @InitialPage, it should throw and prevent execution.
> Pull-request incoming...
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 3 months