Call this InteractorConstructor to initialize a accordion Interactor.
The accordion interactor can be used to interact with accordions on the page and
to assert on their state.
The accordion is located by the aria-label attribute or visible text on the accordion's summary in otherwise.
Call this InteractorConstructor to initialize a accordion Interactor. The accordion interactor can be used to interact with accordions on the page and to assert on their state.
The accordion is located by the
aria-labelattribute or visible text on the accordion's summary in otherwise.Example
Filters
title: string – Filter by titleid: string – Filter by idvisible: boolean – Filter by visibility. Defaults totrue. See isVisible.disabled: boolean – Filter by whether the accordion is disabled. Defaults tofalse.expanded: boolean – Filter by whether the accordion is expanded.Actions
expand(): Interaction – Expand the accordioncollapse(): Interaction – Collapse the accordiontoggle(): Interaction – Toggle the accordion