google / EarlGrey

:tea: iOS UI Automation Test Framework
http://google.github.io/EarlGrey/
Apache License 2.0
5.62k stars 741 forks source link

Pan from edge gesture fails on devices #3

Open khandpur opened 8 years ago

khandpur commented 8 years ago

On devices, the following code which tries to perform a Pan-From-Edge gesture fails:

[[EarlGrey selectElementWithMatcher:grey_keyWindow()] performAction:grey_swipeSlowInDirectionWithStartPoint(kGREYDirectionRight, 0.001f, 0.5f)]

I've verified it fails on at least the following devices:

BlitzFirePlayz commented 8 years ago

I thought it works for only iOS 8 and below.

sid-github commented 8 years ago

Note that this works on simulators but not on devices.

khandpur commented 8 years ago

@BlitzFirePlayz are you referring to UIScreenEdgePanGestureRecognizer?