[richfaces-planning-issues] [JBoss JIRA] (RFPL-1865) Metamer: rich:dropDownMenu: Fix test for @popupWidth

Ján Jamrich (Resolved) (JIRA) jira-events at lists.jboss.org
Fri Nov 25 06:42:40 EST 2011


     [ https://issues.jboss.org/browse/RFPL-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ján Jamrich resolved RFPL-1865.
-------------------------------

    Resolution: Rejected

    
> Metamer: rich:dropDownMenu: Fix test for @popupWidth
> ----------------------------------------------------
>
>                 Key: RFPL-1865
>                 URL: https://issues.jboss.org/browse/RFPL-1865
>             Project: RichFaces Planning
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: QE
>    Affects Versions: 4.1.0.CR1
>            Reporter: Ján Jamrich
>            Assignee: Ján Jamrich
>             Fix For: 4.1.0.Final
>
>
> failing tests for rich:dropDownMenu should becaused by changed way how to propagate @popupWodth into rendered component.
> Test expects "width: xyz;" value appears in @style, but seems that value from this attribute is propagated as "width-min: xyz;" for now. Make sure what is correct and update test appropriate.
> There is stack trace from Jenkins job:
> java.lang.AssertionError: Width of menu expected:<150px> but was:<155px>
> 	at org.testng.Assert.fail(Assert.java:89)
> 	at org.testng.Assert.failNotEquals(Assert.java:489)
> 	at org.testng.Assert.assertEquals(Assert.java:118)
> 	at org.testng.Assert.assertEquals(Assert.java:171)
> 	at org.richfaces.tests.metamer.ftest.richDropDownMenu.TestRichDropDownMenu.testPopupWidth(TestRichDropDownMenu.java:276)

--
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 richfaces-planning-issues mailing list