Xcode UI Test failed

I think you may be running into this issue: Screensaver on OSX