iPhone app on iPad 1 and iPad simulator not responding to some touch events?

102 views
Skip to first unread message

Joshua Moody

unread,
Apr 8, 2013, 6:36:58 AM4/8/13
to calaba...@googlegroups.com
$ calabash-ios version ==> 0.9.140
> gestalt.framework_version ==>  "0.9.139"

i am testing an iPhone app on an iPad 1 (5.1.1)  device and Ipad simulator (retina, non-retina, any orientation, and iOS 5.0  - 6.1, 1x and 2x).

for example:

> touch("tabBarButton index:2")
[
    [0] "<UITabBarButton: 0xa1a4a40; frame = (162 1; 76 48); opaque = NO; layer = <CALayer: 0xa1a4030>>"
]

seems to find the right button, but the touch never happens.

before i dig into this, is anyone else having problems?

thanks,

jjm


Victor Valenzuela Martinez

unread,
Apr 8, 2013, 11:22:46 AM4/8/13
to calaba...@googlegroups.com
I had the same problem with an iPad 3 testing iphone applications, but it was fixed on 0.9.136

Krukow

unread,
Apr 10, 2013, 2:24:33 AM4/10/13
to calaba...@googlegroups.com
Please create an issue to track this. I'll see if I can reproduce in our cloud.

Martin

unread,
May 19, 2013, 1:01:47 AM5/19/13
to calaba...@googlegroups.com
Hi,

I'm having an issue with running calabash commands (swipe/touch etc) with some specific apps on iPad 2 and 3.
I was able to reproduce it with the app Dollarbets (https://github.com/Rich86man/Dollar-Bets)

Essentially it only works if I use the 2x to enlarge the app.

Calabash-ios version: 0.9.144 / framework version: 0.9.144

E.g.
irb(main):002:0> swipe("left")
[
    [0] "<UIImageView: 0x2c3950; frame = (31 44; 265 362); opaque = NO; layer = <CALayer: 0x2c39b0>> - bookWithRibbon.png"

but swipe doesn't work.

Any suggestions where to look at?

Martin

Krukow

unread,
May 20, 2013, 1:54:46 PM5/20/13
to calaba...@googlegroups.com
On Sunday, May 19, 2013 7:01:47 AM UTC+2, Martin wrote:
Hi,

I'm having an issue with running calabash commands (swipe/touch etc) with some specific apps on iPad 2 and 3.
I was able to reproduce it with the app Dollarbets (https://github.com/Rich86man/Dollar-Bets)

Essentially it only works if I use the 2x to enlarge the app.

Calabash-ios version: 0.9.144 / framework version: 0.9.144

E.g.
irb(main):002:0> swipe("left")

This is a minor bug which is easy to workaround.

Just specify a query (then Calabash should relocate the swipe to the view)

swipe :left, :query => "imageView"


Martin

unread,
Aug 29, 2013, 9:01:33 PM8/29/13
to calaba...@googlegroups.com
Hi Joshua, 
is this issue still happening on your side? 

Martin
Reply all
Reply to author
Forward
0 new messages