550 Commits
Author SHA1 Message Date
Isaac Murchie 5face22c10 3.3.0 v3.3.0 2018-07-25 09:30:34 -04:00
Mykola Mokhnach dfae5caf62 Properly handle MJSONWP responses with non-zero status and return code < 400 (#240)
* Properly handle MJSONWP responses with non-zero status and return code < 400

* code 500 looks more appopriate

* Optimize downstream protocol detection

* Update the unit test

* Update errors handling inside proxyReqRes

* Improve the condition
2018-07-25 08:34:45 +02:00
Isaac A. Murchie 2bb0be7ad9 Fix handling of proxy url (#239)
* Fix handling of proxy url

* Allow no base in original proxy url
2018-07-24 15:45:22 -04:00
Mykola Mokhnach 6c81d550d9 Try to fix the destination URL if the upstream and downstream drivers operate different protocols (#238)
* Try to fix the destination URL if the upstream and downstream drivers operate different procotols

* detect route name in smarter manner

* Fix command name extraction

* consider the situation where url is equal to the endpoint

* Simplify helper functions

* Refactor command name extraction

* Refactor urls fixing

* Cache downstream procotol

* speed up downstream protocol detection

* Address comments

* Minor tunings
2018-07-24 15:25:31 +02:00
greenkeeper[bot] 87a64b7e7c fix(package): update ws to version 6.0.0 (#237) 2018-07-23 08:52:47 -04:00
Isaac Murchie 4b92c72db2 3.2.0 v3.2.0 2018-07-20 12:19:43 -04:00
Isaac Murchie ff7320d355 Revert 0fd07f9332 2018-07-20 12:19:03 -04:00
Isaac Murchie 89dedf8d5c 3.1.0 v3.1.0 2018-07-19 09:27:04 -07:00
Isaac A. Murchie 0fd07f9332 Add base to regexp for original proxy url (#236)
* Add base to regexp for original proxy url

* Add test
2018-07-19 09:26:31 -07:00
Isaac A. Murchie f0bb198d7d Remove list of possible values for platformName cap (#233) 2018-07-12 09:15:23 -04:00
greenkeeper[bot] 3f7ec4776a fix(package): update method-override to version 3.0.0 (#234) 2018-07-12 09:14:45 -04:00
Dan Graham c6c56093f5 Handle /timeouts W3C + MJSONWP proxying (#231) 2018-07-11 09:05:01 -07:00
Dan Graham ae21c08248 Log typos (#232) 2018-07-06 19:05:12 -07:00
Isaac Murchie c55754de72 3.0.1 v3.0.1 2018-06-29 16:27:41 -04:00
Isaac Murchie d98c9afe2b Fix reset tests 2018-06-29 16:26:56 -04:00
Isaac Murchie 9330be607d 3.0.0 v3.0.0 2018-06-29 13:04:34 -04:00
Isaac A. Murchie 5f318b4eef Remove list of valid automation names (#229) 2018-06-29 11:02:08 -04:00
Mykola Mokhnach 94522d13be Log errors, which happens during caps merging (#228) 2018-06-27 22:04:04 +02:00
flyofsky 89da842132 Add Tizen tag in desired-caps.js for supporting Tizen (#1) (#227) 2018-06-25 12:52:18 -04:00
dan@saucelabs.com afc5c7adb5 2.33.0 v2.33.0 2018-06-24 06:31:24 -07:00
Dan Graham 850ab93833 Fix: Add 'app' cap to reset tests (#226)
* This test worked fine in base driver but these tests also run in fake driver and don't work beause `app ` is a required capability
* Added `app=fake` to caps
2018-06-23 18:58:38 -07:00
Isaac A. Murchie 87d2f9b672 Fix reset tests for importation (#224) 2018-06-12 07:49:21 -04:00
Kazuaki Matsuo f4b89448d6 add format in deviveTime as a parameter (#225) 2018-06-12 07:59:39 +09:00
greenkeeper[bot] c5cc644098 chore(package): update sinon to version 6.0.0 (#223) 2018-06-11 08:52:05 -04:00
Jonathan Lipps f7c4829111 2.32.2 v2.32.2 2018-06-10 10:58:45 -07:00
Jonathan Lipps cf11eedf7d Merge pull request #222 from appium/jlipps-instanceof
use safer error type check
2018-06-10 10:58:20 -07:00
Jonathan Lipps 1b63101ca9 use safer error type check 2018-06-10 10:50:50 -07:00
Mykola Mokhnach 165543e16d Avoid throwing proxy request error inside command call (#220)
* Avoid throwing proxy request error inside command call

* Tune stacktrace handling for W3C

* Fix var name

* Apply safer check

* Tune the verification
2018-06-08 19:49:41 +02:00
dan@saucelabs.com 9f1dd2ef18 2.32.1 v2.32.1 2018-06-07 13:18:08 -07:00
Dan Graham f72dc5a3ac Fix: Make 'reset' re-use same protocol (#219)
* Before, reset was creating a new session and using the processed caps
* The problem with is, if it was W3C it would create a MJSONWP
* Now it checks the protocol before resetting and passes in the appropriate args to createSession depending on the protocol type
2018-06-07 13:15:28 -07:00
Isaac Murchie ac5386def7 2.32.0 v2.32.0 2018-06-07 09:44:03 -04:00
Mykola Mokhnach bd398761dc Fix sending of commands by JWProxy class (#218) 2018-06-07 06:47:00 +02:00
greenkeeper[bot] 8439803500 Update dependencies to enable Greenkeeper 🌴 (#216)
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* chore: adapt code to updated dependencies
2018-06-04 14:48:50 -04:00
Mykola Mokhnach 72dd453b9a Enforce UTF-8 encoding on request headers (#214)
* Enforce UTF-8 encoding on request headers

* Return all headers in lowercase as per HTTP/2 requirement
2018-05-29 07:15:23 +02:00
Isaac Murchie aeec08a08a 2.31.0 v2.31.0 2018-05-22 09:03:10 -04:00
Isaac A. Murchie 2e0b162331 Check for proxied error (#212)
* Check for proxied error

* Fix issue
2018-05-22 09:00:02 -04:00
dan@saucelabs.com 3ebd427d6b 2.30.1 v2.30.1 2018-05-14 08:38:04 -07:00
Dan Graham a74d25cb1e Fix: Throw error after parsing protocol from proxied response (#211)
* Before it was throwing immediately which meant we weren't parsing the protocol and weren't showing the proper error responses
* If proxied W3C error doesn't have an error, make it `Unknown Error`
2018-05-14 08:36:49 -07:00
Dan Graham 8890bef9f1 Use protocol-specific logger (#209) 2018-05-12 11:20:21 -07:00
Isaac Murchie 937392dcbf 2.30.0 v2.30.0 2018-05-08 11:29:37 -04:00
Isaac Murchie 074e27f6e0 Update mock-fs so node 10 tests work 2018-05-08 11:28:17 -04:00
Mykola Mokhnach 0765c92d7b Add an optional flags parameter to press_key_code endpoint (#208) 2018-05-07 18:29:21 +02:00
Isaac Murchie 264c02e7e8 2.29.1 v2.29.1 2018-05-07 09:33:11 -04:00
Mykola Mokhnach 700017fccf Add missing await (#207) 2018-05-06 08:03:05 +02:00
Isaac Murchie 9c02302328 2.29.0 v2.29.0 2018-04-27 11:08:27 -04:00
Isaac A. Murchie 1f87d0e289 Update dependencies (#206)
* Update deps

* Fix a couple of tests

* Fix protocol tests

* Fix timeout in helper and protocol tests
2018-04-27 11:08:08 -04:00
Isaac Murchie 82d38f8c52 2.28.0 v2.28.0 2018-04-20 12:43:19 -04:00
Mykola Mokhnach 6311b34615 Add an universal endpoint for images comparison (#203)
* Add an universal endpoint for images comparison

* Rename arguments

* Add documentation

* Raise appium-support version
2018-04-19 15:53:15 +02:00
Isaac Murchie 3b17f6a7ed Remove query string from attempt to find route 2018-04-19 06:53:01 -04:00
Mykola Mokhnach 3f14e5f3b3 Publish the path to static resources root (#204) 2018-04-19 07:09:09 +02:00