https://kotlinlang.org logo
#compose-wear
Title
# compose-wear
m

marlonlom

11/20/2023, 5:20 PM
hi! is there in the docs any starting point to uni test / android ui test a wearos app?
y

yschimke

11/20/2023, 11:12 PM
It's just the android ones generally
I guess things like RSB scrolling are different if you want to test that. But generally same same but smaller
m

marlonlom

11/21/2023, 3:08 PM
well, im asking for adding some android ui tests that uses the navigation compose feature for wearables, the same with the compose only ones worked, now, im having some difficulties in the usage of the activity scenario and the remote input when creating the tests 😢
y

yschimke

11/22/2023, 3:22 AM
Remote input might be tricky. If you think you have a bug, file it with a minimal repro. If it helps we can use wear-os-samples or Horologist as a base with running tests
I'm not sure RemoteInput will place nice with Espresso. Espresso wants to interact with code. I wonder if UIAutomator is needed for this.
Let's see if you get better informed opinions from others.