Add tests for Console's autocomplete #136056
Labels
Feature:Console
Dev Tools Console Feature
Feature:Dev Tools
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
test-coverage
issues & PRs for improving code test coverage
Summary
Let's add functional tests to document and verify autocomplete behavior in Console:
Autocomplete behavior
HTTP methods
Console autocomplete will suggest HTTP methods POST, GET, etc.
ES API endpoints
Console autocomplete will suggest different endpoints based on the method you've used and any input you've typed. Some users have complained that this matching logic is too liberal (#13361).
JSON autocompletion with placeholder fields
Autocomplete also works for the JSON body, and will complete with nested JSON objects with placeholder field names.
Dynamic autocomplete
Console can suggest indices, fields, and other things that the user has created. So we need the ability to update the autocomplete rules during run-time. In the example below, "test" is an index the user created.
The text was updated successfully, but these errors were encountered: