I have a similar problem, although in my case I'm waiting for a JavaScript bridge callback. The tests work when run in Xcode, but they usually fail in our CI.
Topic:
Safari & Web
SubTopic:
General
Tags: