Commit Graph

69 Commits

Author SHA1 Message Date
Jonathan Lipps
21e97dc959 fix tracetemplate detection logic and logging (fix #1386) 2013-10-30 08:04:12 -07:00
Jonathan Lipps
6e2d676ded log if we can't delete a tracedir 2013-10-30 07:14:12 -07:00
Jonathan Lipps
7002f7cd21 refactor ios startup cascade 2013-10-29 18:55:21 -07:00
Sergio Neves Barros
14748c4e1d Added support for both simulator and physical devices when using safari launcher. It now automatically connects to first web view and leave's web view at the end of the test. 2013-10-29 22:36:56 +00:00
Jonathan Lipps
f73a030ad9 add logging initialization in bin/appium so npm will work (fix #1381) 2013-10-29 14:40:15 -07:00
Jonathan Lipps
fbf46618ba fail with an error message if user is on xcode 5.0.1 (address #1377) 2013-10-29 11:46:13 -07:00
Jonathan Lipps
3ba0e3f0c6 add --log-timestamp and --log-no-colors options
also clean up and consolidate logging code
2013-10-28 16:36:32 -07:00
Jonathan Lipps
8f2d933985 add back desiredCaps.launch flag 2013-10-28 16:36:32 -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
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