Details
Description
Executing:
tester.executeAjaxEvent("linky", "onclick");
tester.assertComponentOnAjaxResponse(component);
throws an exception saying "The Previous response was not an AJAX response. You need to execute an AJAX event, using clickLink, before using this assert" although executeAjaxEvent should be resulting in an AJAX response (and prior to 1.3.3 it did).
Executing tester.clickLink("linky"), which probably should be equivalent to the above executeAjaxEvent, does work.
I'll attach a simple testcase demonstrating this behaviour.
Attachments
Attachments
Issue Links
- is blocked by
-
WICKET-254 Allow to set field values before submitting a form with Ajax in WicketTester
- Resolved