Hello guys, I want to test my application with Karibu and before all tests I want to login but I get the error
java.lang.AssertionError: /login: No visible LoginOverlay in UI[] matching LoginOverlay: []. Component tree:
└── UI[]
└── RouteNotFoundError[]
├── Html[]
└── Html[
In order to simulate the login I use this:
UI.getCurrent().navigate("login");
LoginFormKt._login(_get(LoginOverlay.class), "admin", "password");
I use the login class of Spring Security. Does someone have an idea why this doesn't work?
Hello guys, I want to test my application with Karibu and before all tests I want to login but I get the error
In order to simulate the login I use this:
I use the login class of Spring Security. Does someone have an idea why this doesn't work?