[arquillian-issues] [JBoss JIRA] (ARQAJO-101) Using of JQuery 1.5 causes that JQuery selectors are not escaped properly

Lukáš Fryč (Commented) (JIRA) jira-events at lists.jboss.org
Mon Dec 19 13:51:09 EST 2011


    [ https://issues.jboss.org/browse/ARQAJO-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652084#comment-12652084 ] 

Lukáš Fryč commented on ARQAJO-101:
-----------------------------------

Jura, I know the escaping of these characters is not very convenient way, but it avoids a clash with selector features.

Particularly colon ({{:}}) could clash with all modifies like {{:has}}, {{:is}}, {{:visible}}, etc.
                
> Using of JQuery 1.5 causes that JQuery selectors are not escaped properly
> -------------------------------------------------------------------------
>
>                 Key: ARQAJO-101
>                 URL: https://issues.jboss.org/browse/ARQAJO-101
>             Project: Arquillian Ajocado
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.0.CR2
>         Environment: Ajocado 1.0.0-SNAPSHOT
>            Reporter: Juraj Huska
>            Assignee: Lukáš Fryč
>
> When I want to use JQuery selectors in my tests, I can not just type:
> {code}
> jq("input[id$=attributes:handleClassInput]");
> {code}
> since it will not be properly escaped, and thus will fail to create this JQuery Locator. I can avoid it by escaping it manually, but it will too much work for my big test suite, which already worked with RichFaces Selenium properly.
> The reason why *it works in RichFaces Selenium is that it uses JQuery v1.4.4 and Ajocado is using 1.5.*
> With 1.4.4 it works fine also in Ajocado.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the arquillian-issues mailing list