Xcode 15 + UI tests: text field timeout

Hello!

Since Xcode 15 came out, I've been having this issue with UI tests where the test runner hangs for 60s when the keyboard is presented.

In the test logs I get this kind of messages:

00:07.588   Wait for com.example.app to idle
01:07.642       App event loop idle notification not received, will attempt to continue.

Interestingly, this only appears to be happening in CI environments (I've tried Xcode cloud and Circle CI). It works fine on my local machine. Everything is fine with Xcode 14, but I can't keep my CI environment stuck on Xcode 14 forever.

I've tried disabling animations using UIView.setAnimationsEnabled(false), but it did not fix the problem.


Here are the full logs of what it takes to fill out a text field:

I have the exact same issue. The only lead that I found is this answer on the CircleCI forum which mentions a permission issue on Sonoma: https://discuss.circleci.com/t/severe-performance-problems-with-xcode-15/49205/135

Maybe the same thing happens on Xcode Cloud...

Please file a feedback with the result bundle from your test run so we can track this issue: https://feedbackassistant.apple.com/

Xcode 15 + UI tests: text field timeout
 
 
Q