open-consul/ui-v2/tests
John Cowen 7903512b26
UI - Refactor Adapter.handleResponse (#4398)
* Add some tests to check the correct GET API endpoints are called

* Refactor adapters

1. Add integration tests for `urlFor...` and majority `handleResponse` methods
2. Refactor out `handleResponse` a little more into single/batch/boolean
methods
3. Move setting of the `Datacenter` property into the `handleResponse`
method, basically the same place that the uid is being set using the dc
parsed form the URL
4. Add some Errors for if you don't pass ids to certain `urlFor` methods
2018-07-30 17:55:44 +01:00
..
acceptance UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
helpers UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
integration UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
lib/page-object Basic acceptance testing for navigating via cancel buttons 2018-07-04 18:39:15 +01:00
pages Acceptance test for searching service by tag 2018-07-18 18:13:18 +01:00
unit UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
index.html
pages.js Basic acceptance testing for navigating via cancel buttons 2018-07-04 18:39:15 +01:00
steps.js UI - Refactor Adapter.handleResponse (#4398) 2018-07-30 17:55:44 +01:00
test-helper.js