Commit Graph

122 Commits

Author SHA1 Message Date
sebv
e55b32fb45 resetting commandTimeout at each step of the implicitTimeout cycle 2014-07-07 17:10:09 +08:00
Jonathan Lipps
4f1e426c95 bring back autoLaunch: false (fix #2629, fix #3045) 2014-07-03 12:41:52 -07:00
sebv
27e88940f5 Logging improvements 2014-06-25 23:23:11 +08:00
sebv
6325a18b41 prelaunch fix 2014-06-16 11:59:38 +08:00
sebv
24f97d5f25 bugfix: reset 2014-06-13 17:52:41 +08:00
Jonah Stiennon
ecc314e2df deviceName is required, unrecognized caps get logged to console. fixes #2765 2014-06-12 16:11:44 -07:00
Fan Bai
d618c16f99 Remove setting sessionOverride to false
Remove setting sessionOverride to false when cleaning up the session.
This parameter should left as it is.
Users may specify this value to true in the args when starting Appium server. However, once a session is cleared, this parameter would be as it was, instead of setting it to false.
2014-06-06 12:10:49 +08:00
sebv
cdafd82509 Improving logging 2014-06-04 09:07:58 +08:00
Jonathan Lipps
dea4186633 add --strict-caps mode
the server will error sessions which provide invalid caps
or don't provid valid ones
fix #2500
2014-05-30 16:54:27 -07:00
Jonathan Lipps
3c8b2404d1 Merge pull request #2687 from sebv/express-4
Migrated to express 4
2014-05-28 10:28:38 -07:00
Jonathan Lipps
e433bbc315 allow automation of chrome beta 2014-05-27 18:25:06 -07:00
sebv
f535d41abd migrated to express 4 2014-05-27 23:57:47 +08:00
sebv
191963a485 mitigating against redundant/late session closing 2014-05-21 16:34:59 +08:00
sebv
877b0db1c6 fixing jscs styling error 2014-05-13 19:03:17 +08:00
shyam
74fe080148 Misleading error message for a Valid Platform 2014-04-14 11:10:19 -07:00
Jonathan Lipps
318617819f change app-package and app-wait-package to appPackage and appWaitPackage 2014-04-10 15:20:24 -07:00
Jonathan Lipps
e5e30a8cd4 get rid of old device and version caps 2014-04-10 15:01:11 -07:00
Sergio Neves Barros
8292b71387 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 10:00:01 -07:00
Jonathan Lipps
b78c8ddfe9 remove 'mobile: getCommandTimeout' 2014-04-09 18:45:25 -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
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