tangem-app-android-audited/app/src/androidTest/kotlin/com/tangem/common/extensions/SemanticMatchers.kt
2025-07-22 11:54:49 +03:00

9 lines
No EOL
370 B
Kotlin

package com.tangem.common.extensions
import androidx.compose.ui.test.SemanticsMatcher
import com.tangem.core.ui.utils.LazyListItemPositionSemantics
import io.github.kakaocup.compose.node.builder.ViewBuilder
fun ViewBuilder.hasLazyListItemPosition(position: Int) = apply {
addSemanticsMatcher(SemanticsMatcher.expectValue(LazyListItemPositionSemantics, position))
}