[arquillian-issues] [JBoss JIRA] (ARQGRA-230) Override a toString method in BooleanConditionWrapper

Lukáš Fryč (JIRA) jira-events at lists.jboss.org
Wed Dec 5 05:00:22 EST 2012


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

Lukáš Fryč edited comment on ARQGRA-230 at 12/5/12 4:59 AM:
------------------------------------------------------------

Hey Jan, just one small improvement:

{code}
org.openqa.selenium.TimeoutException: Timed out after 2 seconds waiting for text ('xyz') to be equal to text in element [[ReusableRemoteWebDriver: chrome on ANY (1354698635905)] -> id: form:output]
Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 22:18:01'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.8-2.fc17.x86_64', java.version: '1.6.0_33'
{code}

What about the exception would be read: {{Timed out after 2 seconds waiting for text ('xyz') to be equal to text in element 'id: form:output' but it was 'xy'}}
                
      was (Author: lfryc):
    Hey Jan, just one small improvement:

{code}
org.openqa.selenium.TimeoutException: Timed out after 2 seconds waiting for text ('xyz') to be equal to text in element [[ReusableRemoteWebDriver: chrome on ANY (1354698635905)] -> id: form:output]
Build info: version: '2.25.0', revision: '17482', time: '2012-07-18 22:18:01'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '3.6.8-2.fc17.x86_64', java.version: '1.6.0_33'
{code}

What about the exception would be read: {{Timed out after 2 seconds waiting for text ('xyz') to be equal to text in element id: form:output but it was 'xy'}}
                  
> Override a toString method in BooleanConditionWrapper
> -----------------------------------------------------
>
>                 Key: ARQGRA-230
>                 URL: https://issues.jboss.org/browse/ARQGRA-230
>             Project: Arquillian Graphene
>          Issue Type: Enhancement
>            Reporter: Jiří Štefek
>            Assignee: Jan Papousek
>            Priority: Trivial
>             Fix For: 2.0.0.Alpha3
>
>
> It would be great if BooleanConditionWrapper had its own toString() method, so the logs from selenium could be more readable than:
> {code}org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for org.jboss.arquillian.graphene.condition.BooleanConditionWrapper at 198de25e{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