Commit Graph

525 Commits

Author SHA1 Message Date
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
aba0f5a191 use indexpath find retry even when trying to find a single element that becomes stale 2014-03-28 08:00:52 -07:00
Jonathan Lipps
da4e83cd9d use our own fork of node-js2xmlparser 2014-03-28 07:55:31 -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
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
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
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
sebv
725c451a88 fixing strategy name mismatch 2014-03-27 11:59:46 +08: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
5c265bc459 ensure that app is always force-stopped before uninstalling apk (fix #1757) 2014-03-25 13:28:28 -07:00
Jonathan Lipps
0b4554ce4e Merge pull request #2162 from bootstraponline/reset_from_cap
Enable fullReset and noReset from caps
2014-03-25 12:51:06 -07:00
bootstraponline
6995aa868f Set fullReset and noReset from caps 2014-03-25 15:47:36 -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
Jonathan Lipps
cba8bc80ae fix typeof syntax 2014-03-25 12:12:11 -07:00
Jonathan Lipps
dc5c08ef5c Merge pull request #2166 from DylanLacey/no_json_please
No JSON please
2014-03-25 12:11:24 -07:00
Jonathan Lipps
066492ad42 Merge pull request #2167 from sebv/safer-rimraf
safer rimraf
2014-03-25 12:07:51 -07:00
Jonathan Lipps
5bc344d74e Merge pull request #2170 from paymand/fast_reset_remote_apk
Make sure the app is always signed *before* getting the MD5 hash.
2014-03-25 11:46:40 -07:00
Jonathan Lipps
d417033529 Merge pull request #2173 from mobiware/ios-full-reset-prefs5
Fix #2133
2014-03-25 10:54:19 -07:00
Jonathan Lipps
d6b6ab1809 Merge pull request #2159 from Jonahss/accessibility_idLocStrat
accessibility_id location strategy
2014-03-25 10:41:28 -07:00
Romain Criton
390cf0e948 Fix #2133 2014-03-25 17:29:28 +00:00
Payman Delshad
48a8110bcb Make sure the app is always signed *before* getting the MD5 hash. 2014-03-25 14:01:14 +01: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
9936a039cc safer rimraf 2014-03-25 16:23:58 +08:00
sebv
34816eaa70 Avoiding passing LogNoColors/LogColors everywhere. 2014-03-25 11:34:34 +08:00
jonahss
273a008b95 add accessibility_id loc strat 2014-03-24 11:11:04 -07:00
sebv
a5eb53968a Making the builtin app backup path configurable 2014-03-25 02:04:50 +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
Jonathan Lipps
f44f586467 Merge pull request #2128 from midopa/master
fix, if appium url set in nodeconfig, dont autopopulate
2014-03-24 10:42:40 -07:00
Jonathan Lipps
9450e18c5a fix sudo behavior for windows (fix #2137) 2014-03-24 10:37:15 -07:00
bootstraponline
75faec10e5 Fix EXDEV error when using renameSync to move 2014-03-24 09:42:43 -04:00
sebv
1fb38b556a fixing sudo grunt authorize 2014-03-23 16:42:12 +08:00
Jonathan Lipps
a5ef609033 Merge pull request #2126 from jlipps/master
more sudo fixes
2014-03-23 01:25:12 -07:00
sebv
cf783c5c82 Revert "Avoiding passing LogNoColors/LogColors everywhere."
This reverts commit bdb63583de.
2014-03-23 11:33:19 +08:00
sebv
8bd5802fee Revert "safer rimraf"
This reverts commit 862ca490e5.
2014-03-23 11:32:26 +08:00
sampar
dd60171b20 fix, if appium url set in nodeconfig, dont autopopulate
otherwise, the autopopulation will set the host to localhost/127.0.0.1, which
wont' work if the node and grid are not on the same machine
2014-03-22 11:56:39 -07:00
sebv
862ca490e5 safer rimraf 2014-03-22 20:48:33 +08:00
sebv
bdb63583de Avoiding passing LogNoColors/LogColors everywhere. 2014-03-22 20:47:31 +08:00
Jonathan Lipps
ec1affff76 Merge pull request #2104 from Jonahss/ios_uiautomationLocStrat
Ios uiautomation loc strat
2014-03-21 16:33:21 -07:00
Jonathan Lipps
6d2183cd9f also disallow use of appium if it was even installed with sudo 2014-03-21 16:08:42 -07:00
jonahss
ae670caf88 Fixed a bug where requesting an invalid locator strategy on android caused uiautomator to die unexpectedly. Added a test 2014-03-21 15:46:25 -07:00
jonahss
6b0e9708ab add -ios_uiautomation locator strategy 2014-03-21 15:44:09 -07:00
Jonathan Lipps
f10e919597 make sure appium won't run under sudo. Too many people run into problems with that 2014-03-21 14:55:48 -07:00
Jonathan Lipps
45c2bd346c Merge pull request #2117 from paymand/remove_fast_clear
Removed 'fastClear' capability.
2014-03-21 09:37:55 -07:00
Jonathan Lipps
0654ad8a62 Merge pull request #2118 from bootstraponline/leak
Prevent leaking state across executions
2014-03-21 09:35:47 -07:00
bootstraponline
fb71904570 Format java according to bootstrap/.settings 2014-03-21 11:14:49 -04:00
bootstraponline
1f06f9244e Merge pull request #2115 from jlipps/master
misc fixes
2014-03-21 11:10:19 -04:00
bootstraponline
17e3fc3edb Prevent leaking state across executions 2014-03-21 11:05:50 -04:00