I am using WicketTester and have the following code for submitting a form:
public void testRegistrationEmptyForm() {
FormTester form = _tester.newFormTester("editPersonPanel:personForm");
form.submit();
_tester.assertRenderedPage(Registration.class);
}
Now, the final assertion fails with the message ComparisonFailure: expected <Registration> but was <PageExpiredErrorPage>.
What could be the problem?
Cheers
Erik
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user