invokeGlobalAssertions
Source set: Common
@Deprecated(
message =
"This API has been removed and its intended usage to run accessibility checks can now be done via `SemanticsNodeInteraction.tryPerformAccessibilityChecks()`",
level = DeprecationLevel.ERROR,
replaceWith =
ReplaceWith(
"tryPerformAccessibilityChecks()",
"androidx.compose.ui.test.tryPerformAccessibilityChecks",
),
)
public fun SemanticsNodeInteraction.invokeGlobalAssertions(): SemanticsNodeInteraction
Executes all of the assertions registered by addGlobalAssertion. This may be useful in a custom test action.
Return
the SemanticsNodeInteraction that is the receiver of this method
invokeGlobalAssertions
Source set: Common
@Deprecated(
message =
"This API has been removed and its intended usage to run accessibility checks can now be done via `SemanticsNodeInteraction.tryPerformAccessibilityChecks()`",
level = DeprecationLevel.ERROR,
replaceWith =
ReplaceWith(
"onFirst().tryPerformAccessibilityChecks()",
"androidx.compose.ui.test.tryPerformAccessibilityChecks, androidx.compose.ui.test.onFirst",
),
)
public 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.
Return
the SemanticsNodeInteractionCollection that is the receiver of this method