:wave: Had anyone run into this issue, when printi...
# compose
r
👋 Had anyone run into this issue, when printing compose-tree in tests.
Copy code
println(rule.onRoot().printToString())
Copy code
java.lang.AssertionError: Failed: assertExists.
Reason: Expected exactly '1' node but found '2' nodes that satisfy: (isRoot)
Nodes found:
1) Node #1 at (l=0.0, t=56.0, r=0.0, b=56.0)px
Has 1 child
2) Node #2 at (l=0.0, t=0.0, r=320.0, b=470.0)px
Has 1 child
✅ 1
Looks like, it happens when there's a dialog node attached to the tree.