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: [email protected]
For additional commands, e-mail: [email protected]