tryPerformAccessibilityChecks
Source set: Android
@Suppress("DocumentExceptions") // Documented in fun
public fun SemanticsNodeInteraction.tryPerformAccessibilityChecks():
SemanticsNodeInteraction
tryPerformAccessibilityChecks
Source set: Common
public fun SemanticsNodeInteraction.tryPerformAccessibilityChecks(): SemanticsNodeInteraction
Tries to perform accessibility checks on the current screen. This will only actually do something if (1) accessibility checks are enabled and (2) accessibility checks are implemented for the platform on which the test runs.
Throws: AssertionError
if accessibility problems are found
tryPerformAccessibilityChecks
Source set: Common
public fun SemanticsNodeInteractionCollection.tryPerformAccessibilityChecks():
SemanticsNodeInteractionCollection
Tries to perform accessibility checks on the current screen. This will only actually do something if (1) accessibility checks are enabled and (2) accessibility checks are implemented for the platform on which the test runs.
Throws: AssertionError
if accessibility problems are found