Function

assertHeightIsAtLeast

Asserts that the layout of this node has height that is greater than or equal to expectedMinHeight.

assertHeightIsAtLeast

Source set: Common
public fun SemanticsNodeInteraction.assertHeightIsAtLeast(
    expectedMinHeight: Dp
): SemanticsNodeInteraction

Asserts that the layout of this node has height that is greater than or equal to expectedMinHeight.

Throws: AssertionError

if comparison fails.

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: