Refactor keyset pagination specs
What does this MR do and why?
This MR refactors tests for keyset pagination for REST api. It adds a new matcher include_keyset_url_params
(which is similar to include_pagination_headers
we have for offset pagination) and extract the keyset pagination specs to shared examples.
It also adds keyset pagination specs for all supported resources.
I will add keyset pagination support for /user
endpoint and it would be nice to just reuse existing shared examples.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.