Function

assertWidthIsAtLeast

Asserts that the layout of this node has width that is greater than or equal to expectedMinWidth.

assertWidthIsAtLeast

Source set: Common
public fun SemanticsNodeInteraction.assertWidthIsAtLeast(
    expectedMinWidth: Dp
): SemanticsNodeInteraction

Asserts that the layout of this node has width that is greater than or equal to expectedMinWidth.

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: