You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Volodymyr Siedlecki (Jira)" <de...@myfaces.apache.org> on 2022/11/03 15:01:00 UTC

[jira] [Created] (MYFACES-4494) TCK: Spec1574IT: Fix Element Ordering

Volodymyr Siedlecki created MYFACES-4494:
--------------------------------------------

             Summary: TCK: Spec1574IT: Fix Element Ordering
                 Key: MYFACES-4494
                 URL: https://issues.apache.org/jira/browse/MYFACES-4494
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 4.0.0-RC2
            Reporter: Volodymyr Siedlecki


The following TCK failure occurs for the two pages{*}.{*}  The element ordering is not correct.

*faces40/selectManyCheckbox:* 
 * spec1574IT.xhtml?radio=true&layout=list

 * spec1574IT.xhtml?layout=list

App: [https://github.com/jakartaee/faces/blob/4.0.1/tck/faces40/selectManyCheckbox/src/main/webapp/spec1574IT.xhtml]

Test: [https://github.com/jakartaee/faces/blob/4.0.1/tck/faces40/selectManyCheckbox/src/test/java/ee/jakarta/tck/faces/test/servlet50/selectmanycheckbox/Spec1574IT.java#L205]

Assertion fails:

java.lang.AssertionError: ul has 2 children expected:<2> but was:<4>

    at org.junit.Assert.fail(Assert.java:89)

    at org.junit.Assert.failNotEquals(Assert.java:835)

    at org.junit.Assert.assertEquals(Assert.java:647)

    at ee.jakarta.tck.faces.test.servlet50.selectmanycheckbox.Spec1574IT.assertValidMarkup(Spec1574IT.java:205)

    at ee.jakarta.tck.faces.test.servlet50.selectmanycheckbox.Spec1574IT.testSelectOneRadioListMarkup(Spec1574IT.java:153)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)