removeGlobalAssertion

Function

Common

Deprecated This API has been removed and its intended usage to run accessibility checks can now be done via ComposeUiTest.disableAccessibilityChecks() and ComposeTestRule.disableAccessibilityChecks()

@ExperimentalTestApi
fun removeGlobalAssertion(name: String)

Removes a named assertion from the collection of assertions to be executed before test actions.

Parameters

nameAn identifier that was previously used in a call to addGlobalAssertion.