I have an android test checking that external text message is truncated and ends with three dots when applying android:ellipsize=\"end\". I do not know why test fails despite te
It might be because you're checking for the string "..."
instead of the string "…"
(the latter being one character instead of three dot characters).
Double check this by looking at the Espresso output. "Got: AppCompatTextView" ..."
has a text=
part that tells you exactly what text Espresso finds on the view.