Sergio Neves Barros
808e94f1da
Updated the app argument for the installApp, launchApp and closeApp to point to the device rather than appium. Also added a check for the "installToRealDevice" function to check if "launch" desired capability has not been set to false (as in that instance we want to manage installation and launching ourselves).
...
Changed the launch parameter to autoLaunch (including a check for launch desired capability and deprecation warning).
2014-04-10 17:40:00 +01: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
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
f6fc69d496
raise an error if someone sends in a bad platformName ( fix #2179 )
2014-04-02 15:10:31 -07:00
bootstraponline
6995aa868f
Set fullReset and noReset from caps
2014-03-25 15:47:36 -04:00
Jonathan Lipps
fd24d65ffe
make sure caps are sanitized ( fix #2103 )
2014-03-20 16:58:03 -07:00
Jonathan Lipps
22912968d8
fix fastReset going undefined between sessions ( fix #2087 )
2014-03-20 00:01:30 -07:00
Jonathan Lipps
c9fc1da595
bring back mobile reset
2014-03-19 23:54:29 -07:00
Dylan Lacey
21c8feb8e5
Add new device and automation capabilities, deprecate old caps
...
Added deprecation warning for older style caps. Warnings are output
once only for a given function or capability. A final trailing log
message is released saying there were deprecations.
Busted unit tests into smaller tests
Capabilities are now an object, created by passing the capabilities
to Capabilities. Properties on that object are copied into the Capabilities object so the API is identical.
Store the value of platformVersion as version.
2014-03-19 09:35:36 -07:00
Jonathan Lipps
873d2df203
make sure we can do forceiPad and safari
...
heads up @DylanLacey, this will likely cause a conflict with your work
2014-03-14 14:47:48 -07:00
Jonathan Lipps
b2a782a899
actually clear out commandTimeout in between sessions so we don't start the timer while a new session is loading the app
2014-03-12 12:42:23 -07: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
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
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
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
Pavel Smolensky
f30631d784
iOS. Add --keep-keychains option and desired capability keepKeyChains
2014-03-03 18:01:13 +03: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
Jonathan Lipps
d498d7df31
fix some failing android tests
2014-02-24 16:58:04 -08:00
Jonathan Lipps
6890632937
add locationServicesAuthorized cap to pre-auth loc services for a given app
2014-02-20 16:17:23 -08:00
bootstraponline
bbd03f89c6
Add androidCoverage
2014-02-14 12:54:05 -05:00
Isaac Murchie
6daff9e810
Add app wait package
2014-02-04 15:35:58 -08:00
Sam Park
7917e78934
Clear the sessionOverride when cleaning up session
2014-02-04 11:26:54 -08:00
Sam Park
72ac77544b
Make fullReset clear app on session stop as well
2014-02-04 09:45:09 -08:00
Isaac Murchie
ac80afbcc7
Allow multiple ChromeDrivers to be running
2014-02-03 16:49:26 -08:00
bootstraponline
e556a71b6c
Fix iOS reset
...
iOS reset deletes the following:
/iPhone Simulator/7.0.3/Library/TCC
/iPhone Simulator/7.0.3/Library/Caches
/iPhone Simulator/7.0.3/Media
/iPhone Simulator/7.0.3/Library/Keychains
/iPhone Simulator/7.0.3/Applications
iOS full reset deletes the entire 'iPhone Simulator' folder.
2014-02-01 12:02:03 -05:00
sebv
d971f72c46
stricter jshint rules enforcable from editor
2014-01-29 14:03:34 +08:00
Jonathan Lipps
82875e7531
make settings app a first-class appium-supported ios app
2014-01-23 15:20:02 -08:00
Jonathan Lipps
0dceea21bb
fix bug where --safari wouldn't pre-launch
...
and add tests
2014-01-21 14:34:38 -08:00
Jonathan Lipps
dba5e7393b
fix pre-launch bug ( fix #1772 )
...
and add tests
2014-01-20 12:43:30 -08:00
sebv
c86606e09c
native instruments configurable as capabilities
2014-01-16 20:28:51 +08:00
Andrew Wason
456fc65bd2
Use correct suffix (.zip or .apk) when downloading app from a url.
...
md5calculator (used in lib/devices/android/android-common.js)
can only handle files that end in .ipa or .apk, not .zip.
Currently urls that end in .apk are downloaded as appium-app.zip
2014-01-10 17:18:27 -05:00
Dan Doveralba
64522d746a
Update Alert Logic
...
* by default appium doesn't interact with alerts
* set autoAcceptAlerts to true to have appium accept alerts
2014-01-09 22:27:08 -08:00
Jonathan Lipps
9fb163be2e
automatically accept photo permission alerts ( fix #1700 )
...
and add manualPermissionAlerts desired cap if you want to
handle things manually
2014-01-07 14:44:20 -08:00
Dan Cuellar
82d49d0c7d
Adding flag to show simulator logs
2014-01-07 14:09:18 -08:00
Jonathan Lipps
5981667cca
add support for doing web testing against android stock browser
2014-01-06 18:20:17 -08:00
rockbot
158a4ba2d2
requires users to specify their device in their desired capabilities
2013-12-20 14:29:14 -08:00