Xcode UI Test failed

Recently I add xcode ui tests and it work fine on local machine, but when I push to circleci I got an error telling it can’t find the element.

Do I need to add additional setup in circle.yml or did I miss something.

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

Just try and got the same error.

I am having exactly the same problem. Any ideas on how to solve it?