Closed ussernamenikita closed 3 years ago
I checked on API 28
@ussernamenikita could u create a PR with issue reproduction. It can significantly help us to fix of localise issue ASAP. Also could you provide .xml
and test class. Cheers!
Sure, no problem. Do you have an example how i can do this ? I mean where in your project i should place issue reproduction ? Is sample folder suitable place for my code ?
Reproduced in https://github.com/agoda-com/Kakao/pull/250. DrawableMatcherIssueTest fails but it should. Interestingly that DrawableListTest doesn't fail with my drawable. Maybe bug depends on view description in xml.
Ill take a look
Fails withDrawable
Reproduced in https://github.com/ussernamenikita/DrawableBug with test ExampleInstrumentedTest.myTest Test passed in 2.2.0 but fails in 2.3.4 and 2.4.0
I figured out what it because of mutabe() function on Drawabe inside DrawableMatcher. But i don't know why it's behave like that.
E/TestRunner: androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: (with id is <com.example.drawablebug:id/imageViewBottomTabItem> and with drawable id 2131165329 or provided instance)
Full trace