我正在尝试为我的 iOS 应用程序编写 UI 测试。出于任何原因,我无法点击我的自定义表格视图单元格。这是我尝试这样做的方法:
let app = XCUIApplication()
let staticTextOfFirstCell = app.tables.cells.elementBoundByIndex(0)
.staticTexts.elementBoundByIndex(0)
staticTextOfFirstCell.tap()
staticTextOfFirstCell 已设置并且也存在。但是,我的测试用例保持在Wait for app to idle
状态。