elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.76k stars 8.16k forks source link

[Console] Add test to render supported response content types #130106

Open yuliacech opened 2 years ago

yuliacech commented 2 years ago

While reviewing #128922 I noticed that there is no tests to check for regressions with handling different content types: text, json and now also vector tile. We need to add a test, probably an CIT to check that all supported content type responses are being correctly rendered to the output. For example, GET _cat/indices returns a text response, GET _cat/indices?format=json returns a json response and get kibana_sample_data_logs/_mvt/geo.coordinates/0/0/0 returns a vector tile response.

Related to https://github.com/elastic/kibana/issues/98158 and https://github.com/elastic/kibana/issues/82389

elasticmachine commented 2 years ago

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

elasticmachine commented 2 weeks ago

Pinging @elastic/kibana-management (Team:Kibana Management)