oday
onView( allOf( withText("Amsterdam"), withId(R.id.name), hasSibling(allOf(withText("The Netherlands"), withId(R.id.country))) ) ).check(matches(isDisplayed()))
composeTestRule.onAllNodes( withText("Amsterdam"), withId(R.id.name), hasSibling() ).assertAll(isDisplayed())
composeTestRule.onAllNodesWithText( "Amsterdam" ).assertAll(hasAnySibling()).assertIsDisplayed()
A modern programming language that makes developers happier.