Intermittent Launch timeouts on iOS simulator
Pre-releaseOverview
This is a bug snapshot intended to demonstrate a reproducible issue, and is not recommended for daily use. The main reproduction for this issue is in the Xamarin.UITest FormsGallery sample.
Description
When running on the local iPhone Xr - 12.2 simulator, several tests failed during the ConfigureApp step. I think this is the issue that all of them hit, but some of the errors were obscured in the test results pane:
SetUp : System.Exception : Error while performing WaitFor([unknown], "Timed out waiting...", 00:00:15, null, null)
----> System.TimeoutException : Timed out waiting...
Usually if the failed tests are rerun they can pass, and other tests performing nearly the same steps also pass without a problem. Because of this, I suspect the issue might be nothing more than startup occasionally taking more than the 15 seconds mentioned in the error message.
However to my best recollection, I never encountered these particular symptoms on previous versions of Xamarin.UITest, including the last version when running against similar iOS 12.1 / Xcode 10.1 simulators. Based on this the issue looks like a possible regression.