Interface TesterWrappers

All Known Implementing Classes:
BrowserlessUIContext

public interface TesterWrappers
Wrapper methods that hand out a tester for a component instance, mixed into the test base classes so a test can write test(component).
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Hook for context-bound implementations to install Vaadin thread-locals before a component is wrapped in a tester.
    popoverFor(ComponentQuery<? extends com.vaadin.flow.component.Component> query)
    Wraps the given component in a tester.
    popoverFor(com.vaadin.flow.component.Component target)
    Wraps the given component in a tester.
    default AccordionTester<com.vaadin.flow.component.accordion.Accordion>
    test(com.vaadin.flow.component.accordion.Accordion accordion)
    Wraps the given component in a tester.
    default AvatarGroupTester<com.vaadin.flow.component.avatar.AvatarGroup>
    test(com.vaadin.flow.component.avatar.AvatarGroup avatarGroup)
    Wraps the given component in a tester.
    default BreadcrumbsTester<com.vaadin.flow.component.breadcrumbs.Breadcrumbs>
    test(com.vaadin.flow.component.breadcrumbs.Breadcrumbs breadcrumbs)
    Wraps the given component in a tester.
    default ButtonTester<com.vaadin.flow.component.button.Button>
    test(com.vaadin.flow.component.button.Button button)
    Wraps the given component in a tester.
    default CardTester<com.vaadin.flow.component.card.Card>
    test(com.vaadin.flow.component.card.Card card)
    Wraps the given component in a tester.
    default CheckboxTester<com.vaadin.flow.component.checkbox.Checkbox>
    test(com.vaadin.flow.component.checkbox.Checkbox checkbox)
    Wraps the given component in a tester.
    default <V> CheckboxGroupTester<com.vaadin.flow.component.checkbox.CheckboxGroup<V>,V>
    test(com.vaadin.flow.component.checkbox.CheckboxGroup<V> checkboxGroup)
    Wraps the given component in a tester.
    default <V> CheckboxGroupTester<com.vaadin.flow.component.checkbox.CheckboxGroup<V>,V>
    test(com.vaadin.flow.component.checkbox.CheckboxGroup checkboxGroup, Class<V> valueType)
    Wraps the given component in a tester.
    default SwitchTester<com.vaadin.flow.component.checkbox.Switch>
    test(com.vaadin.flow.component.checkbox.Switch field)
    Wraps the given component in a tester.
    default <V> ComboBoxTester<com.vaadin.flow.component.combobox.ComboBox<V>,V>
    test(com.vaadin.flow.component.combobox.ComboBox<V> comboBox)
    Wraps the given component in a tester.
    default <V> ComboBoxTester<com.vaadin.flow.component.combobox.ComboBox<V>,V>
    test(com.vaadin.flow.component.combobox.ComboBox comboBox, Class<V> valueType)
    Wraps the given component in a tester.
    default <V> MultiSelectComboBoxTester<com.vaadin.flow.component.combobox.MultiSelectComboBox<V>,V>
    test(com.vaadin.flow.component.combobox.MultiSelectComboBox<V> comboBox)
    Wraps the given component in a tester.
    default <V> MultiSelectComboBoxTester<com.vaadin.flow.component.combobox.MultiSelectComboBox<V>,V>
    test(com.vaadin.flow.component.combobox.MultiSelectComboBox comboBox, Class<V> valueType)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.confirmdialog.ConfirmDialog confirmDialog)
    Wraps the given component in a tester.
    default ContextMenuTester<com.vaadin.flow.component.contextmenu.ContextMenu>
    test(com.vaadin.flow.component.contextmenu.ContextMenu contextMenu)
    Wraps the given component in a tester.
    default DatePickerTester<com.vaadin.flow.component.datepicker.DatePicker>
    test(com.vaadin.flow.component.datepicker.DatePicker datePicker)
    Wraps the given component in a tester.
    default DateTimePickerTester<com.vaadin.flow.component.datetimepicker.DateTimePicker>
    test(com.vaadin.flow.component.datetimepicker.DateTimePicker dateTimePicker)
    Wraps the given component in a tester.
    default DetailsTester<com.vaadin.flow.component.details.Details>
    test(com.vaadin.flow.component.details.Details details)
    Wraps the given component in a tester.
    default DialogTester
    test(com.vaadin.flow.component.dialog.Dialog dialog)
    Wraps the given component in a tester.
    default <V> GridContextMenuTester<com.vaadin.flow.component.grid.contextmenu.GridContextMenu<V>,V>
    test(com.vaadin.flow.component.grid.contextmenu.GridContextMenu<V> gridContextMenu)
    Create a tester for the given GridContextMenu instance.
    default <V> GridTester<com.vaadin.flow.component.grid.Grid<V>,V>
    test(com.vaadin.flow.component.grid.Grid<V> grid)
    Wraps the given component in a tester.
    default <V> GridTester<com.vaadin.flow.component.grid.Grid<V>,V>
    test(com.vaadin.flow.component.grid.Grid grid, Class<V> itemType)
    Wraps the given component in a tester.
    default AnchorTester
    test(com.vaadin.flow.component.html.Anchor anchor)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.DescriptionList descriptionList)
    Wraps the given component in a tester.
    default DivTester
    test(com.vaadin.flow.component.html.Div div)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.Emphasis emphasis)
    Wraps the given component in a tester.
    default H1Tester
    test(com.vaadin.flow.component.html.H1 h1)
    Wraps the given component in a tester.
    default H2Tester
    test(com.vaadin.flow.component.html.H2 h2)
    Wraps the given component in a tester.
    default H3Tester
    test(com.vaadin.flow.component.html.H3 h3)
    Wraps the given component in a tester.
    default H4Tester
    test(com.vaadin.flow.component.html.H4 h4)
    Wraps the given component in a tester.
    default H5Tester
    test(com.vaadin.flow.component.html.H5 h5)
    Wraps the given component in a tester.
    default H6Tester
    test(com.vaadin.flow.component.html.H6 h6)
    Wraps the given component in a tester.
    default HrTester
    test(com.vaadin.flow.component.html.Hr hr)
    Wraps the given component in a tester.
    default ImageTester
    test(com.vaadin.flow.component.html.Image image)
    Wraps the given component in a tester.
    default InputTester
    test(com.vaadin.flow.component.html.Input input)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.ListItem listItem)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.NativeButton nativeButton)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.NativeDetails nativeDetails)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.NativeLabel label)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.OrderedList orderedList)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.Paragraph paragraph)
    Wraps the given component in a tester.
    default PreTester
    test(com.vaadin.flow.component.html.Pre pre)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.RangeInput input)
    Wraps the given component in a tester.
    default SpanTester
    test(com.vaadin.flow.component.html.Span span)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.html.UnorderedList unorderedList)
    Wraps the given component in a tester.
    default <V> ListBoxTester<com.vaadin.flow.component.listbox.ListBox<V>,V>
    test(com.vaadin.flow.component.listbox.ListBox<V> listBox)
    Wraps the given component in a tester.
    default <V> MultiSelectListBoxTester<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,V>
    test(com.vaadin.flow.component.listbox.MultiSelectListBox<V> multiSelectListBox)
    Wraps the given component in a tester.
    default <V> MultiSelectListBoxTester<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,V>
    test(com.vaadin.flow.component.listbox.MultiSelectListBox multiSelectListBox, Class<V> valueType)
    Wraps the given component in a tester.
    default LoginFormTester<com.vaadin.flow.component.login.LoginForm>
    test(com.vaadin.flow.component.login.LoginForm loginForm)
    Wraps the given component in a tester.
    default LoginOverlayTester<com.vaadin.flow.component.login.LoginOverlay>
    test(com.vaadin.flow.component.login.LoginOverlay loginOverlay)
    Wraps the given component in a tester.
    default MarkdownTester<com.vaadin.flow.component.markdown.Markdown>
    test(com.vaadin.flow.component.markdown.Markdown markdown)
    Wraps the given component in a tester.
    default MasterDetailLayoutTester<com.vaadin.flow.component.masterdetaillayout.MasterDetailLayout>
    test(com.vaadin.flow.component.masterdetaillayout.MasterDetailLayout masterDetailLayout)
    Wraps the given component in a tester.
    default MessageInputTester<com.vaadin.flow.component.messages.MessageInput>
    test(com.vaadin.flow.component.messages.MessageInput messageInput)
    Wraps the given component in a tester.
    default MessageListTester<com.vaadin.flow.component.messages.MessageList>
    test(com.vaadin.flow.component.messages.MessageList messageList)
    Wraps the given component in a tester.
    default NotificationTester<com.vaadin.flow.component.notification.Notification>
    test(com.vaadin.flow.component.notification.Notification notification)
    Wraps the given component in a tester.
    test(com.vaadin.flow.component.popover.Popover popover)
    Wraps the given component in a tester.
    default <V> RadioButtonGroupTester<com.vaadin.flow.component.radiobutton.RadioButtonGroup<V>,V>
    test(com.vaadin.flow.component.radiobutton.RadioButtonGroup<V> radioButtonGroup)
    Wraps the given component in a tester.
    default <V> RadioButtonGroupTester<com.vaadin.flow.component.radiobutton.RadioButtonGroup<V>,V>
    test(com.vaadin.flow.component.radiobutton.RadioButtonGroup radioButtonGroup, Class<V> valueType)
    Wraps the given component in a tester.
    default <V> SelectTester<com.vaadin.flow.component.select.Select<V>,V>
    test(com.vaadin.flow.component.select.Select<V> select)
    Wraps the given component in a tester.
    default <V> SelectTester<com.vaadin.flow.component.select.Select<V>,V>
    test(com.vaadin.flow.component.select.Select select, Class<V> valueType)
    Wraps the given component in a tester.
    default SideNavTester<com.vaadin.flow.component.sidenav.SideNav>
    test(com.vaadin.flow.component.sidenav.SideNav sideNav)
    Wraps the given component in a tester.
    default DecimalRangeSliderTester<com.vaadin.flow.component.slider.DecimalRangeSlider>
    test(com.vaadin.flow.component.slider.DecimalRangeSlider rangeSlider)
    Wraps the given component in a tester.
    default DecimalSliderTester<com.vaadin.flow.component.slider.DecimalSlider>
    test(com.vaadin.flow.component.slider.DecimalSlider slider)
    Wraps the given component in a tester.
    default IntegerRangeSliderTester<com.vaadin.flow.component.slider.IntegerRangeSlider>
    test(com.vaadin.flow.component.slider.IntegerRangeSlider integerRangeSlider)
    Wraps the given component in a tester.
    default IntegerSliderTester<com.vaadin.flow.component.slider.IntegerSlider>
    test(com.vaadin.flow.component.slider.IntegerSlider integerSlider)
    Wraps the given component in a tester.
    default SplitLayoutTester<com.vaadin.flow.component.splitlayout.SplitLayout>
    test(com.vaadin.flow.component.splitlayout.SplitLayout splitLayout)
    Wraps the given component in a tester.
    default TabsTester<com.vaadin.flow.component.tabs.Tabs>
    test(com.vaadin.flow.component.tabs.Tabs tabs)
    Wraps the given component in a tester.
    default TabSheetTester<com.vaadin.flow.component.tabs.TabSheet>
    test(com.vaadin.flow.component.tabs.TabSheet tabSheet)
    Wraps the given component in a tester.
    default TextTester<com.vaadin.flow.component.Text>
    test(com.vaadin.flow.component.Text text)
    Wraps the given component in a tester.
    default TextFieldTester<com.vaadin.flow.component.textfield.BigDecimalField,BigDecimal>
    test(com.vaadin.flow.component.textfield.BigDecimalField bigDecimalField)
    Wraps the given component in a tester.
    default TextFieldTester<com.vaadin.flow.component.textfield.EmailField,String>
    test(com.vaadin.flow.component.textfield.EmailField emailField)
    Wraps the given component in a tester.
    default NumberFieldTester<com.vaadin.flow.component.textfield.IntegerField,Integer>
    test(com.vaadin.flow.component.textfield.IntegerField integerField)
    Wraps the given component in a tester.
    default NumberFieldTester<com.vaadin.flow.component.textfield.NumberField,Double>
    test(com.vaadin.flow.component.textfield.NumberField numberField)
    Wraps the given component in a tester.
    default TextFieldTester<com.vaadin.flow.component.textfield.PasswordField,String>
    test(com.vaadin.flow.component.textfield.PasswordField passwordField)
    Wraps the given component in a tester.
    default TextAreaTester<com.vaadin.flow.component.textfield.TextArea>
    test(com.vaadin.flow.component.textfield.TextArea textArea)
    Wraps the given component in a tester.
    default TextFieldTester<com.vaadin.flow.component.textfield.TextField,String>
    test(com.vaadin.flow.component.textfield.TextField textField)
    Wraps the given component in a tester.
    default TimePickerTester<com.vaadin.flow.component.timepicker.TimePicker>
    test(com.vaadin.flow.component.timepicker.TimePicker timePicker)
    Wraps the given component in a tester.
    default <V> TreeGridTester<com.vaadin.flow.component.treegrid.TreeGrid<V>,V>
    test(com.vaadin.flow.component.treegrid.TreeGrid<V> treeGrid)
    Create a tester for the given TreeGrid instance.
    default <V> TreeGridTester<com.vaadin.flow.component.treegrid.TreeGrid<V>,V>
    test(com.vaadin.flow.component.treegrid.TreeGrid treeGrid, Class<V> itemType)
    Create a tester for the given TreeGrid instance.
    default UploadTester<com.vaadin.flow.component.upload.Upload>
    test(com.vaadin.flow.component.upload.Upload upload)
    Wraps the given component in a tester.
    default UploadButtonTester<com.vaadin.flow.component.upload.UploadButton>
    test(com.vaadin.flow.component.upload.UploadButton uploadButton)
    Create a tester for the given UploadButton instance.
    default UploadDropZoneTester<com.vaadin.flow.component.upload.UploadDropZone>
    test(com.vaadin.flow.component.upload.UploadDropZone uploadDropZone)
    Wraps the given component in a tester.
    default UploadFileListTester<com.vaadin.flow.component.upload.UploadFileList>
    test(com.vaadin.flow.component.upload.UploadFileList uploadFileList)
    Wraps the given component in a tester.
    default <V> VirtualListTester<com.vaadin.flow.component.virtuallist.VirtualList<V>,V>
    test(com.vaadin.flow.component.virtuallist.VirtualList<V> virtualList)
    Wraps the given component in a tester.
    default <V> VirtualListTester<com.vaadin.flow.component.virtuallist.VirtualList<V>,V>
    test(com.vaadin.flow.component.virtuallist.VirtualList virtualList, Class<V> itemType)
    Wraps the given component in a tester.
    default RouterLinkTester<com.vaadin.flow.router.RouterLink>
    test(com.vaadin.flow.router.RouterLink routerLink)
    Wraps the given component in a tester.
  • Method Details

    • activateTesterContext

      default void activateTesterContext()
      Hook for context-bound implementations to install Vaadin thread-locals before a component is wrapped in a tester. Called by every typed test(...) and popoverFor(...) method of this interface and of CommercialTesterWrappers. Default is a no-op.
    • test

      default AccordionTester<com.vaadin.flow.component.accordion.Accordion> test(com.vaadin.flow.component.accordion.Accordion accordion)
      Wraps the given component in a tester.
      Parameters:
      accordion - the component to wrap
      Returns:
      a tester for the given component
    • test

      default AvatarGroupTester<com.vaadin.flow.component.avatar.AvatarGroup> test(com.vaadin.flow.component.avatar.AvatarGroup avatarGroup)
      Wraps the given component in a tester.
      Parameters:
      avatarGroup - the component to wrap
      Returns:
      a tester for the given component
      Since:
      25.3
    • test

      default BreadcrumbsTester<com.vaadin.flow.component.breadcrumbs.Breadcrumbs> test(com.vaadin.flow.component.breadcrumbs.Breadcrumbs breadcrumbs)
      Wraps the given component in a tester.
      Parameters:
      breadcrumbs - the component to wrap
      Returns:
      a tester for the given component
    • test

      default ButtonTester<com.vaadin.flow.component.button.Button> test(com.vaadin.flow.component.button.Button button)
      Wraps the given component in a tester.
      Parameters:
      button - the component to wrap
      Returns:
      a tester for the given component
    • test

      default CardTester<com.vaadin.flow.component.card.Card> test(com.vaadin.flow.component.card.Card card)
      Wraps the given component in a tester.
      Parameters:
      card - the component to wrap
      Returns:
      a tester for the given component
      Since:
      25.3
    • test

      default CheckboxTester<com.vaadin.flow.component.checkbox.Checkbox> test(com.vaadin.flow.component.checkbox.Checkbox checkbox)
      Wraps the given component in a tester.
      Parameters:
      checkbox - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> CheckboxGroupTester<com.vaadin.flow.component.checkbox.CheckboxGroup<V>,V> test(com.vaadin.flow.component.checkbox.CheckboxGroup<V> checkboxGroup)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      checkboxGroup - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> CheckboxGroupTester<com.vaadin.flow.component.checkbox.CheckboxGroup<V>,V> test(com.vaadin.flow.component.checkbox.CheckboxGroup checkboxGroup, Class<V> valueType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      checkboxGroup - the component to wrap
      valueType - the component to wrap
      Returns:
      a tester for the given component
    • test

      default SwitchTester<com.vaadin.flow.component.checkbox.Switch> test(com.vaadin.flow.component.checkbox.Switch field)
      Wraps the given component in a tester.
      Parameters:
      field - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> ComboBoxTester<com.vaadin.flow.component.combobox.ComboBox<V>,V> test(com.vaadin.flow.component.combobox.ComboBox<V> comboBox)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      comboBox - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> ComboBoxTester<com.vaadin.flow.component.combobox.ComboBox<V>,V> test(com.vaadin.flow.component.combobox.ComboBox comboBox, Class<V> valueType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      comboBox - the component to wrap
      valueType - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> MultiSelectComboBoxTester<com.vaadin.flow.component.combobox.MultiSelectComboBox<V>,V> test(com.vaadin.flow.component.combobox.MultiSelectComboBox<V> comboBox)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      comboBox - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> MultiSelectComboBoxTester<com.vaadin.flow.component.combobox.MultiSelectComboBox<V>,V> test(com.vaadin.flow.component.combobox.MultiSelectComboBox comboBox, Class<V> valueType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      comboBox - the component to wrap
      valueType - the component to wrap
      Returns:
      a tester for the given component
    • test

      default ConfirmDialogTester test(com.vaadin.flow.component.confirmdialog.ConfirmDialog confirmDialog)
      Wraps the given component in a tester.
      Parameters:
      confirmDialog - the component to wrap
      Returns:
      a tester for the given component
    • test

      default ContextMenuTester<com.vaadin.flow.component.contextmenu.ContextMenu> test(com.vaadin.flow.component.contextmenu.ContextMenu contextMenu)
      Wraps the given component in a tester.
      Parameters:
      contextMenu - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DatePickerTester<com.vaadin.flow.component.datepicker.DatePicker> test(com.vaadin.flow.component.datepicker.DatePicker datePicker)
      Wraps the given component in a tester.
      Parameters:
      datePicker - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DateTimePickerTester<com.vaadin.flow.component.datetimepicker.DateTimePicker> test(com.vaadin.flow.component.datetimepicker.DateTimePicker dateTimePicker)
      Wraps the given component in a tester.
      Parameters:
      dateTimePicker - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DetailsTester<com.vaadin.flow.component.details.Details> test(com.vaadin.flow.component.details.Details details)
      Wraps the given component in a tester.
      Parameters:
      details - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DialogTester test(com.vaadin.flow.component.dialog.Dialog dialog)
      Wraps the given component in a tester.
      Parameters:
      dialog - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> GridTester<com.vaadin.flow.component.grid.Grid<V>,V> test(com.vaadin.flow.component.grid.Grid<V> grid)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      grid - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> GridTester<com.vaadin.flow.component.grid.Grid<V>,V> test(com.vaadin.flow.component.grid.Grid grid, Class<V> itemType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      grid - the component to wrap
      itemType - the type of the items in the component
      Returns:
      a tester for the given component
    • test

      default <V> GridContextMenuTester<com.vaadin.flow.component.grid.contextmenu.GridContextMenu<V>,V> test(com.vaadin.flow.component.grid.contextmenu.GridContextMenu<V> gridContextMenu)
      Create a tester for the given GridContextMenu instance.
      Type Parameters:
      V - the type of the items in the grid the menu is attached to
      Parameters:
      gridContextMenu - the GridContextMenu instance to be tested
      Returns:
      a GridContextMenuTester instance wrapping the given GridContextMenu
      Since:
      25.3
    • test

      default <V> ListBoxTester<com.vaadin.flow.component.listbox.ListBox<V>,V> test(com.vaadin.flow.component.listbox.ListBox<V> listBox)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      listBox - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> MultiSelectListBoxTester<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,V> test(com.vaadin.flow.component.listbox.MultiSelectListBox<V> multiSelectListBox)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      multiSelectListBox - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> MultiSelectListBoxTester<com.vaadin.flow.component.listbox.MultiSelectListBox<V>,V> test(com.vaadin.flow.component.listbox.MultiSelectListBox multiSelectListBox, Class<V> valueType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      multiSelectListBox - the component to wrap
      valueType - the component to wrap
      Returns:
      a tester for the given component
    • test

      default LoginFormTester<com.vaadin.flow.component.login.LoginForm> test(com.vaadin.flow.component.login.LoginForm loginForm)
      Wraps the given component in a tester.
      Parameters:
      loginForm - the component to wrap
      Returns:
      a tester for the given component
    • test

      default LoginOverlayTester<com.vaadin.flow.component.login.LoginOverlay> test(com.vaadin.flow.component.login.LoginOverlay loginOverlay)
      Wraps the given component in a tester.
      Parameters:
      loginOverlay - the component to wrap
      Returns:
      a tester for the given component
    • test

      default MarkdownTester<com.vaadin.flow.component.markdown.Markdown> test(com.vaadin.flow.component.markdown.Markdown markdown)
      Wraps the given component in a tester.
      Parameters:
      markdown - the component to wrap
      Returns:
      a tester for the given component
    • test

      default MasterDetailLayoutTester<com.vaadin.flow.component.masterdetaillayout.MasterDetailLayout> test(com.vaadin.flow.component.masterdetaillayout.MasterDetailLayout masterDetailLayout)
      Wraps the given component in a tester.
      Parameters:
      masterDetailLayout - the component to wrap
      Returns:
      a tester for the given component
    • test

      default MessageInputTester<com.vaadin.flow.component.messages.MessageInput> test(com.vaadin.flow.component.messages.MessageInput messageInput)
      Wraps the given component in a tester.
      Parameters:
      messageInput - the component to wrap
      Returns:
      a tester for the given component
    • test

      default MessageListTester<com.vaadin.flow.component.messages.MessageList> test(com.vaadin.flow.component.messages.MessageList messageList)
      Wraps the given component in a tester.
      Parameters:
      messageList - the component to wrap
      Returns:
      a tester for the given component
    • test

      default PopoverTester test(com.vaadin.flow.component.popover.Popover popover)
      Wraps the given component in a tester.
      Parameters:
      popover - the component to wrap
      Returns:
      a tester for the given component
    • popoverFor

      default PopoverTester popoverFor(com.vaadin.flow.component.Component target)
      Wraps the given component in a tester.
      Parameters:
      target - the component to wrap
      Returns:
      a tester for the given component
    • popoverFor

      default PopoverTester popoverFor(ComponentQuery<? extends com.vaadin.flow.component.Component> query)
      Wraps the given component in a tester.
      Parameters:
      query - the component to wrap
      Returns:
      a tester for the given component
    • test

      default NotificationTester<com.vaadin.flow.component.notification.Notification> test(com.vaadin.flow.component.notification.Notification notification)
      Wraps the given component in a tester.
      Parameters:
      notification - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> RadioButtonGroupTester<com.vaadin.flow.component.radiobutton.RadioButtonGroup<V>,V> test(com.vaadin.flow.component.radiobutton.RadioButtonGroup<V> radioButtonGroup)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      radioButtonGroup - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> RadioButtonGroupTester<com.vaadin.flow.component.radiobutton.RadioButtonGroup<V>,V> test(com.vaadin.flow.component.radiobutton.RadioButtonGroup radioButtonGroup, Class<V> valueType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      radioButtonGroup - the component to wrap
      valueType - the component to wrap
      Returns:
      a tester for the given component
    • test

      default RouterLinkTester<com.vaadin.flow.router.RouterLink> test(com.vaadin.flow.router.RouterLink routerLink)
      Wraps the given component in a tester.
      Parameters:
      routerLink - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> SelectTester<com.vaadin.flow.component.select.Select<V>,V> test(com.vaadin.flow.component.select.Select<V> select)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      select - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> SelectTester<com.vaadin.flow.component.select.Select<V>,V> test(com.vaadin.flow.component.select.Select select, Class<V> valueType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      select - the component to wrap
      valueType - the component to wrap
      Returns:
      a tester for the given component
    • test

      default SideNavTester<com.vaadin.flow.component.sidenav.SideNav> test(com.vaadin.flow.component.sidenav.SideNav sideNav)
      Wraps the given component in a tester.
      Parameters:
      sideNav - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DecimalRangeSliderTester<com.vaadin.flow.component.slider.DecimalRangeSlider> test(com.vaadin.flow.component.slider.DecimalRangeSlider rangeSlider)
      Wraps the given component in a tester.
      Parameters:
      rangeSlider - the component to wrap
      Returns:
      a tester for the given component
      Since:
      1.1
    • test

      default IntegerRangeSliderTester<com.vaadin.flow.component.slider.IntegerRangeSlider> test(com.vaadin.flow.component.slider.IntegerRangeSlider integerRangeSlider)
      Wraps the given component in a tester.
      Parameters:
      integerRangeSlider - the component to wrap
      Returns:
      a tester for the given component
      Since:
      1.1
    • test

      default DecimalSliderTester<com.vaadin.flow.component.slider.DecimalSlider> test(com.vaadin.flow.component.slider.DecimalSlider slider)
      Wraps the given component in a tester.
      Parameters:
      slider - the component to wrap
      Returns:
      a tester for the given component
      Since:
      1.1
    • test

      default IntegerSliderTester<com.vaadin.flow.component.slider.IntegerSlider> test(com.vaadin.flow.component.slider.IntegerSlider integerSlider)
      Wraps the given component in a tester.
      Parameters:
      integerSlider - the component to wrap
      Returns:
      a tester for the given component
      Since:
      1.1
    • test

      default SplitLayoutTester<com.vaadin.flow.component.splitlayout.SplitLayout> test(com.vaadin.flow.component.splitlayout.SplitLayout splitLayout)
      Wraps the given component in a tester.
      Parameters:
      splitLayout - the component to wrap
      Returns:
      a tester for the given component
      Since:
      25.3
    • test

      default TabsTester<com.vaadin.flow.component.tabs.Tabs> test(com.vaadin.flow.component.tabs.Tabs tabs)
      Wraps the given component in a tester.
      Parameters:
      tabs - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TabSheetTester<com.vaadin.flow.component.tabs.TabSheet> test(com.vaadin.flow.component.tabs.TabSheet tabSheet)
      Wraps the given component in a tester.
      Parameters:
      tabSheet - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TextTester<com.vaadin.flow.component.Text> test(com.vaadin.flow.component.Text text)
      Wraps the given component in a tester.
      Parameters:
      text - the component to wrap
      Returns:
      a tester for the given component
    • test

      default NumberFieldTester<com.vaadin.flow.component.textfield.IntegerField,Integer> test(com.vaadin.flow.component.textfield.IntegerField integerField)
      Wraps the given component in a tester.
      Parameters:
      integerField - the component to wrap
      Returns:
      a tester for the given component
    • test

      default NumberFieldTester<com.vaadin.flow.component.textfield.NumberField,Double> test(com.vaadin.flow.component.textfield.NumberField numberField)
      Wraps the given component in a tester.
      Parameters:
      numberField - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TextAreaTester<com.vaadin.flow.component.textfield.TextArea> test(com.vaadin.flow.component.textfield.TextArea textArea)
      Wraps the given component in a tester.
      Parameters:
      textArea - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TextFieldTester<com.vaadin.flow.component.textfield.TextField,String> test(com.vaadin.flow.component.textfield.TextField textField)
      Wraps the given component in a tester.
      Parameters:
      textField - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TextFieldTester<com.vaadin.flow.component.textfield.PasswordField,String> test(com.vaadin.flow.component.textfield.PasswordField passwordField)
      Wraps the given component in a tester.
      Parameters:
      passwordField - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TextFieldTester<com.vaadin.flow.component.textfield.EmailField,String> test(com.vaadin.flow.component.textfield.EmailField emailField)
      Wraps the given component in a tester.
      Parameters:
      emailField - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TextFieldTester<com.vaadin.flow.component.textfield.BigDecimalField,BigDecimal> test(com.vaadin.flow.component.textfield.BigDecimalField bigDecimalField)
      Wraps the given component in a tester.
      Parameters:
      bigDecimalField - the component to wrap
      Returns:
      a tester for the given component
    • test

      default TimePickerTester<com.vaadin.flow.component.timepicker.TimePicker> test(com.vaadin.flow.component.timepicker.TimePicker timePicker)
      Wraps the given component in a tester.
      Parameters:
      timePicker - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> TreeGridTester<com.vaadin.flow.component.treegrid.TreeGrid<V>,V> test(com.vaadin.flow.component.treegrid.TreeGrid<V> treeGrid)
      Create a tester for the given TreeGrid instance.

      This overload is more specific than test(Grid), so a TreeGrid argument now yields a TreeGridTester rather than a GridTester. Code that assigned the result to an explicitly typed GridTester<Grid<V>, V> no longer compiles and has to widen the declaration, use var, or chain the call directly.

      Type Parameters:
      V - the type of the items in the TreeGrid
      Parameters:
      treeGrid - the TreeGrid instance to be tested
      Returns:
      a TreeGridTester instance wrapping the given TreeGrid
      Since:
      25.3
    • test

      default <V> TreeGridTester<com.vaadin.flow.component.treegrid.TreeGrid<V>,V> test(com.vaadin.flow.component.treegrid.TreeGrid treeGrid, Class<V> itemType)
      Create a tester for the given TreeGrid instance.

      This overload is more specific than test(Grid, Class), so a TreeGrid argument now yields a TreeGridTester rather than a GridTester. Code that assigned the result to an explicitly typed GridTester<Grid<V>, V> no longer compiles and has to widen the declaration, use var, or chain the call directly.

      Type Parameters:
      V - the type of the items in the TreeGrid
      Parameters:
      treeGrid - the TreeGrid instance to be tested
      itemType - the type of the items in the TreeGrid
      Returns:
      a TreeGridTester instance wrapping the given TreeGrid
      Since:
      25.3
    • test

      default UploadTester<com.vaadin.flow.component.upload.Upload> test(com.vaadin.flow.component.upload.Upload upload)
      Wraps the given component in a tester.
      Parameters:
      upload - the component to wrap
      Returns:
      a tester for the given component
    • test

      default UploadButtonTester<com.vaadin.flow.component.upload.UploadButton> test(com.vaadin.flow.component.upload.UploadButton uploadButton)
      Create a tester for the given UploadButton instance.

      This overload is more specific than test(Button), so an UploadButton argument yields an UploadButtonTester rather than a ButtonTester. Code that assigned the result to an explicitly typed ButtonTester<Button> no longer compiles and has to widen the declaration, use var, or chain the call directly.

      Parameters:
      uploadButton - the UploadButton instance to be tested
      Returns:
      an UploadButtonTester instance wrapping the given UploadButton
    • test

      default UploadDropZoneTester<com.vaadin.flow.component.upload.UploadDropZone> test(com.vaadin.flow.component.upload.UploadDropZone uploadDropZone)
      Wraps the given component in a tester.
      Parameters:
      uploadDropZone - the component to wrap
      Returns:
      a tester for the given component
    • test

      default UploadFileListTester<com.vaadin.flow.component.upload.UploadFileList> test(com.vaadin.flow.component.upload.UploadFileList uploadFileList)
      Wraps the given component in a tester.
      Parameters:
      uploadFileList - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> VirtualListTester<com.vaadin.flow.component.virtuallist.VirtualList<V>,V> test(com.vaadin.flow.component.virtuallist.VirtualList<V> virtualList)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      virtualList - the component to wrap
      Returns:
      a tester for the given component
    • test

      default <V> VirtualListTester<com.vaadin.flow.component.virtuallist.VirtualList<V>,V> test(com.vaadin.flow.component.virtuallist.VirtualList virtualList, Class<V> itemType)
      Wraps the given component in a tester.
      Type Parameters:
      V - the type of the items in the component
      Parameters:
      virtualList - the component to wrap
      itemType - the type of the items in the component
      Returns:
      a tester for the given component
    • test

      default AnchorTester test(com.vaadin.flow.component.html.Anchor anchor)
      Wraps the given component in a tester.
      Parameters:
      anchor - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DescriptionListTester test(com.vaadin.flow.component.html.DescriptionList descriptionList)
      Wraps the given component in a tester.
      Parameters:
      descriptionList - the component to wrap
      Returns:
      a tester for the given component
    • test

      default DivTester test(com.vaadin.flow.component.html.Div div)
      Wraps the given component in a tester.
      Parameters:
      div - the component to wrap
      Returns:
      a tester for the given component
    • test

      default EmphasisTester test(com.vaadin.flow.component.html.Emphasis emphasis)
      Wraps the given component in a tester.
      Parameters:
      emphasis - the component to wrap
      Returns:
      a tester for the given component
    • test

      default H1Tester test(com.vaadin.flow.component.html.H1 h1)
      Wraps the given component in a tester.
      Parameters:
      h1 - the component to wrap
      Returns:
      a tester for the given component
    • test

      default H2Tester test(com.vaadin.flow.component.html.H2 h2)
      Wraps the given component in a tester.
      Parameters:
      h2 - the component to wrap
      Returns:
      a tester for the given component
    • test

      default H3Tester test(com.vaadin.flow.component.html.H3 h3)
      Wraps the given component in a tester.
      Parameters:
      h3 - the component to wrap
      Returns:
      a tester for the given component
    • test

      default H4Tester test(com.vaadin.flow.component.html.H4 h4)
      Wraps the given component in a tester.
      Parameters:
      h4 - the component to wrap
      Returns:
      a tester for the given component
    • test

      default H5Tester test(com.vaadin.flow.component.html.H5 h5)
      Wraps the given component in a tester.
      Parameters:
      h5 - the component to wrap
      Returns:
      a tester for the given component
    • test

      default H6Tester test(com.vaadin.flow.component.html.H6 h6)
      Wraps the given component in a tester.
      Parameters:
      h6 - the component to wrap
      Returns:
      a tester for the given component
    • test

      default HrTester test(com.vaadin.flow.component.html.Hr hr)
      Wraps the given component in a tester.
      Parameters:
      hr - the component to wrap
      Returns:
      a tester for the given component
    • test

      default ImageTester test(com.vaadin.flow.component.html.Image image)
      Wraps the given component in a tester.
      Parameters:
      image - the component to wrap
      Returns:
      a tester for the given component
    • test

      default InputTester test(com.vaadin.flow.component.html.Input input)
      Wraps the given component in a tester.
      Parameters:
      input - the component to wrap
      Returns:
      a tester for the given component
    • test

      default RangeInputTester test(com.vaadin.flow.component.html.RangeInput input)
      Wraps the given component in a tester.
      Parameters:
      input - the component to wrap
      Returns:
      a tester for the given component
    • test

      default NativeLabelTester test(com.vaadin.flow.component.html.NativeLabel label)
      Wraps the given component in a tester.
      Parameters:
      label - the component to wrap
      Returns:
      a tester for the given component
    • test

      default ListItemTester test(com.vaadin.flow.component.html.ListItem listItem)
      Wraps the given component in a tester.
      Parameters:
      listItem - the component to wrap
      Returns:
      a tester for the given component
    • test

      default NativeButtonTester test(com.vaadin.flow.component.html.NativeButton nativeButton)
      Wraps the given component in a tester.
      Parameters:
      nativeButton - the component to wrap
      Returns:
      a tester for the given component
    • test

      default NativeDetailsTester test(com.vaadin.flow.component.html.NativeDetails nativeDetails)
      Wraps the given component in a tester.
      Parameters:
      nativeDetails - the component to wrap
      Returns:
      a tester for the given component
    • test

      default OrderedListTester test(com.vaadin.flow.component.html.OrderedList orderedList)
      Wraps the given component in a tester.
      Parameters:
      orderedList - the component to wrap
      Returns:
      a tester for the given component
    • test

      default ParagraphTester test(com.vaadin.flow.component.html.Paragraph paragraph)
      Wraps the given component in a tester.
      Parameters:
      paragraph - the component to wrap
      Returns:
      a tester for the given component
    • test

      default PreTester test(com.vaadin.flow.component.html.Pre pre)
      Wraps the given component in a tester.
      Parameters:
      pre - the component to wrap
      Returns:
      a tester for the given component
    • test

      default SpanTester test(com.vaadin.flow.component.html.Span span)
      Wraps the given component in a tester.
      Parameters:
      span - the component to wrap
      Returns:
      a tester for the given component
    • test

      default UnorderedListTester test(com.vaadin.flow.component.html.UnorderedList unorderedList)
      Wraps the given component in a tester.
      Parameters:
      unorderedList - the component to wrap
      Returns:
      a tester for the given component