kibana/test
Liza Katz 841ab704b8
[Search Sessions] Improve search session errors (#88613)
* 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>
2021-01-31 12:16:46 +02:00
..
accessibility [ML] Stabilize accessibility tests for data frame analytics pages (#89423) 2021-01-29 09:15:45 +00:00
api_integration [Search Sessions] Improve search session errors (#88613) 2021-01-31 12:16:46 +02:00
common Enable v2 so migrations, disable in FTR tests (#89297) 2021-01-27 12:13:15 +01:00
examples [examples] expressions explorer (#88344) 2021-01-22 19:52:47 +01:00
functional Fix flights sample data dashboard visualization (#89460) 2021-01-29 07:10:12 -07:00
harden Updating the License (#88343) 2021-01-19 17:52:56 -08:00
interpreter_functional [Visualizations] Changes in custom visualizations support (#88317) 2021-01-26 10:57:09 +03:00
new_visualize_flow Updating the License (#88343) 2021-01-19 17:52:56 -08:00
plugin_functional [Search Sessions] Improve session restoration back button (#87635) 2021-01-28 09:54:26 +01:00
scripts Revert "[CI] Combines Jest test jobs (#85850)" 2021-01-28 12:15:45 -06:00
security_functional Updating the License (#88343) 2021-01-19 17:52:56 -08:00
server_integration Updating the License (#88343) 2021-01-19 17:52:56 -08:00
typings Updating the License (#88343) 2021-01-19 17:52:56 -08:00
ui_capabilities/newsfeed_err Updating the License (#88343) 2021-01-19 17:52:56 -08:00
visual_regression [Vega] Use mapbox instead of leaflet (#88605) 2021-01-29 16:49:51 +03:00
tsconfig.json chore(NA): remove mocha junit ci integrations (#88129) 2021-01-15 21:17:25 +00:00