Class AbstractSingleSelectTester<T>
java.lang.Object
com.vaadin.testbench.uiunittest.testers.Tester<com.vaadin.ui.AbstractSingleSelect<T>>
com.vaadin.testbench.uiunittest.testers.AbstractSingleSelectTester<T>
- Direct Known Subclasses:
ComboBoxTester
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSimulate clicking item in single select component to get it selected.protected com.vaadin.ui.AbstractSingleSelect<T> booleanChecks if the component is interactable by user, i.e.protected voidMethods inherited from class com.vaadin.testbench.uiunittest.testers.Tester
errorMessage, fireSimulatedEvent, focus, isFocused, isInvalid, shortcut, shortcut
-
Constructor Details
-
AbstractSingleSelectTester
-
-
Method Details
-
clickItem
Simulate clicking item in single select component to get it selected. The field will gain focus and fire focus event as a side effect.- Parameters:
item- Item to click
-
setValue
-
isInteractable
public boolean isInteractable()Checks if the component is interactable by user, i.e. it is enabled and it is visible and not in readonly state.- Overrides:
isInteractablein classTester<com.vaadin.ui.AbstractSingleSelect<T>>- Returns:
- boolean value
-
getComponent
- Overrides:
getComponentin classTester<com.vaadin.ui.AbstractSingleSelect<T>>
-