Call this InteractorConstructor to initialize an Interactor
for select boxes with multiple select. The multi select interactor can be
used to interact with select boxes with the multiple attribute and to
assert on their state.
See Select for an interactor for single select boxes.
The multi select is located by the text of its label.
Call this InteractorConstructor to initialize an Interactor for select boxes with multiple select. The multi select interactor can be used to interact with select boxes with the
multiple
attribute and to assert on their state.See Select for an interactor for single select boxes.
The multi select is located by the text of its label.
Example
Filters
title
: string – Filter by titleid
: string – Filter by idvalid
: boolean – Filter by whether the select box is valid.values
: string[] – Filter by the text of the selected options.visible
: boolean – Filter by visibility. Defaults totrue
. See isVisible.disabled
: boolean – Filter by whether the select box is disabled. Defaults tofalse
.focused
: boolean – Filter by whether the select box is focused. See focused.Actions
click()
: Interaction – Click on the multi selectfocus()
: Interaction – Move focus to the multi selectblur()
: Interaction – Move focus away from the multi selectchoose(text: string)
: Interaction – Choose the option with the given text from the multi select. Will deselect all other selected options.select(text: string)
: Interaction – Add the option with the given text to the selection.deselect(text: string)
: Interaction – Remove the option with the given text from the selection.