assertLeftPositionInRootIsEqualTo

Function

Common
fun SemanticsNodeInteraction.assertLeftPositionInRootIsEqualTo(
    expectedLeft: Dp
): SemanticsNodeInteraction

Asserts that the layout of this node has the left position in the root composable that is equal to the given position.

Parameters

expectedLeftThe left (x) position to assert.