Skip to content

Bug reproduction for UITests failing first test when iOS project is cleaned

Pre-release
Pre-release
Compare
Choose a tag to compare
@King-of-Spades King-of-Spades released this 02 Jul 20:01
7ddc3d0

Overview

This is a reproduction to confirm a bug where if an iOS project is cleaned, the first test run against it will fail with the following error:

SetUp : Xamarin.UITest.XDB.Exceptions.DeviceAgentException : DeviceAgent start session failed: An error occurred while sending the request
  ----> System.Net.Http.HttpRequestException : An error occurred while sending the request
  ----> System.Net.WebException : Error: ConnectFailure (Connection refused)
  ----> System.Net.Sockets.SocketException : Connection refused

Note: I do not know if this is the only cause of that particular error message.