https://kotlinlang.org logo
#compose
Title
# compose
e

eygraber

03/08/2023, 9:12 PM
What's the best way to test interacting with
LocalTextToolbar
? I tried:
Copy code
performTouchInput {
  longClick()
}
on the text field but it didn't do anything
Looks like there has to be a drag for the toolbar to show:
Copy code
performTouchInput {
      swipe(centerLeft, centerRight, viewConfiguration.longPressTimeoutMillis + 100)
}
4 Views