You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/08/06 14:03:12 UTC

[jira] [Resolved] (WICKET-5665) WicketTester#assertComponentOnAjaxResponse() cannot test invisible components

     [ https://issues.apache.org/jira/browse/WICKET-5665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5665.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.17.0
                   7.0.0-M3

> WicketTester#assertComponentOnAjaxResponse() cannot test invisible components
> -----------------------------------------------------------------------------
>
>                 Key: WICKET-5665
>                 URL: https://issues.apache.org/jira/browse/WICKET-5665
>             Project: Wicket
>          Issue Type: Task
>          Components: wicket
>    Affects Versions: 6.16.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 7.0.0-M3, 6.17.0
>
>
> org.apache.wicket.util.tester.WicketTester#assertComponentOnAjaxResponse(java.lang.String) uses org.apache.wicket.util.tester.BaseWicketTester#getComponentFromLastRenderedPage(java.lang.String, true) to get the component and because of the second parameter being "true" it fails to find it.
> It should use "false" to be able to find components with outputMarkupPlaceholder = true too.



--
This message was sent by Atlassian JIRA
(v6.2#6252)