Hi, Are there any samples for creating idlingresources? What is the replacement of countingidling resources from espresso. Thanks
a
Adam Powell
08/29/2021, 1:55 PM
Generally I use kotlinx.coroutines things to await completion of something under test, but do you have an example of your specific use case?
r
Rekha
09/01/2021, 6:53 AM
I am using a outlinedtextfield as a search bar in an existing constraint layout with tab( view pager).. i may need to replace the counter idling resource in espresso to compose idling resource
a
Adam Powell
09/01/2021, 2:09 PM
What are you counting with an idling resource and when? Can you show your existing view code and what you've tried so far with compose?
r
Rekha
09/02/2021, 6:19 PM
Old code:
Rekha
09/02/2021, 6:21 PM
Old code as increments and decrement of counter idling resource
p
ppvi
09/30/2021, 12:15 PM
Compose Test still uses Espresso so you can use idling resources in compose the same way you would with Views