Closed vocaro closed 11 years ago
set_location(latitude: 40.705042, longitude:-74.010588)
NameError: undefined local variable or method set_location' for main:Object from (irb):2 from /Users/agolubev1/.rvm/rubies/ruby-1.9.3-p327/bin/irb:16:in
Fixed (workaround) with 0.9.150 - use uia_set_location: https://groups.google.com/d/msg/calabash-ios/xmapoKqTIBc/gFQeRKltZyIJ
UIAlertViewController is not working in iOS8 & above
Calling the Calabash API method set_location, and then displaying a UIAlertView in the app under test, causes the app to freeze. (Tapping the button to dismiss the alert view does nothing.)
To reproduce in Calabash 0.9.126 with calabash-ios-example:
Add a button handler to LPFirstViewController:
At this point, you should see the alert view, but clicking on it does nothing.