ios - 如何在 UITests 中引用 MKMapView?
问题描述
我尝试了不同的策略来MKMapView
在我的 UITests 中获取对 a 的引用,但找不到它。
例如:
app.maps.firstMatch.exists
或使用accessibilityIdentifier
:
app.maps["MyMap"].exists
app.otherElements["MyMap"].exists
但它不起作用。
解决方案
推荐阅读
- python - 用于图像数组的 Django 序列化器会减慢速度
- django - Django:如何在管理页面中根据类别排列产品
- python - 如何让python命令调用python3.7?
- dart - dart 中的 json_serializable 枚举值
- vue.js - 将字符串推送到 dynamodb 表中的数组属性中而不重复
- java - JTextpane 不在文件中保存属性文本和图标
- powershell - 如何在线运行我的 powershell 脚本?
- java - 使用透明度时渲染到纹理时渲染覆盖透明度
- python - 将值列表添加到现有字典列表(性能关键)
- java - Java 方法没有在 Matlab 中正确运行?