Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

isIdlingResourceSupported

Capability query to determine if the current ComposeUiTest implementation supports registering an IdlingResource.

isIdlingResourceSupported

Source set: Common
@ExperimentalTestApi
fun ComposeUiTest.isIdlingResourceSupported(): Boolean

Capability query to determine if the current ComposeUiTest implementation supports registering an IdlingResource.

While IdlingResource is supported on Android and Desktop, currently it is not available on all targets (such as Web).

Returns

true if the implementation supports IdlingResource registration, false otherwise.

Last updated: