Commit Graph

611 Commits

Author SHA1 Message Date
Jonathan Lipps
ea5e3775b2 fix lint errors 2014-05-06 14:14:05 +01:00
Isaac Murchie
897e0bbd97 Fix context change 2014-05-02 14:41:50 -07:00
Jonathan Lipps
7ae568c1c3 make sure we don't convert proxy cap into a string 2014-05-01 16:45:40 -07:00
Jonathan Lipps
25a6ea9c72 Merge pull request #2454 from imurchie/isaac-contexts
Allow multiple calls to get contexts in iOS
2014-05-01 15:54:35 -07:00
Jonathan Lipps
af7adcfe99 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 11:58:41 -07:00
Isaac Murchie
488789c326 Allow multiple calls to get contexts in iOS 2014-05-01 11:26:57 -07:00
jonahss
1c4fa7c5ba fixed #2400 - autoAcceptAlerts. Added tests 2014-05-01 10:46:31 -07:00
Jonathan Lipps
14cd6d4a65 Merge pull request #2433 from pkastner/master
have safari native tap position 40px lower on the screen
2014-04-30 10:10:06 -07:00
labuser
f41ec773c2 have safari native tap position 40px lower on the screen
fix for https://github.com/appium/appium/issues/2273 /
https://github.com/appium/appium/pull/2403 /
2014-04-30 09:26:08 +02:00
Isaac Murchie
aea4a3e08a Fix iOS context switch 2014-04-29 10:06:58 -07:00
bootstraponline
567ffa2f47 Improve DumpWindowHierarchy.java 2014-04-28 15:50:29 -07:00
sebv
4775ccc048 Using Async.queue to queue commands 2014-04-28 14:17:41 -07:00
Fan Bai
52d46cc7e8 Fix issue when iterating the entries
Every time you call entries.pop(), the entries.length minus 1.
We should check entries.length>0 as the end of loop.

