5
我知道,如果一个错误的文本是在EditText
设置如何测试:测试EditText视图是否在Android上使用Espresso设置了错误文本?
editText.check(matches(hasErrorText("")));
现在我想测试一个EditText
没有错误的文字集。我试过这个,但它不起作用。
editText.check((matches(not(hasErrorText("")))));
有谁知道该怎么做?谢谢!