zsperske
11/25/2022, 7:16 PMAbstractComposeView
that wraps our Button component, to allow our legacy XML pages to make use of the component. In our existing UI tests we have espresso calls like onView(withId(id)).perform(click())
. When using this method on the Compose view, no click event is triggered. Has anyone else run into this/know of a fix?Lisandro Di Meo
11/25/2022, 8:05 PMLisandro Di Meo
11/25/2022, 8:05 PMLisandro Di Meo
11/25/2022, 8:07 PMzsperske
11/25/2022, 8:20 PMLisandro Di Meo
11/25/2022, 8:21 PMzsperske
11/25/2022, 8:22 PMLisandro Di Meo
11/25/2022, 8:22 PMzsperske
11/25/2022, 8:23 PM// has a Composable inside
<OurComposeButton
android:id="@+id/ourButton" />
onView(withId(R.id.ourButton)).perform(click())
Lisandro Di Meo
11/25/2022, 8:24 PMzsperske
11/25/2022, 8:25 PMLisandro Di Meo
11/25/2022, 8:25 PMzsperske
11/25/2022, 8:27 PMDaniele Segato
11/26/2022, 10:02 AM