Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5665

WicketTester#assertComponentOnAjaxResponse() cannot test invisible components

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.16.0
    • Fix Version/s: 7.0.0-M3, 6.17.0
    • Component/s: wicket
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: