what is the equivalent to this when using composeT...
# compose
o
what is the equivalent to this when using composeTestRule?
Copy code
onView(
            allOf(
                withText("Amsterdam"),
                withId(R.id.name),
                hasSibling(allOf(withText("The Netherlands"), withId(R.id.country)))
            )
        ).check(matches(isDisplayed()))
I am trying:
Copy code
composeTestRule.onAllNodes(
    withText("Amsterdam"),
    withId(R.id.name),
    hasSibling()
).assertAll(isDisplayed())
but yea it needs a SemanticMatcher, not a Matcher
Copy code
composeTestRule.onAllNodesWithText(
    "Amsterdam"
).assertAll(hasAnySibling()).assertIsDisplayed()
something like this ?