Function

invokeGlobalAssertions

Executes all of the assertions registered by addGlobalAssertion.

invokeGlobalAssertions

Deprecated

This API has been removed and its intended usage to run accessibility checks can now be done via SemanticsNodeInteraction.tryPerformAccessibilityChecks()

Source set: Common
@ExperimentalTestApi
fun SemanticsNodeInteraction.invokeGlobalAssertions(): SemanticsNodeInteraction

Executes all of the assertions registered by addGlobalAssertion. This may be useful in a custom test action.

Returns

the SemanticsNodeInteraction that is the receiver of this method

invokeGlobalAssertions

Deprecated

This API has been removed and its intended usage to run accessibility checks can now be done via SemanticsNodeInteraction.tryPerformAccessibilityChecks()

Source set: Common
@ExperimentalTestApi
fun SemanticsNodeInteractionCollection.invokeGlobalAssertions():
    SemanticsNodeInteractionCollection

Executes all of the assertions registered by addGlobalAssertion, each of which will receive the first node of this collection. This may be useful in a custom test action.

Returns

the SemanticsNodeInteractionCollection that is the receiver of this method

Last updated: