asifurrouf / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

withText doesn't find views with textAllCaps attribute used #155

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create in XML button like:
    <Button
        android:text="next"
        android:textAllCaps="true" />
2. Create test onView(withText("NEXT")).perform(click())

What is the expected output? What do you see instead?

Test will fail, couldn't find proper view. It should be able to find this view 
since on screen is button with text "NEXT". ViewMatcher should (?) check if 
allCaps is in use. 

What version of the product are you using? On what operating system?

Doesn't matter.

Please provide any additional information below.

Original issue reported on code.google.com by novemberox@gmail.com on 19 May 2015 at 8:16

GoogleCodeExporter commented 9 years ago

Original comment by slinz...@google.com on 8 Jun 2015 at 3:51