mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
# Backport This will backport the following commits from `main` to `8.16`: - [[ML] API tests for ML's _has_privileges (#197274)](https://github.com/elastic/kibana/pull/197274) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"James Gowdy","email":"jgowdy@elastic.co"},"sourceCommit":{"committedDate":"2024-10-23T07:57:46Z","message":"[ML] API tests for ML's _has_privileges (#197274)\n\nCalls ML's `_has_privileges` endpoint with various users.\r\nAlso ensures upgrade mode status is correctly returned.","sha":"fc812e33d85691d76e657f8056b18d79a9f860b1","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["non-issue",":ml","release_note:skip","v9.0.0","v8.16.0","backport:version","v8.17.0"],"title":"[ML] API tests for ML's _has_privileges","number":197274,"url":"https://github.com/elastic/kibana/pull/197274","mergeCommit":{"message":"[ML] API tests for ML's _has_privileges (#197274)\n\nCalls ML's `_has_privileges` endpoint with various users.\r\nAlso ensures upgrade mode status is correctly returned.","sha":"fc812e33d85691d76e657f8056b18d79a9f860b1"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197274","number":197274,"mergeCommit":{"message":"[ML] API tests for ML's _has_privileges (#197274)\n\nCalls ML's `_has_privileges` endpoint with various users.\r\nAlso ensures upgrade mode status is correctly returned.","sha":"fc812e33d85691d76e657f8056b18d79a9f860b1"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: James Gowdy <jgowdy@elastic.co>
19 lines
747 B
TypeScript
19 lines
747 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrProviderContext } from '../../../ftr_provider_context';
|
|
|
|
export default function ({ loadTestFile }: FtrProviderContext) {
|
|
describe('system', function () {
|
|
loadTestFile(require.resolve('./capabilities'));
|
|
loadTestFile(require.resolve('./space_capabilities'));
|
|
loadTestFile(require.resolve('./index_exists'));
|
|
loadTestFile(require.resolve('./info'));
|
|
loadTestFile(require.resolve('./node_count'));
|
|
loadTestFile(require.resolve('./has_privileges'));
|
|
});
|
|
}
|