Class TextAreaTester<T extends TextArea>

java.lang.Object
com.vaadin.browserless.ComponentTester<T>
com.vaadin.flow.component.textfield.TextAreaTester<T>
Type Parameters:
T - component type
All Implemented Interfaces:
Clickable<T>

public class TextAreaTester<T extends TextArea> extends ComponentTester<T>
Tester for TextArea components.
Since:
1.0
  • Constructor Details

    • TextAreaTester

      public TextAreaTester(T component)
      Wrap given component for testing.
      Parameters:
      component - target component
  • Method Details

    • setValue

      public void setValue(String value)
      Set the value to the component if it is usable. For a non interactable component an IllegalStateException will be thrown as the end user would not be able to set a value.
      Parameters:
      value - value to set