Calabash-ios tests involving a single tap have started to fail, with multiple taps being received where only one should happen.
I'm running tests against the simulator "iPhone 5s (8.2 Simulator)" and I've tried various Calabash tapping methods, include tap_mark
, touch
and for example:
wait_tap view_selector
which generates a single http call (using Wireshark to sniff):
http://localhost:37265/uia-tap
but is causing multiple taps in the simulator, which can be seen from the simulator Console log:
Mar 31 13:28:38 mc-x.local MyApp[13790]: NSUserDefaults path = /PathToPrefs/myApp.plist
Mar 31 13:28:38 mc-x.local MyApp[13790]: Current request: {
command = "uia.tapOffset('{:x 160.000000, :y 332.000000}')";
index = 0;
}
and these two lines are repeated identically (same timestamp) - once, twice or three times more, giving repeated identical uia.tapOffset
events.
I'm using Xcode 6.2 build 6C131e with Calabash 0.13.0. The failures started after I upgraded from 0.11.4, though I've also upgraded from Xcode 6.1.1 to 6.2 so I'm not sure which is responsible.
Has anyone come across something similar? Any suggestions?