测试中有一个下拉列表。录音机点击打开选项下拉菜单。但是随后单击以选择一个失败并出现以下错误:
Caused by: java.lang.RuntimeException: Action will not be performed because the target view does not match one or more of the following constraints:
at least 90 percent of the view's area is displayed to the user.
这个问题Android Espresso error on button click处理了约束,但它建议简单地使用 isCompletelyDisplayed() 不起作用。