Commit Graph

61 Commits

Author SHA1 Message Date
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
Jonathan Lipps b537c4ae71 remove confusing multiple session handling code
it doesn't actually do anything and was cruft
also, make session overriding non-default based on the mobile
JSONWP discussions
2013-10-28 11:39:50 -07:00
Peter Schwarz 027ae9adea Fixed missing callback parameter 2013-10-28 12:38:41 -05:00
Payman Delshad 105fc6a5f1 (Android) Correct handling of 'element{Displayed|Enabled|Selected}'. 2013-10-25 19:21:13 +02:00
Payman Delshad 6aeb26574f Don't set Content-Length header for http POSTs with empty body. 2013-10-25 19:20:28 +02:00
Jonathan Lipps bd8cbab399 change order of unlock regexes 2013-10-24 11:56:30 -07:00
Jonathan Lipps 4ae0cd9c28 upgrade express so we don't get warning messages 2013-10-24 10:49:33 -07:00
Jonathan Lipps fe61ec8b8c fix unlock retry logic so we actually unlock (fix #1295) 2013-10-24 10:41:55 -07:00
Jonathan Lipps 4b0ed93914 fix launch timeout bug (fix #1340) 2013-10-24 08:05:35 -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 634f8d4eb7 allow desired cap launchTimeout to tell appium how long to wait before declaring instruments unresponsive 2013-10-23 10:11:24 -07:00
Jonathan Lipps 677499343e refactor ios.js option passing 2013-10-23 10:05:08 -07:00
bootstraponline 4acdf90b17 Fix null args.app 2013-10-23 09:43:01 -04: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
Aleksandr Komlev 5ded674ae3 Allow .ipa extension for desired capabilities param 'app' 2013-10-21 21:32:03 +04:00
Payman Delshad 36427cf6d1 Support for getClassName() from Android API level 18. 2013-10-21 13:40:31 +02:00
Jonathan Lipps cec0f84620 pull out remote debugger related ios functionality into its own file 2013-10-18 12:16:16 -07:00
Jonathan Lipps c05ed2906e break apart ios into core and controller parts 2013-10-18 11:23:50 -07:00
Jonathan Lipps 4d8b939889 no need for this to be a property 2013-10-18 11:00:28 -07:00
Jonathan Lipps c95d7ee3ad Merge pull request #1323 from bootstraponline/master
Ensure APK is signed
2013-10-18 10:17:54 -07:00
bootstraponline 4a87ce8d07 Ensure APK is signed 2013-10-18 13:11:22 -04:00
Saikat Maitra 00379af68d Fixed bootstrap build error to download dependencies
Below is error message. 

[ERROR] Failed to execute goal on project bootstrap: Could not resolve dependencies for project io.appium.android:bootstrap:jar:1.0.0-SNAPSHOT: The following artifacts could not be resolved: android:android:jar:4.3_r1, android.test.uiautomator:uiautomator:jar:4.3_r1: Could not find artifact android:android:jar:4.3_r1 in central (http://repo1.maven.org/maven2) -> [Help 1]
2013-10-18 17:57:14 +05:30
Jonathan Lipps 5ad5df488b move all android-related files together into devices/android 2013-10-17 12:33:49 -07:00
Jonathan Lipps 059a7dc339 move all firefoxos-related functionality together
and add firefox os resetting to reset.sh so it's functional
2013-10-17 12:33:48 -07:00
Jonathan Lipps 6728ea5490 move instruments in with the other ios stuff 2013-10-17 12:33:48 -07:00
Jonathan Lipps 64f5619331 move uiauto stuff into ios/ and extract status and xpath libs 2013-10-17 12:33:48 -07:00
Jonathan Lipps f673ec3044 merge ios-related files in devices 2013-10-17 12:33:48 -07:00
Jonathan Lipps 3373f2ec46 upgrade npm packages 2013-10-17 10:30:12 -07:00
Jonathan Lipps 69edde4a42 instruments no longer needs its own directory 2013-10-17 10:30:12 -07:00
Jonathan Lipps 651f4ff13a move instruments-client into bin/ and rename helpfully 2013-10-17 10:30:12 -07:00
Jonathan Lipps af930d11a9 move appium bin into bin/ 2013-10-17 10:30:11 -07:00
Jonathan Lipps 30b9ee4047 move authorize-ios into bin 2013-10-17 10:30:11 -07:00