-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Description
Add testTag to app's UI elements for better testing support
Example:
CrisisCleanupFab(
modifier = modifier
.testTag("workIncidentSelectorFab") // <- test tag
.constrainAs(disasterAction) {
start.linkTo(parent.start, margin = actionEdgeSpace)
top.linkTo(parent.top, margin = actionEdgeSpace)
},
onClick = onSelectIncident,
shape = CircleShape,
containerColor = incidentDisasterContainerColor,
contentColor = incidentDisasterContentColor,
) {
Icon(
painter = painterResource(disasterResId),
contentDescription = translator("nav.change_incident"),
)
}
Screenshots
N/A
Steps to Reproduce
N/A
Tasks
N/A
Metadata
Metadata
Assignees
Labels
No labels