-
Notifications
You must be signed in to change notification settings - Fork 572
Description
The problem
Tap doesn't work with iOS devices using 3D Touch no matter iOS version.
Environment
- Appium version (or git revision) that exhibits the issue: 1.10.0
- Desktop OS/version used to run Appium: macOS Majove
- Node.js version (unless using Appium.app|exe):
- Npm or Yarn package manager:
- Mobile platform/version under test: iOS 11, 12
- Real device or emulator/simulator: iPhone 6S Plus, iPhone X
- Appium CLI or Appium.app|exe:
Details
For example I can tap by coordinate on all iPads and iPhone 5s or SE but when I try tap on iPhone 6s Plus or Higher nothing happens. I can't understand why. Could you explain me if I'm doing something wrong?
I use default method self.driver.tap([(x, y)])
Thanks!
Link to Appium logs
[HTTP] --> POST /wd/hub/session/8818157a-2c34-4506-ae96-b42afab07e1a/touch/perform
[HTTP] {"actions":[{"action":"longPress","options":{"x":550.5,"y":558.5,"duration":500}},{"action":"release","options":{}}],"sessionId":"8818157a-2c34-4506-ae96-b42afab07e1a"}
[W3C (8818157a)] Calling AppiumDriver.performTouch() with args: [[{"action":"longPress","options":{"x":550.5,"y":558.5,"duration":500}},{"action":"release","options":{}}],"8818157a-2c34-4506-ae96-b42afab07e1a"]
[XCUITest] Executing command 'performTouch'
[XCUITest] Received the following touch action: longPress(options={"x":550.5,"y":558.5,"duration":500})-release(options={})
[JSONWP Proxy] Proxying [POST /wda/touch/perform] to [POST http://localhost:7700/session/22CE3AC0-583A-4999-B6A6-67EA2CB67749/wda/touch/perform] with body: {"actions":[{"action":"longPress","options":{"x":550.5,"y":558.5,"duration":500}},{"action":"release","options":{}}]}
[Xcode] t = 47.59s Find the Application 'app.dsfsf.com'
[Xcode]
[Xcode] t = 47.59s Snapshot accessibility hierarchy for app with pid 2447
[Xcode]
[JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"22CE3AC0-583A-4999-B6A6-67EA2CB67749","status":0}