Is there any special way for test a stateful Compo...
# compose
d
Is there any special way for test a stateful Composable? With
onRoot().printToLog()
I see only my extended FAB, basically the only child that does not use the parent’s state đŸ˜„
Copy code
Node #1 at (0.0, 53.0, 1080.0, 1884.0)px
     |-Node #12 at (9.0, 1768.0, 116.0, 1875.0)px
     | OnClick = 'AccessibilityAction(label=null, action=Function0<java.lang.Boolean>)'
     | MergeDescendants = 'true'
     |-Node #13 at (419.0, 1706.0, 660.0, 1813.0)px
       OnClick = 'AccessibilityAction(label=null, action=Function0<java.lang.Boolean>)'
       Text = 'Rate movie'
       GetTextLayoutResult = 'AccessibilityAction(label=null, action=Function1<java.util.List<androidx.compose.ui.text.TextLayoutResult>, java.lang.Boolean>)'
       MergeDescendants = 'true'