Commit Graph

3737 Commits

Author SHA1 Message Date
Jonathan Lipps f6fc69d496 raise an error if someone sends in a bad platformName (fix #2179) 2014-04-02 15:10:31 -07:00
Jonathan Lipps 1363f7d248 Merge pull request #2228 from Jonahss/androidLocStrat
Android loc strat
2014-04-02 14:37:03 -07:00
jonahss ff30a5288b -android uiautomator locator strategy 2014-04-02 14:27:49 -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
Jonathan Lipps 382abf31e0 Merge pull request #2169 from DylanLacey/fix_ios_platform
Convert `device` to `platformName` when turning caps into arguments.
2014-04-01 17:58:13 -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 0e11389bb7 Retool loop through actions 2014-04-01 16:18:26 -07:00
Jonathan Lipps e9bd1403d1 Merge pull request #2212 from landryraccoon/master
Allow changing of ports with an environment variable
2014-04-01 14:45:07 -07:00
Jonathan Lipps f16fdbacbf Merge pull request #2230 from DylanLacey/examples_71
Update Ruby sample code.
2014-04-01 09:57:49 -07:00
Jonathan Lipps 6e154f4f81 Merge pull request #2229 from vgrigoruk/vgrigoruk-master
Fixes #2131.
2014-04-01 09:55:09 -07:00
Dylan Lacey 633c2ed81e Update Ruby sample code.
Change from tag_name to class_name for u\_i\_catalog, simple\_test,
cucumber tests.

Changed to iOS 7.1 in u\_i\_catalog, simple\_test, cucumber tests.

Changed `capabilities` to `desired_caps` to avoid some weirdo
collisions.

Remove Debugging output from Cucumber.

Add example of send\_keys as an action chain for u\_i\_catalog.
2014-04-01 01:46:27 -07:00
Vitalii Grygoruk b70dc24eec Mised toLowerCase for iOS.js (+2 squashed commits)
Squashed commits:
[fba9410] Making sure toLowerCase() is still used for chrome.js
[0cbfa68] We don't need toLowerCas() for app argument, as it is used for passing CFBundleIdentifier, fixes #2131
2014-04-01 09:37:49 +02:00
Jonathan Lipps 8ff9a0439d Merge pull request #2223 from jlipps/master
check that iOS deviceName matches instruments's list before launching
2014-03-31 15:38:56 -07:00
Isaac Murchie 63ff8fb2b4 Fix handling of touch gestures in iOS 2014-03-31 15:18:27 -07:00
Isaac Murchie 016b8c6559 First pass at iOS touch for Appium 1.0 2014-03-31 14:00:44 -07:00
Jonathan Lipps a928cab752 Merge pull request #2222 from imurchie/isaac-contexts
Fix setWindow for Android
2014-03-31 12:21:22 -07:00
Jonathan Lipps 39949dc835 check we can launch a device based on user's caps and throw a nice error if not (fix #2114) 2014-03-31 12:15:34 -07:00
Jonathan Lipps ab7b70906a add test that we don't reuse element ids (related to #2096) 2014-03-31 11:02:42 -07:00
Isaac Murchie 2043324473 Fix setWindow for Android 2014-03-31 10:59:11 -07:00
seb vincent 0c38528077 Merge pull request #2221 from sebv/build-upload
ci fix
2014-03-31 23:22:04 +08:00
sebv 70521d25ed ci fix 2014-03-31 22:59:38 +08:00
seb vincent 751d946ae4 Merge pull request #2220 from sebv/build-upload
ci fix
2014-03-31 22:43:32 +08:00
sebv cbbcc9724e ci fix 2014-03-31 22:42:10 +08:00
seb vincent daf49b014b Merge pull request #2219 from sebv/build-upload
ci fix
2014-03-31 22:21:10 +08:00
sebv 8b519b32bb ci fix 2014-03-31 22:19:10 +08:00
seb vincent 50365b5a1a Merge pull request #2218 from sebv/build-upload
build upload to sauce
2014-03-31 22:10:53 +08:00
sebv 64c838acba build upload to sauce 2014-03-31 22:06:04 +08:00
Jonathan Lipps f78cee9644 Merge pull request #2211 from jlipps/real-xpath-android
Real XML-based XPath for Android
2014-03-28 15:07:50 -07:00
Jonathan Lipps b4abe5ae29 Merge pull request #2213 from bootstraponline/2194_squashed
Modify scroll to take element argument.
2014-03-28 15:05:58 -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
Tim Wang 2349105a67 Fix omitted var keyword 2014-03-28 13:53:38 -07:00
Tim Wang 0150fc7d6d Allow changing of ports with an environment variable 2014-03-28 12:01:00 -07:00
Jonathan Lipps 97710ca829 Merge pull request #2209 from sebv/async-queue
Ios command queue using Async.queue
2014-03-28 10:45:05 -07:00
Jonathan Lipps ec563bd2b8 add real xpath support for android
- relies on xpath support for ios pull request
- adds support under the '-real xpath' locator strategy
- deprecates the original xpath strategy, which will be replaced in 1.0
- because we have no way to get a dom fragment starting from an element,
  this strategy will only work for root-level queries
2014-03-28 10:29:48 -07:00
Jonathan Lipps ff0dcd4292 deprecate use of json page source 2014-03-28 10:29:48 -07:00
Jonathan Lipps 36fbeca8c1 update android xml source to have class names as node names rather than just 'node' 2014-03-28 10:29:48 -07:00
Jonathan Lipps 78f3a43982 add test for existing xml source behavior 2014-03-28 10:29:48 -07:00
Jonathan Lipps f8f3038d70 Merge pull request #2204 from jlipps/real-xpath
Real XML-based XPath for iOS
2014-03-28 10:28:57 -07:00
sebv 145de78435 fixed test script 2014-03-29 00:38:01 +08:00
sebv 5e44dee358 rewrote screenshot logic 2014-03-29 00:25:06 +08:00
Jonathan Lipps aba0f5a191 use indexpath find retry even when trying to find a single element that becomes stale 2014-03-28 08:00:52 -07:00
sebv b19d92efd7 making isDisplayed helper run in parallel 2014-03-28 22:59:32 +08:00
Jonathan Lipps da4e83cd9d use our own fork of node-js2xmlparser 2014-03-28 07:55:31 -07:00
sebv 767a6bd992 reimplemented queue with async.js 2014-03-28 22:53:47 +08:00
Jonathan Lipps b04e858dee update real device info 2014-03-27 17:37:29 -07:00
Jonathan Lipps 66925c56a2 update uiauto submodule 2014-03-27 16:30:19 -07:00