Commit Graph

53 Commits

Author SHA1 Message Date
Jonathan Lipps 99f0c16d9a make sure we don't discount web locators in webviews 2013-12-04 12:24:31 -08:00
Fan Bai d7a39ad2bc Update adb.js: fix typo error
line 511

this.getDeviceWithRetry(120000, cb);
changed to
this.getDevicesWithRetry(120000, cb);
2013-11-27 18:46:12 +08:00
Jonathan Lipps 0dd0b95d1c keep track of 'dumpsys window' logs for research (fix #1401) 2013-11-21 13:44:46 -08:00
Jonathan Lipps e207483a25 allow alternative type of clear through fastClear: false cap
fix #1514
2013-11-21 13:33:13 -08:00
Jonathan Lipps 0f4ea5609a kill uiautomator before running test (fix #1517) 2013-11-21 11:05:56 -08:00
Jonathan Lipps bd9639fa09 enable setLocation on selendroid (fix #1511) 2013-11-21 10:17:03 -08:00
Jonathan Lipps b21416de6e force-stop app before starting it (fix #1142) 2013-11-18 09:39:11 -08:00
Jonathan Lipps 165014c7ba object orientify these methods 2013-11-14 18:20:17 -08:00
bootstraponline 338c54664f Merge pull request #1467 from paymand/log_no_colors
Make sure there's no color in the console output when --log-no-colors is used.
2013-11-14 13:18:48 -08:00
Payman Delshad 0c85864f43 Make sure there's no color in the console output when --log-no-colors is used. 2013-11-13 20:26:18 +01:00
Jonathan Lipps db28417379 Merge pull request #1443 from thu2004/selendroid_fixes
Selendroid fixes
2013-11-11 15:12:41 -08:00
Jonathan Lipps 9e4c896886 make sure selendroid stops logcat too (fix #1330) 2013-11-11 13:52:06 -08:00
Chi Thu Le 7de39ffba3 Undo opts.systemPort change 2013-11-11 19:41:28 +01:00
Chi Thu Le f8e2909ed2 Moved getCurrentActivity to android-common.js 2013-11-08 20:39:37 +01:00
Chi Thu Le 86060e7c5f Provide default system port for selendroid. Fixed selendroid keyevent crash and added getCurrentActivity for selendroid 2013-11-08 10:14:10 +01:00
Jonathan Lipps 465ae14f4e replace quotes with replace(), not weird string truncation 2013-11-07 12:36:53 -08:00
Jonathan Lipps d29ea809ba move logcat code into android-common
so that selendroic an use it as well
2013-11-06 11:12:59 -08:00
Jonathan Lipps 199d7e40b9 add tests for #1413, also fix jsonwp misinterpretation
logTypes should return array of types, not array of objects
cc @ecomrobotics
2013-11-05 12:00:40 -08:00
eComRobotics Team 93c313303f Bugfixes for desired_capabilities updating and for ios_logging 2013-11-05 20:30:37 +04:00
eComRobotics Team caf7d789e9 Support for iOS logs for devices and simulators
Fix after comments by @jlipps

Fix require section
2013-11-05 03:16:44 +04:00
Jonathan Lipps 135798fa49 update activity matching regex for android 4.4 2013-11-01 08:39:26 -07:00
Payman Delshad 2502ffdd0d (Android) Don't uninstall the app when --no-reset is used. 2013-11-01 09:25:38 +01:00
Jonathan Lipps 8e965db971 make sure we don't shut uiautomator down if it's already gone (fix #1402) 2013-10-31 15:15:30 -07:00
Jonathan Lipps 1c5663719f use adb api correctly 2013-10-31 11:07:42 -07:00
Jonathan Lipps 9a402b0ea7 when we get an error starting up an android test, make sure we kill uiautomator
so it doesn't complain next time we run a test
2013-10-28 11:39:50 -07:00
Jonathan Lipps 805c55d464 command timeouts should be handled centrally by appium, not by each device 2013-10-28 11:39:50 -07:00
Jonathan Lipps 32d153b6ab finish making shutdown() callback-based 2013-10-28 11:39:50 -07:00
Jonathan Lipps 386de406f3 check in midway through android startup/shutdown refactor 2013-10-28 11:39:50 -07:00
Payman Delshad 105fc6a5f1 (Android) Correct handling of 'element{Displayed|Enabled|Selected}'. 2013-10-25 19:21:13 +02:00
Jonathan Lipps bd8cbab399 change order of unlock regexes 2013-10-24 11:56:30 -07:00
Jonathan Lipps fe61ec8b8c fix unlock retry logic so we actually unlock (fix #1295) 2013-10-24 10:41:55 -07:00
Payman Delshad e66d5fa2f8 (Android) Fix for crash when there's no connected devices. 2013-10-24 15:14:55 +02:00
Payman Delshad 85f0b3aa73 (Android) Don't uninstall the app on fast reset. 2013-10-24 14:58:09 +02:00
Jonathan Lipps 8e5a0bb1f9 more cleanup including selendroid update 2013-10-22 11:29:19 -07:00
Jonathan Lipps d2a362118a fix a bunch of refactoring issues 2013-10-22 11:29:19 -07:00
Jonathan Lipps 9f129c2172 convert selendroid 2013-10-22 11:29:19 -07:00
Jonathan Lipps d63671ceee finish main rewrite of adb.js 2013-10-22 11:29:19 -07:00
Jonathan Lipps 2e1a13eb94 split up instrumentation responsibilities 2013-10-22 11:29:19 -07:00
Jonathan Lipps 3785fe5ca9 just use javascript's new operator rather than adding levels of abstraction 2013-10-22 11:29:19 -07:00
Jonathan Lipps c3db317842 fix logcat issue where it returns too many logs 2013-10-22 11:29:19 -07:00
Jonathan Lipps 1140908666 run commands from uiautomator.js, and migrate activity waiting methods 2013-10-22 11:29:19 -07:00
Jonathan Lipps 44c64db8e2 extract uiautomator behavior into its own object/library 2013-10-22 11:29:19 -07:00
Jonathan Lipps 389ae73e9a migrate push unlock and push appium 2013-10-22 11:29:18 -07:00
Jonathan Lipps 30b2c69ff6 migrate port forward logic 2013-10-22 11:29:18 -07:00
Jonathan Lipps 65bb08d84e finish migrating install logic 2013-10-22 11:29:18 -07:00
Jonathan Lipps 680d09a77a initial work on refactoring adb 2013-10-22 11:29:18 -07:00
Jonathan Lipps f7c8f9e6cb we don't use webatoms for android now that we use chrome 2013-10-22 11:29:18 -07:00
Jonathan Lipps 138f22f319 move android controller methods into their own file 2013-10-22 11:29:18 -07:00
Payman Delshad 36427cf6d1 Support for getClassName() from Android API level 18. 2013-10-21 13:40:31 +02:00
Jonathan Lipps c95d7ee3ad Merge pull request #1323 from bootstraponline/master
Ensure APK is signed
2013-10-18 10:17:54 -07:00