Skip to main content

Interface: WaitForOption

@atomic-testing/core.WaitForOption

Properties

condition

condition: WaitForCondition

The condition to wait for the component to reach 'attached' - the component is attached to the DOM 'detached' - the component is not attached to the DOM 'visible' - the component is attached to the DOM and visible 'hidden' - the component is attached to the DOM but not visible

Default

'attached'

Defined in

packages/core/src/drivers/WaitForOption.ts:12


timeoutMs

timeoutMs: number

The number of milliseconds to wait before timing out

Default

30000

Defined in

packages/core/src/drivers/WaitForOption.ts:18