cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject cordova-plugin-camera git commit: Appium tests: adjust swipe distance on Android
Date Wed, 02 Mar 2016 14:40:49 GMT
Repository: cordova-plugin-camera
Updated Branches:
  refs/heads/master d51e23ad7 -> 56b946931


Appium tests: adjust swipe distance on Android


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/56b94693
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/56b94693
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/56b94693

Branch: refs/heads/master
Commit: 56b9469313893ffcabc50feeb293febea43b87b2
Parents: d51e23a
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Wed Mar 2 17:39:59 2016 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Wed Mar 2 17:39:59 2016 +0300

----------------------------------------------------------------------
 appium-tests/android/android.spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/56b94693/appium-tests/android/android.spec.js
----------------------------------------------------------------------
diff --git a/appium-tests/android/android.spec.js b/appium-tests/android/android.spec.js
index e9373e9..76c2b82 100644
--- a/appium-tests/android/android.spec.js
+++ b/appium-tests/android/android.spec.js
@@ -101,7 +101,7 @@ describe('Camera tests Android.', function () {
                     var touchTile = new wd.TouchAction(),
                         swipeRight = new wd.TouchAction();
                     touchTile.press({x: Math.round(screenWidth / 4), y: Math.round(screenHeight
/ 5)}).release();
-                    swipeRight.press({x: 10, y: Math.round(screenHeight / 2)})
+                    swipeRight.press({x: 10, y: Math.round(screenHeight * 0.8)})
                         .wait(300)
                         .moveTo({x: Math.round(screenWidth / 2), y: Math.round(screenHeight
/ 2)})
                         .release();


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message