com.vaadin.flow.component.html.testbench.

Class OrderedListTester

All Implemented Interfaces:

ClickHandler

public class OrderedListTester extends HtmlClickContainer<OrderedList>
  • Constructor Details

    • OrderedListTester

      public OrderedListTester(OrderedList component)

      Wrap given component for testing.

      Parameters:

      component - target component

  • Method Details

    • getItems

      public List<ListItem> getItems()

      Get all ListItems for unordered list.

      Returns:

      list of items

    • getWrappedItems

      public List<ListItemTester> getWrappedItems()

      Get all ListItems for unordered list already wrapped for testing.

      Returns:

      list of pre-wrapped items