Conversation
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
dmlemeshko
left a comment
There was a problem hiding this comment.
Good change, but there is a space to make it better
LeeDr
left a comment
There was a problem hiding this comment.
I'm confused on what role(s) are required for this test. In the outer before method it's setting kibana_admin role, but in a inner before method it sets the role twice. This doesn't combine the two roles. If both roles are required they should be used in a comma-separated list.
describe('deletes API key(s)', function () {
before(async () => {
await security.testUser.setRoles(['kibana_admin']);
await security.testUser.setRoles(['test_api_keys']);
await pageObjects.common.navigateToApp('apiKeys');
});
|
Do we know where the api keys shown in the screenshot in #125275 (comment) came from? If they're from another test, we should probably find that test and add a cleanup step there. It's fine to have a cleanup step here as well. |
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Updated PR per nits but still says change requested. I think this is a GitHub bug.
* Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38)
* Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
1 similar comment
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
* Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38)
* Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38)
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
* Fixed API Key Tests (#127236) * Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38) * Fixed API Key Tests (#127236) * Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38) * Added explicity any to key because the type is not available yet.
* Fixed API Key Tests (#127236) * Added code to remove existing API keys before and after all tests. * Fixed delete function. * Fixing nits in PR. * Fixed test. * Removed await keywords per nits and broke out clearAllApiKeys() to a helper file. * Added types for typescript Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b887d38) * Added explicity any to key because the type is not available yet. Co-authored-by: John Dorlus <silne.dorlus@elastic.co>
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
2 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
3 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Closes #125275