Package com.vaadin.flow.component.login
Class AbstractLoginTester
-
- All Implemented Interfaces:
public class AbstractLoginTester<T extends AbstractLogin> extends ComponentTester<T>
Class with common functions for Login components LoginForm and LoginOverlay.
-
-
Constructor Summary
Constructors Constructor Description AbstractLoginTester(T component)Wrap given component for testing.
-
Method Summary
Modifier and Type Method Description voidlogin(String userName, String password)Send login credentials through the login. voidforgotPassword()Simulate click on forgot password button. -
-
Constructor Detail
-
AbstractLoginTester
AbstractLoginTester(T component)
Wrap given component for testing.- Parameters:
component- target component
-
-
Method Detail
-
login
void login(String userName, String password)
Send login credentials through the login.
- Parameters:
userName- user to loginpassword- password for user
-
forgotPassword
void forgotPassword()
Simulate click on forgot password button.
-
-
-
-