> is there a way to test Pages that have the @RequireHttps annotation?
You can try http://wicketpagetest.sourceforge.net which should support
https testing.
--
Kent Tong
Useful & FREE software at http://www2.cpttm.org.mo/cyberlab/freeware
wicket tester is not a complete emulation tool, it is designed for
simple usecases. you are welcome to patch it to support this, but its
probably easier to turn off the httpsrequestcycleprocessor in your
tests so no redirect happens.
-igor
On Mon, Aug 30, 2010 at 4:13 AM, Michael Sparer wrote:
>
hi,
is there a way to test Pages that have the @RequireHttps annotation?
currently the code
getTester().startPage(RegisterPage.class);
getTester().assertRenderedPage(RegisterPage.class);
results in this Exception:
junit.framework.AssertionFailedError: page wa