When the SubmitLink is used instead of the submit for forms, BaseWicketTester does not run through the onSubmit() code of the link.
I have stepped through the debug of the test that's actually not getting called. All my validators on the text field are getting called as expected and in fact the form works as expected when deployed so I'm thinking that it might be a WicketTester issue or the more likely scenario that I'm doing something wrong?
Things I've tried:
- debugging as mentioned, but this just shows me it's not getting called
- trying to call the link directly but I just get the below exception which I'm not really surpised about....