Snapshot & Restore uses server side pagination, sorting and search in snapshots table implemented in #110266. It's crucial that Kibana server code correctly uses Elasticsearch Get snapshot API. The API integration tests for this can be found https://github.com/elastic/kibana/tree/master/x-pack/test/api_integration/apis/management/snapshot_restore, but they are difficult to read and reason about (several snapshots, repositories and SLM policies need to be created to test pagination, sorting and search). @cjcenizal had a great idea (comment) of using concrete examples to make these tests more readable.
Snapshot & Restore uses server side pagination, sorting and search in snapshots table implemented in #110266. It's crucial that Kibana server code correctly uses Elasticsearch Get snapshot API. The API integration tests for this can be found https://github.com/elastic/kibana/tree/master/x-pack/test/api_integration/apis/management/snapshot_restore, but they are difficult to read and reason about (several snapshots, repositories and SLM policies need to be created to test pagination, sorting and search). @cjcenizal had a great idea (comment) of using concrete examples to make these tests more readable.