Function

removeGlobalAssertion

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

removeGlobalAssertion

Source set: Common
@Deprecated(
    message =
        "This API has been removed and its intended usage to run accessibility checks can now be done via `ComposeUiTest.disableAccessibilityChecks()` and `ComposeTestRule.disableAccessibilityChecks()`",
    level = DeprecationLevel.ERROR,
)
public fun removeGlobalAssertion(name: String): Unit

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

Parameters

name An identifier that was previously used in a call to addGlobalAssertion.
Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: