Thanks Vit,
your approach seems to be working. That is, use something like
Cookie cookie = new Cookie(name, value);
WicketTester wicketTester = new WicketTester(new
MyApplication());
wicketTester.getServletRequest().addCookie(cookie);
Hallo,
I think it should work with one of those methods:
public final Page startPage(final ITestPageSource testPageSource)
public final Page startPage(final Page page)
instead of wicketTester.startPage(FooPage.class);
and also you should use wicket tester's request for adding cookies:
Please note this bug in WicketTester cookie handling
https://issues.apache.org/jira/browse/WICKET-1886
-Marcus
On Fri, Nov 28, 2008 at 2:30 PM, Vit Rozkovec [EMAIL PROTECTED] wrote:
Hallo,
I think it should work with one of those methods:
public final Page startPage(final ITestPageSource