Commit Graph

141 Commits

Author SHA1 Message Date
Jonathan Lipps 85bcbf5bb0 Merge pull request #2465 from imurchie/isaac-gestures
In swipe, translate milliseconds to seconds
2014-05-02 18:06:12 -07:00
Isaac Murchie 320162cd05 Shift milliseconds to seconds in swipe 2014-05-02 18:02:34 -07:00
Jonathan Lipps 31c9000bd2 enable launchTimeout cap to be an obj as well 2014-05-02 15:56:17 -07:00
Jonathan Lipps e23f58ba96 make sure we don't convert proxy cap into a string 2014-05-01 16:57:32 -07:00
Jonathan Lipps 8a5b698e28 bring grunt lint into parity with jshintrc, and fix lint issues 2014-05-01 12:09:17 -07:00
Jonathan Lipps 07204d5731 fix latent javascript replace-with-'' bug 2014-04-24 17:28:23 -07:00
Isaac Murchie c77d01db6d Allow for different inputs to find 2014-04-16 14:29:48 -07:00
sampar acf1686cdd Null checks for proxy.js when extracting Session ID, default to blank 2014-04-15 17:45:34 -07:00
Jonathan Lipps 6d8411ba65 the appium element/value command needs to use setValueImmediate 2014-04-15 15:00:05 -07:00
Jonathan Lipps c293cfe2f2 update our testsuite to use new native methods
instead of deprecated mobile methods.
Also add a few server methods that were accidentally
left out before
2014-04-14 16:50:52 -07:00
Jonathan Lipps caa5463dba remove 'mobile: ' interface for appium commands
leave the gesture commands for now incase we need the clients to fall
back to them pending full working through the touchaction/multiaction
api
2014-04-14 15:07:23 -07:00
Payman Delshad 4c18b4dfd6 Set log level to 'debug' for logging to file. 2014-04-14 11:10:25 -07:00
Isaac Murchie e0b1cadd00 Decode swipe action to native method 2014-04-14 11:04:48 -07:00
Jonathan Lipps f0dea5f3b5 remove deprecated --merciful and --device-port flags
add --force-quit-instruments flag instead
and fix grunt docs to add the jekyll preamble and write to the correct path
2014-04-11 10:05:30 -07:00
Jonathan Lipps d54852ddb9 ensure that the logger is initialized with correct args before using it (fix #2308) 2014-04-10 18:46:43 -07:00
Jonathan Lipps 8cab32a724 Merge pull request #2321 from jlipps/jlipps-1.0-beta
remove deprecated caps
2014-04-10 16:24:15 -07:00
Jonathan Lipps 9cb4e207d5 loosen up sudo check so it allows various forms of authorize 2014-04-10 16:23:25 -07:00
Jonathan Lipps e5e30a8cd4 get rid of old device and version caps 2014-04-10 15:01:11 -07:00
Jonathan Lipps 50c3dbd7fd remove 'mobile: findAndAct' 2014-04-10 14:09:57 -07:00
Isaac Murchie 8e89c749ef Fix bugs in action handling 2014-04-10 10:59:50 -07:00
Sergio Neves Barros 8292b71387 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 10:00:01 -07:00
Jonathan Lipps b78c8ddfe9 remove 'mobile: getCommandTimeout' 2014-04-09 18:45:25 -07:00
Jonathan Lipps 0312620d09 remove 'mobile: localScreenshot' 2014-04-09 18:43:02 -07:00
Jonathan Lipps f1ab0c7a73 remove 'mobile: findElementNameContains' 2014-04-09 18:41:02 -07:00
Jonathan Lipps 2871411d90 remove 'mobile: waitForPageLoad' 2014-04-09 18:40:03 -07:00
Jonathan Lipps afe4674f4a remove 'mobile: fireEvent' 2014-04-09 18:38:23 -07:00
Jonathan Lipps b0fdf70de2 get rid of 'mobile: location' 2014-04-09 18:36:07 -07:00
Jonathan Lipps e2c6a9919b remove json page source in favor of xml
and fix a bug in android bootstrap's xpath that snuck in last time
2014-04-09 18:07:02 -07:00
Jonathan Lipps 37b3d8b6e4 fix selendroid command timeout bug and fix test that proves it work 2014-04-09 13:34:00 -07:00
Jonathan Lipps f8a26b6f3d Bring 0.18.x changes into 1.0 branch 2014-04-09 10:57:07 -07:00
Jonathan Lipps 6725332707 don't use windowHandles for switching to/from webview 2014-04-08 12:02:44 -07:00
Payman Delshad ae54ebe297 Fix the broken -g/--log and --log-no-colors. 2014-04-08 19:04:57 +02: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 52fc91bf98 these methods take complex body parameters, so make them posts 2014-04-07 09:40:53 -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 5ceb9bbb1b finish off routing for #2226 2014-04-04 11:58:46 -07:00
Jonathan Lipps 0b2bd7b276 Merge pull request #2246 from jlipps/new-endpoints
deprecate soon-to-be-removed mobile: methods
2014-04-02 13:33:54 -07:00
Jonathan Lipps 28f966e9a1 deprecate soon-to-be-removed mobile: methods 2014-04-02 13:32:22 -07:00
Jonathan Lipps 477c7f14dd Merge pull request #2245 from jlipps/new-endpoints
add rest endpoints to handle mobile: methods
2014-04-02 12:48:38 -07:00
Jonathan Lipps bf4dcae4f1 add rest endpoints to handle mobile: methods in addition to executeScript 2014-04-02 12:15:34 -07:00
Jonathan Lipps 17bef33b01 Merge pull request #2224 from imurchie/isaac-touch
First pass at iOS touch for Appium 1.0
2014-04-01 18:09:35 -07:00
Dylan Lacey 148336fc04 Use the new capabilities throughout the codebase.
Every entry in `Capabilities.capabilityConversions` is now used to
convert capabilities into the args array.

Change version to versionVersion.
Change device to platformName
Stop aliasing platformVersion to version in Capabilities.js
2014-04-01 16:42:28 -07:00
Isaac Murchie 016b8c6559 First pass at iOS touch for Appium 1.0 2014-03-31 14:00:44 -07:00
Linzhen Xuan 148e5f3ba3 Modify scroll to take element argument.
Originally, scroll scrolls insider the first ScrollView. However, most of our ScrollViews is CollectionView, or TableView. So, we got error that the ScrollView could not found, although there are multiple "ScrollViews".

We also need to able to scroll insider different scrollviews.
2014-03-28 17:47:55 -04:00
dolf 28c5fd51c3 Move reset timeout from global before to session before 2014-03-27 15:38:04 +04:00
Jonathan Lipps 01395f1391 Merge pull request #2164 from sebv/log-colors
Avoiding passing LogNoColors/LogColors everywhere.
2014-03-25 12:21:38 -07:00
Dylan Lacey 0cbdb9b2d4 Log a deprecation message when mobileSource is called with the JSON
type, asking users to use XML type instead.
2014-03-25 03:18:46 -07:00
sebv 34816eaa70 Avoiding passing LogNoColors/LogColors everywhere. 2014-03-25 11:34:34 +08:00
bootstraponline 02155f137a Merge pull request #2144 from jlipps/master
fix sudo behavior for windows (fix #2137)
2014-03-24 13:55:10 -04:00