Darshan Parajuli
06/04/2026, 6:12 PMcomposeRule.onNode(hasText("Item - 500")).assertDoesNotExist()
and it still passes even though Item - 500 does exist, just not rendered. Is the only way to verify this is to try to scroll to that item and catch the failure?
fun assertItemDoesNotExistInLazyList(matcher) {
try {
scrollTo(matcher)
throw AssertionError(..)
} catch (e: AssertionError) {
// item actually does not exist on the lazy list
}
}
I'm curious if there is a more idiomatic way to do this. Thanks!eygraber
06/05/2026, 2:13 AMperformScrollToNode)Darshan Parajuli
06/05/2026, 2:43 AMTahar Sofiane
06/05/2026, 2:39 PMDarshan Parajuli
06/05/2026, 3:22 PM