title: Xcode 8 UI Testing Taking Very Long
body: <p>I'm writing UI tests in XCode 8 for a very complicated app. I'm discovering several issues, one of them being that each test I run takes several minutes. </p>
  
  <p>The flow for the particular test I'm running isn't even that complicated.</p>
  
  <p>I get many "Wait for app to idle" messages. </p>
  
  <p>Does anyone know why the tests take so long to run, or do you have any suggestions on how I can speed them up? The WWDC demo was basically instant, but that was a very simple app. </p>
  
  <p>Here's an example of what I see, and how long it takes. (The test is also still running!)</p>
  
  <blockquote>
  <pre><code>t =   504.16s         Wait for app to idle
  t =   625.29s         App animations complete notification not received, will attempt to continue.
  t =   625.30s         Synthesize event
  t =   625.67s         Wait for app to idle
  </code></pre>
  </blockquote>
  
  <p>Thanks!</p>
  
  <p><em>Update: When I slightly interact with the app, while keeping the elements I need visible, like by pulling on a tableview, the tests continue.</em></p>