180 Commits
Author SHA1 Message Date
dan@saucelabs.com b165d60f9e 2.20.0 2018-01-12 15:18:54 -08:00
Dan Graham 281916ffee W3C remediations (#165)
* Fixed a defect in 'firstMatch' validation
  * Previously, it was validating the firstMatch capabilities and was failing on the first validation failure, which is a problem if firstMatch has a length > 1 and it fails before finding a potentially passing capabilities set is found
  * Now, it doesn't error-out on the first failure. If it fails, it skips over it to the next one until it finds one that passes and returns that.

* Altered the 'presence' constraint validation
  *  Don't validate 'presence' on 'alwaysMatch' because if a capability isn't present on 'alwaysMatch' it may be present in one of the 'firstMatch' capabilities
  *  Validate presence on all of the 'firstMatch' capabilities, except for the keys that are present in 'alwaysMatch'. If the key is in 'alwaysMatch', strip out the presence constraint because we know that it has passed already

* Changed the default protocol
  * If MJSONWP _and_ W3C are provided, initiate a W3C session by default. If clients are passing in W3C parameters to create a session, we can safely assume that they've implemented the rest of the W3C spec

* Improved error logging
  * If errors were found, show a message saying `Could not find matching capabilities: ${errors}` where `errors` are a list of all the validation error messages for each of the attempts to validate `firstMatch` caps
  * If `firstMatch` caps has a length of one, then don't show the message saying `Could not find matching capabilities` portion of it, just show the errors

* Other remediations
  * Allow `alwaysMatch` and `firstMatch` to be `null` or `undefined`
  * Added single quotes around names of capabilities when showing their errors
2018-01-10 10:37:11 -08:00
Isaac Murchie 81c28d8962 2.19.0 2018-01-02 08:42:33 -05:00
dan@saucelabs.com 3a576ed354 2.18.4 2017-12-22 13:34:37 -08:00
dan@saucelabs.com e758ac13c9 2.18.3 2017-12-22 13:21:41 -08:00
dan@saucelabs.com 6101dc0fae 2.18.2 2017-12-21 10:00:27 -08:00
dan@saucelabs.com ff254e122d 2.18.1 2017-12-20 15:15:03 -08:00
Isaac Murchie 619fc4bfb9 2.18.0 2017-12-19 09:02:27 -05:00
Isaac Murchie 9b6d4b041b 2.17.2 2017-12-18 07:33:05 -05:00
Isaac Murchie 23ddc3068b 2.17.1 2017-12-15 16:07:47 -05:00
dan@saucelabs.com c6a4e49843 2.17.0 2017-12-13 14:53:50 -08:00
dan@saucelabs.com ea62f58d6c 2.16.0 2017-11-21 13:57:52 +01:00
Dan Graham 308e560ca1 W3C Error Formatting (#145)
* Remember protocol requested in createSession
  * Also renamed 'processCaps' to 'processCapabilities'
  * Checks the parameters in 'createSession' and determines if it's W3C or MJSONWP
* Add W3C error format
  * Add W3C status codes to errors
  * When deciding error format to return in mjsonwp.js, check format and then return eitherJSONWP or W3C format
2017-11-21 04:54:39 -08:00
Isaac Murchie 50fc067b7e 2.15.9 2017-11-17 10:01:57 -05:00
Isaac Murchie 1e050d3df2 2.15.8 2017-11-16 07:27:23 -05:00
Isaac Murchie 6c6402de05 2.15.7 2017-10-13 09:05:33 -04:00
Isaac Murchie 9980a40f8e 2.15.6 2017-10-10 08:27:12 -04:00
Isaac Murchie 19dab313e3 2.15.5 2017-09-22 15:01:41 -04:00
Isaac Murchie fc5cc08482 2.15.4 2017-09-22 14:50:00 -04:00
Isaac Murchie 6960463b64 2.15.3 2017-09-11 07:33:27 -04:00
Isaac A. Murchie 4d47b73c3d Add static page with app banner (#138) 2017-09-11 07:32:29 -04:00
Isaac Murchie 4052adea2c 2.15.2 2017-08-21 12:47:24 -04:00
Isaac Murchie 6f055a541d Update gulp plugins 2017-08-21 12:46:32 -04:00
Isaac Murchie 88affc5289 2.15.1 2017-08-21 09:56:24 -04:00
Isaac Murchie 842ec9da5d Fix pre commit tests 2017-08-21 09:55:45 -04:00
Jonathan Lipps 31b5e0e577 2.15.0 2017-08-18 14:44:27 -07:00
Isaac Murchie 064d7d0e3c 2.14.0 2017-08-16 14:36:26 -04:00
Isaac Murchie 4adf86886a 2.13.0 2017-08-15 09:08:36 -04:00
Isaac A. Murchie 01e9914b66 Update linting and add coverage (#131) 2017-08-15 08:53:47 -04:00
Isaac Murchie 78acb13716 2.12.0 2017-08-08 16:53:48 -04:00
Isaac Murchie eb5168dde0 2.11.1 2017-08-01 16:13:42 -04:00
Isaac Murchie cc5e552ded 2.11.0 2017-07-19 07:40:10 -04:00
Isaac Murchie 47a9e09715 2.10.2 2017-07-07 07:25:44 -04:00
Jonathan Lipps 1cda12062f 2.10.1 2017-06-15 15:21:32 -07:00
Isaac Murchie 539755e07c 2.10.0 2017-06-15 07:07:50 -04:00
Isaac Murchie c25db6a453 2.9.0 2017-05-30 11:13:43 -04:00
Isaac Murchie c357f4e3ef 2.8.1 2017-05-18 11:31:00 -04:00
Isaac Murchie c74276dfae 2.8.0 2017-04-27 15:11:19 -04:00
Dan Graham 0bf5acbd52 Removed adm-zip (#118)
* Added a test for unzipFile (which uses adm-zip)
* Tested that it worked with adm-zip and then failed once adm-zip was taken out
* Replaced 'adm-zip' with zip.extractAllTo from appium-supprt
2017-04-26 17:55:46 -07:00
Isaac Murchie b7bd90aa53 2.7.1 2017-03-29 13:00:55 -04:00
Isaac Murchie 94a1ca042a 2.7.0 2017-03-23 07:31:40 -04:00
Isaac Murchie dc4dd7ea48 2.6.0 2017-03-22 18:54:34 -04:00
Jonathan Lipps 8c0e07db4d 2.5.0 2017-03-16 09:50:34 -07:00
Jonathan Lipps 1bc5e67715 2.4.1 2017-03-03 14:52:59 -08:00
Jonathan Lipps 37ca9d44a6 2.4.0 2017-03-03 14:37:31 -08:00
Isaac Murchie f027310ba4 2.3.0 2017-02-21 08:50:02 -05:00
Isaac Murchie a3a557affe 2.2.0 2017-02-15 07:39:41 -05:00
Jonathan Lipps 7fe6609952 2.1.7 2017-02-02 11:53:04 -08:00
Jonathan Lipps 28fdedc801 2.1.6 2017-01-31 14:18:31 -08:00
Jonathan Lipps a6ac75ece8 2.1.5 2017-01-23 10:40:40 -08:00