Fixed
Status Update
Comments
ae...@google.com <ae...@google.com>
ae...@google.com <ae...@google.com> #3
Thanks for the report!
ae...@google.com <ae...@google.com> #4
The release notes documentation has been edited to clarify this change in behavior for line height.
To support non-standard text sizes, we encourage users to follow the Material design system and use a different style = LocalTextStyle.current.copy(lineHeight = TextUnit.Unspecified)
, or create a custom Typography
entirely.
Description
For example Box(Modifier.clickable) { Text("This text does not appear on the tree") }
The workaround is to useUnmergedTree = true
@Test
fun app_opensArticle() {
onRoot(useUnmergedTree = true).printToLog("jetnews")
onAllNodes(hasSubstring("Manuel Vivo"), useUnmergedTree = true)[0].performClick()
onAllNodes(hasSubstring("3 min read"), useUnmergedTree = true)[0].assertIsDisplayed()
}
Filip believes the regression happened in aosp/1360099