On Wed, 28 Jan 2009, Stephan Koch wrote:
mountBookmarkablePage(/login, LoginPage.class);
When I remove that line, the test runs fine. Could be a bug in
WicketTester? I'd like some opinions on that before I file a JIRA issue.
It could be, but you could still try replacing
Hi Per,
I tried that before, still the same exception. From what I read using
clickLink() on the SubmitLink or doing submit() should do the same.
Per Newgro wrote:
Hi Stephan Koch,
i can't help you on the exception. But all i can see is that you don't
call submit.
FormTester
Hi all,
the exception is apparently caused by mounting the LoginPage. In my
Application init(), I do this:
mountBookmarkablePage(/login, LoginPage.class);
When I remove that line, the test runs fine. Could be a bug in
WicketTester? I'd like some opinions on that before I file a JIRA issue.
I'm
Hi Stephan Koch,
i can't help you on the exception. But all i can see is that you don't
call submit.
FormTester loginFormTester = tester.newFormTester(form);
loginFormTester.setValue(loginName, testUser.getUsername());
loginFormTester.setValue(password, test);
loginFormTester.submit(); //