You probably store the credentials (or isAuthenticated() == true) in the session. Just set the credentials *on* your session during testing.
Martijn On Mon, Jan 4, 2010 at 12:32 PM, Pierre Goupil <goupilpie...@gmail.com> wrote: > Hello all, > > Is there a way to access directly a page in Wicket tester? I mean: > by-passing the login page in order not to execute the whole workflow leading > to a certain page. > > We use, of course, @AuthorizedInstantiation-based login. We've found > examples where people provide directly the credentials to the login form and > then browse to the desired page, but I was wondering whether something more > "direct" existed. > > Regards, > > Pierre > > > -- > Ad augusta per angusta > > Des résultats grandioses par des voies étroites > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.4 increases type safety for web applications Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org