[arquillian-issues] [JBoss JIRA] (ARQGRA-290) testAttributeIsPresent fails on Chrome and PhantomJS

Juraj Húska (JIRA) jira-events at lists.jboss.org
Tue Apr 2 10:21:42 EDT 2013


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

Juraj Húska commented on ARQGRA-290:
------------------------------------

I have changed the {{AttributeIsPresent#check}} method body to:
{code}
String attributeValue = getElement().getAttribute(getAttribute());
return attributeValue != null && attributeValue.trim().length() != 0;
{code}
                
> testAttributeIsPresent fails on Chrome and PhantomJS
> ----------------------------------------------------
>
>                 Key: ARQGRA-290
>                 URL: https://issues.jboss.org/browse/ARQGRA-290
>             Project: Arquillian Graphene
>          Issue Type: Bug
>            Reporter: Lukáš Fryč
>            Assignee: Juraj Húska
>            Priority: Critical
>             Fix For: 2.0.0.Alpha4
>
>
> Test cases:
> {code}
> LocatorAttributeTest.testAttributeIsPresent
> LocatorAttributeTest.testAttributeIsPresentDirectly
> WebElementAttributeTest.testAttributeIsPresent
> WebElementAttributeTest.testAttributeIsPresentDirectly
> ConditionsTestCase.testAttributeIsPresent
> {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



More information about the arquillian-issues mailing list