XCUITest and Today Widget
<p>I have an App with Today Widget. So I would like to perform some UI testing on it. </p>

<p>I found a way to open Today/Notifications panel. It seems easy:</p>

<pre><code>let statusBar = XCUIApplication().statusBars.elementBoundByIndex(0)
statusBar.swipeDown()
</code></pre>

<p>But then I can't find a way to do something useful. It is possible to record UI interactions in Today/Notifications panel, but such code can't reproduce my actions.</p>