Jonathan Lipps
c01b2f6e83
make sure commit hooks use local versions of grunt/mocha
2014-05-02 10:52:30 -07:00
Jonathan Lipps
b66e024e10
lint context-specs
2014-05-02 10:51:45 -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
e0ef9ff5b6
fix function whitespace issues cc @Jonahss
2014-05-01 12:09:42 -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
Isaac Murchie
aea4a3e08a
Fix iOS context switch
2014-04-29 10:06:58 -07:00
Jonathan Lipps
93947bfd3d
fix safari phishing test
2014-04-28 14:01:43 -07:00
Jonathan Lipps
83d48b9a48
separate out chrome tests since they require a different emu
2014-04-15 13:06:11 -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
cb358bf31e
fix android multiaction tests by using new wd api
2014-04-07 22:13:09 -07:00
Jonathan Lipps
f12ec9ebb4
make sure safari/chrome tests work correctly
2014-04-07 17:27:55 -07:00
Isaac Murchie
4878c44b5f
Fix iOS multitouch tests
2014-04-07 16:58:20 -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
Jonathan Lipps
5094d595c1
fixing gesture tests and quarantining broken multiaction tests
2014-04-07 12:25:15 -07:00
Isaac Murchie
0df0d2b2dc
Add touch and multitouch actions for Android
2014-04-07 12:13:16 -07:00
Jonathan Lipps
d2c88032ca
fix uiautomator loc strat tests, and quarantine flakey wifi test
2014-04-07 12:10:34 -07:00
Jonathan Lipps
cfb800662a
don't reset sim during location test because it removes necessary files
2014-04-07 12:01:57 -07:00
sebv
546df35ea8
improved touch test + wd upgrade
2014-04-07 22:07:45 +08: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
sebv
eaf442675e
test fix
2014-04-05 02:15:24 +08:00
sebv
4702906186
allowing app paths relative to appium root
2014-04-05 02:11:45 +08:00
Jonathan Lipps
ce8adcfe6a
update testsuite to use 1.0-style caps
...
- and fix various issues with specific tests
2014-04-03 18:55:49 -07:00
Jonathan Lipps
d1553ccf39
update ios pullFile to account for the fact that the sim root might not have the exact version in it
...
@DylanLacey have a look at this, it's a gotcha of working with sim paths. My iOS SDK version might be '7.0', but the directory might be '7.0.3', or '7.0.3-64', so I changed this to use the directory finder from settings.js, and to throw a warning if there are multiple dirs. Unfortunately this change makes the unit tests rather impractical since it really depends on getting the status of the filesystem, so I added a new functional test and removed the unit tests.
Also verified tests pass now on 6.1, 7.0, and 7.1 with these changes
2014-04-03 11:54:57 -07:00
Jonathan Lipps
30b7c8b0b6
Merge pull request #2227 from DylanLacey/get_docs
...
Added pullFile support for iOS simulator.
2014-04-03 10:49:54 -07:00
Dylan Lacey
f2f349a36d
Added pullFile support for iOS simulator.
...
`mobile: pullFile {:path => '/Some/Path'}` fetches a file relative to
the root of the device's filesystem.
`mobile: pullFile {:path => '/Applications/Some.app'}` fetches a file
relative to the root of that Application's .app directory, adding in the
GUID.
Fixes #2010 , #1807
2014-04-02 22:19:25 -07:00
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
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
0e11389bb7
Retool loop through actions
2014-04-01 16:18:26 -07: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
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
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
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
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
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
sebv
b19d92efd7
making isDisplayed helper run in parallel
2014-03-28 22:59:32 +08:00
sebv
767a6bd992
reimplemented queue with async.js
2014-03-28 22:53:47 +08:00