From e944b95de25893b8149d861de940abbe8fc17f3b Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Mon, 4 Dec 2017 08:16:51 +0100 Subject: [PATCH] add generation for tap at location --- detox/src/android/expect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detox/src/android/expect.js b/detox/src/android/expect.js index ea48800864..f4f49809e8 100644 --- a/detox/src/android/expect.js +++ b/detox/src/android/expect.js @@ -38,7 +38,7 @@ class TapAction extends Action { class TapAtPointAction extends Action { constructor(value) { super(); - this._call = invoke.call(invoke.Android.Class(DetoxAction), 'tapAtLocation', invoke.Android.Integer(value.x), invoke.Android.Integer(value.y)); + this._call = invoke.callDirectly(DetoxActionApi.tapAtLocation(value.x, value.y)); } }