Commit Graph

418 Commits

Author SHA1 Message Date
sebv
f61a321d2e bugfix, context was wrong 2014-03-11 21:44:59 +08:00
Jonathan Lipps
50d03d6b08 store --command-timeout as int 2014-03-07 14:30:00 -08:00
Jonathan Lipps
e7a72e5921 add --command-timeout server arg
so the server can set its own default timeout.
also, clean up some of the command timeout logic
2014-03-07 13:57:41 -08:00
Jonathan Lipps
a06e4d60c6 Merge pull request #2019 from imurchie/isaac-iosconfig
Use new version of Device.configureLocalApp
2014-03-07 13:15:39 -08:00
Isaac Murchie
d45f2aee5c Use new version of Device.configureLocalApp 2014-03-07 13:07:46 -08:00
Jonathan Lipps
80ebe34278 add enablePerformanceLogging cap for chrome/android hybrid, so we can get performance logs 2014-03-07 11:52:20 -08:00
Jonathan Lipps
77c20b05d5 show extra server params in logs for easier debugging 2014-03-07 10:41:06 -08:00
bootstraponline
1005235183 Merge pull request #2007 from paymand/down_up_move
Added support for touch{Down|Up|Move} on Android.
2014-03-07 09:20:28 -05:00
bootstraponline
d70f8ac01d Clean up debug logging 2014-03-07 15:10:53 +01:00
Payman Delshad
113fe5ce10 Added support for touch{Down|Up|Move} on Android. 2014-03-07 15:10:52 +01:00
Jonathan Lipps
e2573415ec don't delete /Applications unless we're doing fullRest, and add tests of safariIgnoreFraudWarning in safari itself 2014-03-06 17:47:20 -08:00
Jonathan Lipps
dbca58ddbc fix bad conflict resolution, include uiauto bootstrap when launching instruments 2014-03-04 17:51:43 -08:00
Jonathan Lipps
9c57a77749 Merge pull request #1967 from dandoveralba/locservices
Update setLocale and reset
2014-03-04 13:34:37 -08:00
Dan Doveralba
980d7b764f Update setLocale and Reset
* launch and quit the sim if the sim dir doesn't exist
* remove only the locationd folder in caches since that was the original intent or removing Caches to begin with

