UI Testing slow ever since Xcode 8

1.2k views Asked by At

Has anyone else experienced this? Our UITests take much longer now to execute than before. Each tap or scroll animation seems to have a long pause in between. Sometimes there will be random test failures because of errors like the one below:

Assertion Failure: <unknown>:0: UI Testing Failure - Failure getting snapshot

Is there some kind of setting that Apple wedged into Xcode 8 that I am perhaps unaware of? Or how can I resolve this?

1

There are 1 answers

0
Daniel On

Click on Scheme. That is the 3 element from the top left corner. enter image description here

Uncheck the "gather coverage data" and "Debug executable" enter image description here

Press close and run. :)

Hope that helps.