Commit Graph
12159 Commits
Author SHA1 Message Date
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
Jonathan Lipps 9de846cf1c add deprecation warnings for old page source and xpath methods 2014-03-27 16:29:55 -07:00
Jonathan Lipps d0474f3051 add tests for new '-real xpath' temporary loc strat
and test for new real xml page source
2014-03-27 16:29:55 -07:00
Jonathan Lipps af2427a03c add real xpath support making use of getElementByIndexPath
this depends on https://github.com/appium/appium-uiauto/pull/11
also depends on https://github.com/michaelkourlas/node-js2xmlparser/pull/10
partially addresses issue 2155
2014-03-27 16:29:55 -07:00
Jonathan Lipps a6aac4e203 update appium-instruments 2014-03-27 16:28:03 -07:00
Jonathan Lipps cdae6b2e66 Merge pull request #2203 from Jonahss/LocStratUnderscores
Loc strat underscores
2014-03-27 16:19:39 -07:00
jonahss 878497d63f accessibility_id -> accessibility id 2014-03-27 15:05:17 -07:00
jonahss 0ff63ff003 -ios_uiautomation -> -ios uiautomation 2014-03-27 14:42:14 -07:00
jonahss 7cedf44631 fix find-element test 2014-03-27 14:30:55 -07:00
Jonathan Lipps e06f65b89a Merge pull request #2198 from d0lfin/master
Move reset timeout from "global before" to "session before"
2014-03-27 11:19:09 -07:00
dolf 28c5fd51c3 Move reset timeout from global before to session before 2014-03-27 15:38:04 +04:00
seb vincent 98028791d5 Merge pull request #2193 from sebv/working
better test defaults for ios71
2014-03-27 14:23:11 +08:00
sebv f7183f2f23 better test defaults for ios71 2014-03-27 14:20:27 +08:00
seb vincent 82e1cf341c Merge pull request #2192 from sebv/pkg-upgrade
upgraded appium-intruments
2014-03-27 13:47:46 +08:00
sebv 4af7893fc5 upgraded appium-intruments 2014-03-27 12:23:54 +08:00
seb vincent 83f5f6976e Merge pull request #2184 from sebv/more-test-fixes
More test fixes
2014-03-27 12:05:17 +08:00
sebv 1a3fa222cb Only counting displayed elements 2014-03-27 12:02:17 +08:00
sebv 725c451a88 fixing strategy name mismatch 2014-03-27 11:59:46 +08:00
sebv c92f3d6cbc improving ios uiauto tests 2014-03-26 20:59:19 +08:00
sebv 0f3f21b9b1 more test improvements 2014-03-26 20:59:19 +08:00
seb vincent 51c87b5a99 Merge pull request #2182 from sebv/test-prelaunch
rewrote waitForLaunch
2014-03-26 16:48:47 +08:00
sebv 89026145db rewrote waitForLaunch 2014-03-26 16:43:39 +08:00
seb vincent aeb879ef47 Merge pull request #2180 from sebv/test-prelaunch
fixing prelaunch tests
2014-03-26 10:57:25 +08:00
sebv 46984e21e9 fixing prelaunch tests 2014-03-26 10:55:17 +08:00
Jonathan Lipps 587d7945fa Merge pull request #2153 from DylanLacey/class_name_strat
Add class name locator strategy, comply with MJSONWP
2014-03-25 18:56:07 -07:00
Dylan Lacey 9a7594870c Added deprecation warning for tag name
Add deprecation warnings for class name, tag name locator strategies.

Deprecations warnings will now be thrown for:
* 'tag name' in the native context
* 'class name' in the native context
* 'class name' in the web context

'class_name' is now a valid locator strategy for checkValidLocStrat

Add test for new class name locator
rename createCommand createGetElementCommand
Adding unit tests for new exception throwing
Add test for incorrect UIA class names
2014-03-25 18:07:02 -07:00
Jonathan Lipps 5255c4b4b4 fix ios ui type shortcuts link (fix #1699) 2014-03-25 14:42:36 -07:00
Jonathan Lipps d696cc862a Merge pull request #2177 from jlipps/master
ensure that app is always force-stopped before uninstalling apk (fix #17...
2014-03-25 14:15:05 -07:00
Jonathan Lipps 5c265bc459 ensure that app is always force-stopped before uninstalling apk (fix #1757) 2014-03-25 13:28:28 -07:00