Here you go:
Tapping element matching Class("UIButtonLabel").Text("Lähetä") at coordinates [ 286.5, 293 ].
Exceptions while waiting:
System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) [0x00043] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x002f7] in <6994115ed0ee47caa3f39ecebd680a4c>:0
--- End of inner exception stack trace ---
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x00486] in <6994115ed0ee47caa3f39ecebd680a4c>:0
--- End of stack trace from previous location where exception was thrown ---
at Xamarin.UITest.Shared.Http.HttpClient.SendData (System.String endpoint, System.String method, System.Net.Http.HttpContent content, Xamarin.UITest.Shared.Http.ExceptionPolicy exceptionPolicy, System.Nullable`1[T] timeOut) [0x000ea] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Shared.Http.HttpClient.Post (System.String endpoint, System.String arguments, Xamarin.UITest.Shared.Http.ExceptionPolicy exceptionPolicy, System.Nullable`1[T] timeOut) [0x00017] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Shared.Http.HttpClient.Post (System.String endpoint, System.Object arguments, Xamarin.UITest.Shared.Http.ExceptionPolicy exceptionPolicy, System.Nullable`1[T] timeOut) [0x00019] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.iOS.HttpCalabashConnection.Condition (System.Object condition) [0x00000] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.iOS.iOSGestures+<WaitForNoneAnimatingOrElapsed>c__AnonStorey5.<>m__0 () [0x00031] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Shared.WaitForHelper.WaitFor (System.Func`1[TResult] predicate, System.String timeoutMessage, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x00023] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
Exceptions while waiting for any:
System.Net.Http.HttpRequestException: An error occurred while sending the request ---> System.Net.WebException: Error: ConnectFailure (Connection refused) ---> System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x000d1] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
at System.Net.WebConnection.Connect (System.Net.HttpWebRequest request) [0x0019b] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream (System.IAsyncResult asyncResult) [0x00043] in <f8255d9ef0594d18ae2c0d97286b9a80>:0
at System.Threading.Tasks.TaskFactory`1[TResult].FromAsyncCoreLogic (System.IAsyncResult iar, System.Func`2[T,TResult] endFunction, System.Action`1[T] endAction, System.Threading.Tasks.Task`1[TResult] promise, System.Boolean requiresSynchronization) [0x00014] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0004e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <dbb16e0bacdc4a0f87478e401bc29b6c>:0
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x002f7] in <6994115ed0ee47caa3f39ecebd680a4c>:0
--- End of inner exception stack trace ---
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext () [0x00486] in <6994115ed0ee47caa3f39ecebd680a4c>:0
--- End of stack trace from previous location where exception was thrown ---
at Xamarin.UITest.Shared.Http.HttpClient.SendData (System.String endpoint, System.String method, System.Net.Http.HttpContent content, Xamarin.UITest.Shared.Http.ExceptionPolicy exceptionPolicy, System.Nullable`1[T] timeOut) [0x000ea] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Shared.Http.HttpClient.Post (System.String endpoint, System.String arguments, Xamarin.UITest.Shared.Http.ExceptionPolicy exceptionPolicy, System.Nullable`1[T] timeOut) [0x00017] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Shared.Http.HttpClient.Post (System.String endpoint, System.Object arguments, Xamarin.UITest.Shared.Http.ExceptionPolicy exceptionPolicy, System.Nullable`1[T] timeOut) [0x00019] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.iOS.HttpCalabashConnection.Map (System.Object arguments) [0x00000] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.iOS.iOSGestures.InternalQuery[T] (Xamarin.UITest.Queries.AppQuery query, System.Object[] args, System.String methodName) [0x00046] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.iOS.iOSGestures.Query (Xamarin.UITest.Queries.AppQuery query) [0x0000d] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.iOS.iOSGestures+<QueryGestureWait>c__AnonStorey3.<>m__0 () [0x00000] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Shared.WaitForHelper.WaitForAnyOrDefault[T] (System.Func`1[TResult] query, T[] defaultValue, System.Nullable`1[T] timeout, System.Nullable`1[T] retryFrequency, System.Nullable`1[T] postTimeout) [0x00023] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
Error while performing Tap(Class("UINavigationButton"))
Exception: System.Exception: Unable to tap element. Query for Class("UINavigationButton") gave no results.
at Xamarin.UITest.iOS.iOSApp+<Tap>c__AnonStoreyA.<>m__0 () [0x0004f] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
at Xamarin.UITest.Utils.ErrorReporting.With (System.Action func, System.Object[] args, System.String memberName) [0x00006] in <b2dbb1bd4b224d63be0561fef2070e3b>:0
There’s quite a lot more of information available, if you need it. Some of it mentions errors codesigning (which is weird, since it’s clearly running at least one of the tests up to a certain point), and failures to install the app.
It might be worth noting that each of my tests perform a new install of the app, some using a clean install and some using an existing install.
Note: theses tests work locally, and I can verify that it’s “seeing” the correct button from the screenshot it generates.
EDIT: Could the Bitrise test runner be running the tests simultaneously? If so, that might be what’s causing the issues, since they rely on a specific order etc. (I’ve named them so they’re running in specific order)