Skip to content

Regression

org.appng.api.support.ElementHelperTest.testInitNavigation

Failing for the past 1 build (Since Failed#76 )
Took 16 ms.

Error Message

org.custommonkey.xmlunit.Diff
[different] Expected text value 'link1' but was 'null.translated' - comparing <label ...>link1</label> at /linkpanel[1]/link[1]/label[1]/text()[1] to <label ...>null.translated</label> at /linkpanel[1]/link[1]/label[1]/text()[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<linkpanel xmlns="http://www.appng.org/schema/platform">
    <link id="panel[1]" target="target" mode="extern">
        <condition expression="${1 eq 1}"/>
        <label>null.translated</label>
    </link>
</linkpanel>

Stacktrace

java.lang.AssertionError: 
org.custommonkey.xmlunit.Diff
[different] Expected text value 'link1' but was 'null.translated' - comparing <label ...>link1</label> at /linkpanel[1]/link[1]/label[1]/text()[1] to <label ...>null.translated</label> at /linkpanel[1]/link[1]/label[1]/text()[1]

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<linkpanel xmlns="http://www.appng.org/schema/platform">
    <link id="panel[1]" target="target" mode="extern">
        <condition expression="${1 eq 1}"/>
        <label>null.translated</label>
    </link>
</linkpanel>

	at org.appng.api.support.ElementHelperTest.testInitNavigation(ElementHelperTest.java:201)

Standard Output

2022-07-20 17:20:42,472 WARN  [main] org.appng.api.support.ElementHelper: ${1 eq 1} = true
2022-07-20 17:20:42,473 WARN  [main] org.appng.api.support.ElementHelper: ${1 eq 2} = false