Function

assertTouchWidthIsEqualTo

Asserts that the touch bounds of this node has width equal to expectedWidth.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertTouchWidthIsEqualTo

Common
fun SemanticsNodeInteraction.assertTouchWidthIsEqualTo(
    expectedWidth: Dp
): SemanticsNodeInteraction

Asserts that the touch bounds of this node has width equal to expectedWidth.