Function

assertWidthIsEqualTo

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

assertWidthIsEqualTo

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

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