Re: WicketTester and AjaxButton

2017-08-13 Thread Martin Grigorov
Hi, Because there is FormTester#submit("buttonId") (for non-Ajax) and BaseWicketTester#executeAjaxEvent(Component, String) (for Ajax). So clickButton() would be tester.executeAjaxEvent(button, "click"). The latter is much more generic and can be used for any kind of Component and any kind of

WicketTester and AjaxButton

2017-08-08 Thread Kamil Paśko
Dear Wicket Devs, Is there a reason why WicketTester#clickLink(String path) can not handle AjaxButton ? If yes, why there is no "clickButton" method? Kind regards, Kamil