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.html.testbench.
Class HtmlContainerTester<T extends HtmlContainer>
java.lang.Object
com.vaadin.testbench.unit.ComponentTester<T>
com.vaadin.flow.component.html.testbench.HtmlComponentTester<T>
com.vaadin.flow.component.html.testbench.HtmlContainerTester<T>
Direct Known Subclasses:
AnchorTester
, HtmlClickContainer
, LabelTester
, NativeLabelTester
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.vaadin.flow.component.html.testbench.HtmlComponentTester
getTitle
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
-
HtmlContainerTester
Wrap given component for testing.
Parameters:
component
- target component
-
-
Method Details
-
getText
Get the text for target html component.
Overrides:
getText
in classHtmlComponentTester<T extends HtmlContainer>
Returns:
text of component
Throws:
IllegalStateException
- if component not visible
-