Class ComboBoxTester<T>

java.lang.Object
com.vaadin.testbench.uiunittest.testers.Tester<com.vaadin.ui.AbstractSingleSelect<T>>
com.vaadin.testbench.uiunittest.testers.AbstractSingleSelectTester<T>
com.vaadin.testbench.uiunittest.testers.ComboBoxTester<T>

public class ComboBoxTester<T> extends AbstractSingleSelectTester<T>
  • Constructor Details

    • ComboBoxTester

      public ComboBoxTester(com.vaadin.ui.ComboBox<T> field)
  • Method Details

    • setInput

      public void setInput(String value)
      Simulate text input to Filter field. Asserts that filter field is not disabled. If only one item matches filter, it is selected. If no items match and newItemProvider is present, it will be called with given value. ComboBox will gain focus and fire focus event as a side effect.
      Parameters:
      value - String value
    • getComponent

      protected com.vaadin.ui.ComboBox<T> getComponent()
      Overrides:
      getComponent in class AbstractSingleSelectTester<T>