KakaoCup / Kakao

Nice and simple DSL for Espresso in Kotlin
https://kakaocup.github.io/Kakao/
Apache License 2.0
325 stars 28 forks source link

#76: Implement non caching text res matcher for mid test locale change cases #77

Closed Nikitae57 closed 1 year ago

Nikitae57 commented 1 year ago

We've found out the case when views that were found using withText(resId: Int) matcher couldn't be found any more after system locale change mid test like in this sample (don't confuse with docloc tests). After the investigation we found out that the espresso's WithCharSequence matcher caches the text value after the first interaction

closes #76

Vacxe commented 1 year ago

LGTM