视图的截图如下:https://i.stack.imgur.com/n9zv9.png
我试过使用
val ANCHOR_SIZE_OPTION_1 = ViewElement(withContentDescription("3/16""), "anchor size option 1")
在其Robot but测试运行中返回了"3/16"的错误;未找到
发现错误:
我应该使用的ViewMatcher是withText,而不是withContentDescription