czuckie
ComposeTestRule
customActions
node.performSemanticsAction
@Test fun customActionsTest() { rule.setContent { Box(modifier = Modifier .testTag("target") .clearAndSetSemantics { customActions = listOf(CustomAccessibilityAction("Custom action label", { TODO("The custom action implementation") })) }) { Text("...") } } rule.onNodeWithTag("target").perform[WHAT GOES HERE] }
Zach Klippenstein (he/him) [MOD]
A modern programming language that makes developers happier.