We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.login.
Package com.vaadin.flow.component.login
Class AbstractLoginTester<T extends AbstractLogin>
java.lang.Object
com.vaadin.testbench.unit.ComponentTester<T>
com.vaadin.flow.component.login.AbstractLoginTester<T>
Type Parameters:
T
- component type
Direct Known Subclasses:
Class with common functions for Login components LoginForm and LoginOverlay.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Simulate click on forgot password button.
void
Send login credentials through the login.
Methods inherited from class com.vaadin.testbench.unit.ComponentTester
ensureComponentIsUsable, ensureComponentIsUsable, ensureVisible, ensureVisible, find, findAllByQuery, findByQuery, fireDomEvent, fireDomEvent, fireDomEvent, getComponent, getField, getField, getMethod, getMethod, isUsable, isUsable, notUsableReasons, notUsableReasons, roundTrip, setModal
-
Constructor Details
-
AbstractLoginTester
Wrap given component for testing.
Parameters:
component
- target component
-
-
Method Details
-
login
Send login credentials through the login.
Parameters:
userName
- user to loginpassword
- password for user -
forgotPassword
public void forgotPassword()Simulate click on forgot password button.
Throws:
IllegalStateException
- when forgot password button is hidden
-