calabash / calabash-ios

Calabash for iOS
Other
1.81k stars 369 forks source link

Xcode 7: pan gesture is timing out #862

Open jmoody opened 9 years ago

jmoody commented 9 years ago

Reported by: @amast09

@jmoody we are getting flaky failures when using the pan gesture.

Timed out running command uia.panOffset('{:x 722, :y 250.5}', '{:x 196.5, :y 82.5}', '{}')

We get this error randomly once in every 30-40 runs of our test suite. Have people been experiencing drag and drop issues or do you think it is an issue with our usage of the pan function?

Thanks a million for any kind of help you can provide us!

amast09 commented 9 years ago
$ xcode-select --print-path
>    /Applications/Xcode.app/Contents/Developer
$ xcodebuild -version
>    Xcode 6.1 Build version 6A1052d
$ calabash-ios version
>    0.14.3

iOS Simulator Version
>    8.1 (550.3)

Hope these details help, let me know if there is anything else we can provide you to diagnose with.

Thanks!

jmoody commented 9 years ago

@amast09 Please update to Xcode 7. If you cannot update to Xcode 7, please update to Xcode 6.4.

You should update to Calabash 0.16.3 (or the most recent version) ASAP.

jeremiahsjohnson commented 9 years ago

We had similar failure rates with the pan function and have seen 100% success after implementing a duration of 2: pan(from_variable, to_variable,{duration:2})