24 Commits
Author SHA1 Message Date
Jonathan Lipps d3881987ff fix tests which rely on the desired caps which no longer exist 2014-03-17 15:49:33 -07:00
Jonathan Lipps 482d24e0e1 add packageAndLaunchActivity support for selendroid
also convert our tests to use this by default so that it's tested
also move it to after prepareDevice so we make sure to run adb commands
with the appropriate device id etc
fix #2083, cc @bootstraponline
2014-03-17 15:15:48 -07:00
bootstraponline 6494df98d6 Android mobile push & pull
Ruby examples:

mobile :pushFile, data: Base64.encode64('test ruby'), path: '/data/local/tmp/test.txt'

pull_result = mobile :pullFile, path: '/data/local/tmp/test.txt'
Base64.decode64 pull_result
2014-03-14 15:09:13 -04:00
Payman Delshad 113fe5ce10 Added support for touch{Down|Up|Move} on Android. 2014-03-07 15:10:52 +01:00
Jonathan Lipps 7adcac31a7 fix websocket bug and make sure named apps clobber device in caps 2014-03-03 16:41:46 -08:00
bootstraponline cce7ee0126 Android longClick x, y, and duration support
Ruby examples:

mobile :longClick, element: el.ref

mobile :longClick, element: el.ref, duration: 3000

mobile :longClick, x: 400, y: 297, duration: 3000

mobile :longClick, x: 0.5, y: 0.244
2014-02-27 16:18:05 -05:00
Jonathan Lipps 2befd7d314 fix regular chrome startup 2014-02-24 17:10:43 -08:00
Jonathan Lipps d498d7df31 fix some failing android tests 2014-02-24 16:58:04 -08:00
Jonathan Lipps 21c9242fb6 finish android hybrid support
and refactor android webview tests to work for android as well as selendroid
2014-02-24 14:59:40 -08:00
Jonathan Lipps cedac5d8b7 work on getting chromedriver accessing webviews 2014-02-24 14:59:39 -08:00
Jonathan Lipps 6f4f275180 don't fail test if we can't find strings.xml (fix #1905)
also, make sure apidemos tests run as android even if DEVICE isn't set
2014-02-14 10:54:03 -08:00
sebv 88479e04fa reshuffling tests 2014-02-07 12:51:20 +08:00
sebv 968576af3d jshinting with white=true 2014-01-30 16:58:19 +08:00
sebv 714e24c789 Test reformatting, step2. 2014-01-30 16:55:47 +08:00
sebv 6695dfe5fb Refactored tests to use wd promise-chain api 2014-01-14 04:31:19 +08:00
Jonathan Lipps 5981667cca add support for doing web testing against android stock browser 2014-01-06 18:20:17 -08:00
Jonathan Lipps 17d88ee6da remove duplicate test and fix isScreenLocked test 2013-12-04 11:42:45 -08:00
Jonathan Lipps a88313aa31 fix screen unlocking test 2013-11-21 17:24:26 -08:00
Jonathan Lipps 8e5a0bb1f9 more cleanup including selendroid update 2013-10-22 11:29:19 -07:00
Jonathan Lipps 5ad5df488b move all android-related files together into devices/android 2013-10-17 12:33:49 -07:00
Jonathan Lipps 158c4887bd device-state not device_state 2013-10-17 10:30:11 -07:00
Jonathan Lipps d0774ea4dc make some files pass the linter 2013-10-17 10:30:09 -07:00
Jonathan Lipps 048ee24b68 create driverblock.it to handle async mocha errs 2013-09-26 14:35:03 +01:00
filmaj 0d3950994a Robust, device-friendly unlock. Added gitsubmodule for unlock_apk.
reset.sh now builds the apk. adbs unlockScreen method now invokes
unlock.apk. added a new small, focused module called device_state to handle determining state of emulators/devices. currently has a "isScreenLocked" function. unlockScreen in adb.js now 1) checks if screen is locked or not first before doing anything and 2) uses unlock.apk to do the unlocking.
2013-09-19 14:09:45 -07:00