Fixed
Status Update
Comments
gg...@google.com <gg...@google.com> #2
The link in the above description doesn't work external to google, expanded link: https://issuetracker.google.com/issues/73450636
ra...@gmail.com <ra...@gmail.com> #3
This will be fixed in the next release.
gg...@google.com <gg...@google.com> #4
We have shared this with our engineering team and will update this issue with more information as it becomes available.
gg...@google.com <gg...@google.com> #5
Our engineering team has fixed this issue. It will be available in a future Android release.
ni...@gmail.com <ni...@gmail.com> #6
Its a great worderful
dy...@gmail.com <dy...@gmail.com> #8
Hi
[Deleted User] <[Deleted User]> #9
Need help with traveling by charter service and other resources learning here
co...@gmail.com <co...@gmail.com> #10
Them cut internet..Oppo spy and collect data .and more tender to robber GOV public sector.maxis and other
ma...@gmail.com <ma...@gmail.com> #11
https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces#test-strictmode-apiadb shell settings put global hidden_api_policy_pre_p_apps 1
adb shell settings put global hidden_api_policy_p_apps 1
ma...@gmail.com <ma...@gmail.com> #12
https://issuetracker.google.com/72798625#attachment62278513
ma...@gmail.com <ma...@gmail.com> #13
https://issuetracker.google.com/72798625#attachment62278513
Description
Version used: 3.0.1
What steps will reproduce the problem?
1. Put an AppCompatTextView in your UI with android:textAllCaps="true" and android:text="Low Stock" in your XML (I'm using android:id="@+id/lowStockTV")
2. Launch your activity through a Test. AppCompatTextView will be shown as "LOW STOCK"
3. Check that that view has text with Espresso in the following way:
onView(withId(R.id.lowStockTV))
.check(
matches(withText("LOW STOCK"))
)
How are you running your tests (via Android Studio, Gradle, adb, etc.)? Android Studio
What is the expected output?
The expected output is obtaining a valid ViewInteraction with no throw (AssertionFailedWithCausedError)
What do you see instead?
AssertionFailedWithCausedError with message:
'with text: is "LOW STOCK"' doesn't match the selected view.
Expected: with text: is "LOW STOCK"
Got: "AppCompatTextView{id=2131296406, res-name=lowStockTV, visibility=VISIBLE, width=1002, height=57, has-focus=false, has-focusable=false, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.widget.LinearLayout$LayoutParams@5155c10, tag=null, root-is-layout-requested=false, has-input-connection=false, x=39.0, y=39.0, text=Low Stock, input-type=0, ime-target=false, has-links=false}"
if I use:
onView(withId(R.id.lowStockTV))
.check(
matches(withText("Low Stock"))
)
it works perfectly, I get my ViewInteraction, but that's not why I see in my UI