kibana/test
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
..
accessibility [ML] Stabilize accessibility tests for data frame analytics pages (#89423) (#89691) 2021-01-29 11:05:29 +00:00
api_integration [Search Sessions] Improve search session errors (#88613) (#89823) 2021-01-31 17:13:06 +02:00
common [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
examples [examples] expressions explorer (#88344) (#89065) 2021-01-23 06:29:13 +01:00
functional [7.x] Fix flights sample data dashboard visualization (#89460) (#89724) 2021-01-29 11:05:56 -07:00
harden [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
interpreter_functional [Visualizations] Changes in custom visualizations support (#88317) (#89266) 2021-01-26 13:02:07 +03:00
new_visualize_flow [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
plugin_functional [Search Sessions] Improve session restoration back button (#87635) (#89532) 2021-01-28 11:44:04 +01:00
scripts [7.x] [kbn/pm] throw an error if package doesn't have a script (#89438) (#89462) 2021-01-29 11:48:28 -07:00
security_functional [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
server_integration [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
typings [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
ui_capabilities/newsfeed_err [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
visual_regression [7.x] Updating the License (#88343) (#88745) 2021-01-19 17:54:11 -08:00
tsconfig.json chore(NA): remove mocha junit ci integrations (#88129) (#88534) 2021-01-16 00:01:29 +00:00