This request is same as pull request #2426. fix a typo error.
2014-04-28 18:05:50 +08:00
Jonathan Lipps
3cdaf1bda0 fix latent javascript replace-with-'' bug 2014-04-24 17:27:30 -07:00
Jonathan Lipps
b45fea1e21 fix async bug (fix #2382) 2014-04-24 12:02:49 -07:00
Payman Delshad
62fa2816b0 Allow for whitespace in app path. 2014-04-17 15:33:11 +02:00
Isaac Murchie
d31ccee727 Allow for different inputs to find 2014-04-16 14:07:35 -07:00
sampar
855ebe87a5 Null checks for proxy.js when extracting Session ID, default to blank 2014-04-15 17:39:53 -07:00
Jonathan Lipps
81515ad53b Merge pull request #2338 from paymand/logger
Set log level to 'debug' for logging to file.
2014-04-14 11:09:09 -07:00
Jonathan Lipps
3be9f2377c Merge pull request #2336 from shyamvala/patch-2
Misleading error message for a Valid Platform
2014-04-14 11:06:26 -07:00
Payman Delshad
9ad24a8e04 Set log level to 'debug' for logging to file. 2014-04-14 09:38:10 +02:00
shyam
c8ebaced2e Misleading error message for a Valid Platform 2014-04-13 18:58:31 -04:00
Isaac Murchie
af7b8327d1 Decode swipe action to native method 2014-04-13 10:19:18 -04:00
Isaac Murchie
e70f870c27 Allow android multi touch actions without an element 2014-04-13 00:49:12 -04:00
shyam
8cd6d2a382 ApkSigning when using custome keystore fails
ApkSigning fails when using a custom keystore. Looking into the logs I realized that the options to the jarsigner command are not in the right order. Once I made this change the signing went ahead as expected.
2014-04-11 17:41:47 -04:00
Jonathan Lipps
4cd36c8d6a ensure that the logger is initialized with correct args before using it (fix #2308) 2014-04-10 18:46:17 -07:00
Jonathan Lipps
959cb6d113 loosen up sudo check so it allows various forms of authorize 2014-04-10 16:22:11 -07:00
Jonathan Lipps
ab242c68c9 don't try to validate device string if we're not >= ios 7.1 2014-04-10 14:08:20 -07:00
Jonathan Lipps
f74dbb78d7 Merge pull request #2315 from imurchie/isaac-action-fixes
Fix bugs in action handling
2014-04-10 10:50:07 -07:00
Isaac Murchie
3b71532826 Fix bugs in action handling 2014-04-10 13:36:50 -04:00
Jonathan Lipps
008df08fba Merge pull request #2293 from snevesbarros/fix_for_install_launch_remove_requests
Added 2 fixes for when using the installApp, launchApp, removeApp requests seperately
2014-04-10 09:51:02 -07:00
Sergio Neves Barros
808e94f1da Updated the app argument for the installApp, launchApp and closeApp to point to the device rather than appium. Also added a check for the "installToRealDevice" function to check if "launch" desired capability has not been set to false (as in that instance we want to manage installation and launching ourselves).
Changed the launch parameter to autoLaunch (including a check for launch desired capability and deprecation warning).
2014-04-10 17:40:00 +01:00
Jonathan Lipps
6af56cb283 use dumpWindowHierarchy for xml page source as well since it's more reliable 2014-04-09 16:11:50 -07:00
Jonathan Lipps
d566b7583f fix selendroid command timeout bug and fix test that proves it work 2014-04-09 13:13:08 -07:00
Jonathan Lipps
0d792be080 make sure weird responses don't crash appium 2014-04-09 11:16:02 -07:00
Payman Delshad
ae54ebe297 Fix the broken -g/--log and --log-no-colors. 2014-04-08 19:04:57 +02:00
Dan Doveralba
425e68198f Fix cleanupAppState
* wrap the path to sim in quotes for find
2014-04-07 15:49:50 -07:00
Jonathan Lipps
f861bf3ba5 Merge pull request #2286 from jlipps/master
fix up some version handling issues
2014-04-07 14:51:23 -07:00
Jonathan Lipps
1a7dd6f234 fix up some version handling so we can use ios 7.0 with xcode 5.1 for example 2014-04-07 14:44:39 -07:00
Jonathan Lipps
463e692c7b Merge pull request #2270 from imurchie/isaac-touch
Add touch and multitouch actions for Android
2014-04-07 14:19:00 -07:00
Isaac Murchie
0df0d2b2dc Add touch and multitouch actions for Android 2014-04-07 12:13:16 -07:00
Jonathan Lipps
fce54be2c8 creating instruments needs to come before setting prefs
because in setting prefs we might ephemerally launch instruments
which will check available devices
2014-04-07 12:01:57 -07:00
Jonathan Lipps
e1fe06ceb5 inner cbs need proper scope (cc @sebv) 2014-04-07 11:25:11 -07:00
Jonathan Lipps
52fc91bf98 these methods take complex body parameters, so make them posts 2014-04-07 09:40:53 -07:00
Jonathan Lipps
645cc62d61 if installing a remote apk fails, uninstall/rm and retry (fix #2188) 2014-04-04 15:43:43 -07:00
Jonathan Lipps
5147cbd58c add avdLaunchTimeout/avdReadyTimeout (fix #2247)
and retry launching emulator once if it doesn't connect (fix #1820)
2014-04-04 14:54:06 -07:00
Jonathan Lipps
a88eac5c00 update uiauto to take advantage of new hideKeyboard strategy (fix #1153) 2014-04-04 13:43:06 -07:00
Jonathan Lipps
3ae838a884 ensure we can use appium 1.0 style launch information from the command line (fix #2231) 2014-04-04 12:21:43 -07:00
Jonathan Lipps
f4b25accef make sure binaries found using which/where get added to adb.inaries (fix #2237) 2014-04-04 12:06:58 -07:00
Jonathan Lipps
5ceb9bbb1b finish off routing for #2226 2014-04-04 11:58:46 -07:00