Since upgrading to Xcode 8.1 my UI tests that use twoFingerTap()
to zoom out on a Google Maps GMSMapView
have been failing with
Assertion Failure: Element.swift:135: UI Testing Failure - Unable to find unoccluded area to perform event.
The message preceding that is
Recompute visible frame by excluding frames of occluding elements StatusBar and "the view's identifier"
Anyone have any idea what I should do about that? Tried tapWithNumberOfTaps(1, numberOfTouches: 2)
and same thing happens.
NB. The problem is definitely with multi-finger taps only -- doubleTap()
and pinchWithScale(2.0, velocity: 1.0)
continue to work fine under Xcode 8.1. pinchWithScale(0.5, velocity: -1.0)
continues to move origin instead of zooming, which is what it did to GMSMapView
in Xcode 7 as well.