kibana/test/api_integration
Liza Katz 6340c7843c
[Search Sessions] Improve search session errors (#88613) (#89823)
* Detect ESError correctly
Fix bfetch error (was recognized as unknown error)
Make sure handleSearchError always returns an error object.

* fix tests and improve types

* type

* normalize search error response format for search and bsearch

* type

* Added es search exception examples

* Normalize and validate errors thrown from oss es_search_strategy
Validate abort

* Added tests for search service error handling

* Update msearch tests to test for errors

* Moved bsearch route to routes folder
Adjusted bsearch response format
Added verification of error's root cause

* Align painless error object

* eslint

* Add to seach interceptor tests

* add json to tsconfig

* docs

* updated xpack search strategy tests

* oops

* license header

* Add test for xpack painless error format

* doc

* Fix bsearch test potential flakiness

* code review

* fix

* code review 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-31 17:13:06 +02:00
..
apis [Search Sessions] Improve search session errors (#88613) (#89823) 2021-01-31 17:13:06 +02:00
fixtures [7.x] [Telemetry] Introduce UI Counters (#84224) (#85038) 2020-12-04 19:55:54 +02:00
services [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
config.js [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
ftr_provider_context.d.ts [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00