title: UI testing fails with error "Failed to get snapshot within 15.0s"
body: <p>I am having a table view with a huge amount of cells. I tried to tap a particular cell from this table view. But the test ending with this error:</p>
  <blockquote>
  <p>Failed to get snapshot within 15.0s</p>
  </blockquote>
  <p>I assume that, the system will take snapshot of the whole table view before accessing its element. Because of the huge number of cells, the snapshot taken time was not enough (15 secs is may be the system default time).</p>
  <p>I manually set the sleep time / <a href="https://stackoverflow.com/a/42118692/1389515">wait time</a> (I put 60 secs). Still I can not access the cells after 60 seconds!!</p>
  <p>A strange thing I found is, before accessing the cell, I print the object in Debugger like this:</p>
  <pre><code>po print XCUIApplication().cells.debugDescription
  </code></pre>
  <p>It shows an error like</p>
  <blockquote>
  <p>Failed to get snapshot within 15.0s</p>
  <p>error: Execution was interrupted, reason: internal ObjC exception breakpoint(-3)..</p>
  <p>The process has been returned to the state before expression evaluation.</p>
  </blockquote>
  <p>Again if I print the same object using</p>
  <pre><code>po print XCUIApplication().cells.debugDescription
  </code></pre>
  <p>Now it will print all cells in the tableview in Debugger view.</p>
  <p>No idea about why this happens. Does anyone faced similar kind of issues? Help needed!!</p>