Fix #1943
2014-03-04 13:05:09 -08:00
Jonathan Lipps
52a625388e add some negative tests for device extraction 2014-03-04 12:02:34 -08:00
Jonathan Lipps
f76a8ee8f8 fix extraneous parens 2014-03-04 10:41:47 -08:00
Jonathan Lipps
135044fa82 ensure device detection works in a case-insensitive manner 2014-03-04 10:17:19 -08:00
Jonathan Lipps
7adcac31a7 fix websocket bug and make sure named apps clobber device in caps 2014-03-03 16:41:46 -08:00
Jonathan Lipps
e4e1936ad6 fix a few ios bugs and add list of things that our testsuite doesn't cover yet 2014-03-03 16:41:46 -08:00
Jonathan Lipps
7ac5c172f5 handle starting server with only --force-iphone or --force-ipad for device too 2014-03-03 16:41:46 -08:00
Jonathan Lipps
7c2593c183 add unit tests for device extraction logic 2014-03-03 16:41:46 -08:00
Jonathan Lipps
e6e47887cd fix unit tests to mock IOS instead of using weird mock_ios device 2014-03-03 16:41:46 -08:00
Jonathan Lipps
86ad843bd8 continue to clean up appium.js to handle new architecture 2014-03-03 16:41:46 -08:00
Jonathan Lipps
c9fc9c8d4e remove need for things other than safari.js to know about SafariLauncher 2014-03-03 16:41:46 -08:00
Jonathan Lipps
f7011a5199 migrate firefoxos config 2014-03-03 16:40:17 -08:00
Jonathan Lipps
3cab56ecea migrate ios args in remaining files 2014-03-03 16:40:17 -08:00
Jonathan Lipps
42780f2655 port chrome config 2014-03-03 16:40:16 -08:00
Jonathan Lipps
b058732ebb port android basic config 2014-03-03 16:40:16 -08:00
Jonathan Lipps
b45f324701 finish porting ios args 2014-03-03 16:40:16 -08:00
Jonathan Lipps
0cd14dd8fd rearchitect configuration methods 2014-03-03 16:37:49 -08:00
Jonathan Lipps
bcf9d6c60e create Device class and abstract configuration logic into each type of device to clean up appium.js 2014-03-03 16:37:49 -08:00
Jonathan Lipps
e4d25a008e Merge pull request #1976 from sebv/uiauto-npm
Extracted appium-uiauto package
2014-03-03 16:29:53 -08:00
Jonathan Lipps
d097c94c90 Merge pull request #1973 from pavelsmolensky/keepKeyChains
Add option --keep-keychains to save Library/Keychains between appium session restarts
2014-03-03 13:37:08 -08:00
Ethan Goldblum
acc56fd100 Increase maxBuffer for installApp command 2014-03-03 11:02:04 -08:00
bootstraponline
8f6ab4a1e8 Fix Cannot call method 'getAllLogs' of undefined 2014-03-03 11:55:21 -05:00
Pavel Smolensky
f30631d784 iOS. Add --keep-keychains option and desired capability keepKeyChains 2014-03-03 18:01:13 +03:00
sebv
2db67fb872 Extracted appium-uiauto package 2014-03-02 16:07:57 +08:00
Jonathan Lipps
081987b3e0 allow device to come in through some command-line args
this should fix the appium.app 'valid device' error
2014-02-28 20:42:15 -08:00
sebv
221ca385e5 Converted code to use npm appium-instruments package 2014-02-28 11:22:34 +08:00
Jonathan Lipps
f0193f3e26 Merge pull request #1970 from bootstraponline/source_fix
Fix Android page source
2014-02-27 13:20:26 -08:00
bootstraponline
cce7ee0126 Android longClick x, y, and duration support
Ruby examples:

mobile :longClick, element: el.ref

mobile :longClick, element: el.ref, duration: 3000

mobile :longClick, x: 400, y: 297, duration: 3000

mobile :longClick, x: 0.5, y: 0.244
2014-02-27 16:18:05 -05:00
bootstraponline
591c0dbc4e Fix Android page source 2014-02-27 10:19:50 -05:00
Jonathan Lipps
8022031199 handle both binary and xml plists in ios settings 2014-02-26 16:21:35 -08:00
Jonathan Lipps
37f9081b6c Merge pull request #1956 from Jonahss/master
bugfix: watchForUnresponsiveInstruments process run on systems without ios configured
2014-02-26 09:28:09 -08:00
Jonathan Lipps
410aacc1e6 Merge pull request #1961 from paymand/scrollTo
Android: Added support for 'direction' to scrollTo.
2014-02-26 09:27:38 -08:00
Payman Delshad
b0976fece8 Android: Added support for 'direction' to scrollTo.
This fix adds a new option (direction) to 'mobile: scrollTo'.
If 'horizontal' is provided (or if the view is a HorizontalScrollView),
we will call setAsHorizontalList() before commencing the scroll.
2014-02-26 15:44:39 +01:00
Jonathan Lipps
9f0eebecfa update use of au.mainApp to make it a function 2014-02-25 19:32:43 -08:00
Jonathan Lipps
c77029aa90 retrieve target/app/window each time we need it 2014-02-25 19:32:43 -08:00
jonahss
31b3fc99ae fix issue #1798: commands fail after stopping and relaunching app. 2014-02-25 18:01:02 -08:00
jonahss
8d6864a55a bugfix: watchForUnresponsiveIntruments process was being run even on systems which did not have ios configured, causing a fatal error. 2014-02-25 15:54:11 -08:00