Thanks  a lot Igor, now it's works.

2009/9/25 Igor Vaynberg <igor.vaynb...@gmail.com>:
> so in your tests do not install the httpsrequestcycleprocessor
>
> -igor
>
> On Fri, Sep 25, 2009 at 10:46 AM, Rangel Preis <rangel...@gmail.com> wrote:
>> I put the @RequireHttps annotation in my LoginPage, and it's work fine
>> when i run the app.
>> But when i run my tests all test fail, if I remove @RequireHttps all
>> test pass correctly
>>
>> Here's the problem, when i run this code without the annotation the
>> wicket tester call the button "btn_login".
>> If i put the @RequireHttps annotation this code don't work.
>>
>>        protected final static void logarUsuario() {
>>                tester.startPage(LoginPage.class);
>>                tester.assertRenderedPage(LoginPage.class);
>>                tester.assertNoErrorMessage();
>>
>>                final FormTester form = tester.newFormTester("form");
>>                form.setValue("email", "username");
>>                form.setValue("pass", "password");
>>                form.submit("btn_login");
>>        }
>>
>> Thanks all.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to