我有一个应用程序与今日小工具.所以我想对它进行一些UI测试.
我找到了打开今日/通知面板的方法.看起来很简单:
let statusBar = XCUIApplication().statusBars.elementBoundByIndex(0)
statusBar.swipeDown()
Run Code Online (Sandbox Code Playgroud)
但后来我找不到办法做一些有用的事情.可以在"今日/通知"面板中记录UI交互,但此类代码无法重现我的操作.
ios ios8-today-widget today-extension xcode-ui-testing ios9-today-widget