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