Skip to content

Login doesn't work on Spring #47

@DennisDavari

Description

@DennisDavari

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?

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions