Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.17] [API keys] Improve functional tests for API keys management pa…
…ge (#200110) (#201206) # Backport This will backport the following commits from `main` to `8.17`: - [[API keys] Improve functional tests for API keys management page (#200110)](#200110) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sid","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T14:15:13Z","message":"[API keys] Improve functional tests for API keys management page (#200110)\n\nCloses https://github.com/elastic/kibana/issues/200756\r\n\r\n## Summary\r\n\r\nEnhance existing functional tests for API Keys querying to test filters\r\nand toggles while querying API keys.\r\n\r\n### Notes\r\n\r\nThe following tests were added:\r\n\r\n- Toggling the following filters displays the correct keys\r\n - Personal, Managed, Cross cluster types\r\n - Active or expired keys\r\n- Filtering by username by clicking the dropdown list\r\n- Added test for querying using the search bar **but it is skipped** for\r\nnow as we'd like to fix the behavior. Tracked by\r\nhttps://github.com//issues/195795\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios=\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_node:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"889ce000eb18bf60d3dc65ec0b39dbf705c7184b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","Team:Security","Feature:Users/Roles/API Keys","release_note:skip","v9.0.0","backport:prev-major"],"title":"[API keys] Improve functional tests for API keys management page","number":200110,"url":"https://github.com/elastic/kibana/pull/200110","mergeCommit":{"message":"[API keys] Improve functional tests for API keys management page (#200110)\n\nCloses https://github.com/elastic/kibana/issues/200756\r\n\r\n## Summary\r\n\r\nEnhance existing functional tests for API Keys querying to test filters\r\nand toggles while querying API keys.\r\n\r\n### Notes\r\n\r\nThe following tests were added:\r\n\r\n- Toggling the following filters displays the correct keys\r\n - Personal, Managed, Cross cluster types\r\n - Active or expired keys\r\n- Filtering by username by clicking the dropdown list\r\n- Added test for querying using the search bar **but it is skipped** for\r\nnow as we'd like to fix the behavior. Tracked by\r\nhttps://github.com//issues/195795\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios=\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_node:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"889ce000eb18bf60d3dc65ec0b39dbf705c7184b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200110","number":200110,"mergeCommit":{"message":"[API keys] Improve functional tests for API keys management page (#200110)\n\nCloses https://github.com/elastic/kibana/issues/200756\r\n\r\n## Summary\r\n\r\nEnhance existing functional tests for API Keys querying to test filters\r\nand toggles while querying API keys.\r\n\r\n### Notes\r\n\r\nThe following tests were added:\r\n\r\n- Toggling the following filters displays the correct keys\r\n - Personal, Managed, Cross cluster types\r\n - Active or expired keys\r\n- Filtering by username by clicking the dropdown list\r\n- Added test for querying using the search bar **but it is skipped** for\r\nnow as we'd like to fix the behavior. Tracked by\r\nhttps://github.com//issues/195795\r\n\r\n### Checklist\r\n\r\nCheck the PR satisfies following conditions. \r\n\r\nReviewers should verify this PR satisfies this list as well.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios=\r\n- [ ] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_node:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n---------\r\n\r\nCo-authored-by: Elastic Machine <[email protected]>","sha":"889ce000eb18bf60d3dc65ec0b39dbf705c7184b"}}]}] BACKPORT--> Co-authored-by: Sid <[email protected]> Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information