Commit Graph

24 Commits

Author SHA1 Message Date
Jonathan Lipps fd24d65ffe make sure caps are sanitized (fix #2103) 2014-03-20 16:58:03 -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 52a625388e add some negative tests for device extraction 2014-03-04 12:02:34 -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 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
sebv 88479e04fa reshuffling tests 2014-02-07 12:51:20 +08:00
sebv 968576af3d jshinting with white=true 2014-01-30 16:58:19 +08:00
sebv 6695dfe5fb Refactored tests to use wd promise-chain api 2014-01-14 04:31:19 +08:00
Jonathan Lipps 16c45f446d allow periods in xpath nodes (fix #881) 2013-11-18 11:48:54 -08:00
Jonathan Lipps 45f47c6610 update unit test to reflect new mock ios 2013-11-14 18:20:17 -08:00
Jonathan Lipps b537c4ae71 remove confusing multiple session handling code
it doesn't actually do anything and was cruft
also, make session overriding non-default based on the mobile
JSONWP discussions
2013-10-28 11:39:50 -07:00
Jonathan Lipps 64f5619331 move uiauto stuff into ios/ and extract status and xpath libs 2013-10-17 12:33:48 -07:00
Jonathan Lipps f673ec3044 merge ios-related files in devices 2013-10-17 12:33:48 -07:00
Jonathan Lipps ff5bf6b4cc put devices in their own place 2013-10-17 10:30:11 -07:00
Jonathan Lipps 3eee9d8a61 move code into lib/ like a normal node project 2013-10-17 10:30:10 -07:00
Jonathan Lipps d8b696d5ce move unit tests into the test/ directory where tests belong 2013-10-17 10:30:08 -07:00
jeremy avnet b1f5bb4922 have grunt lint use js strict mode and fix up the codebase to pass 2013-01-15 11:43:08 -08:00
jeremy avnet b53f6ce071 added missing semicolons 2013-01-14 16:51:17 -08:00
Adam Christian 1c733fd067 More boilerplating of the things 2013-01-10 18:21:50 -08:00
Adam Christian aa218d870e More boiler 2013-01-10 14:03:16 -08:00