mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
## Summary Implements serverless tests for custom roles and multiple spaces as part of the feature flag test configs. We have implemented them here because the feature flags for custom roles and multiple space are not yet enabled in production. These tests are minimal because when custom roles and custom spaces are eventually be enabled in production, the full stateful test suites should be adapted to deployment agnostic tests if possible. ### API Integration Tests - x-pack/test_serverless/api_integration/test_suites/common/management/multiple_spaces_enabled.ts - x-pack/test_serverless/api_integration/test_suites/common/platform_security/roles_routes_feature_flag.ts ## Functional Tests - x-pack/test_serverless/functional/test_suites/common/platform_security/roles.ts - x-pack/test_serverless/functional/test_suites/common/spaces/multiple_spaces_enabled.ts ## Flaky Test Runners - API Integration Feature Flag tests: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6866 - Functional Feature Flag tests: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6867 --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
34 lines
1.5 KiB
TypeScript
34 lines
1.5 KiB
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 { commonFunctionalServices } from '@kbn/ftr-common-functional-services';
|
|
import { services as deploymentAgnosticServices } from '@kbn/test-suites-xpack/api_integration/deployment_agnostic/services';
|
|
import { SupertestProvider } from './supertest';
|
|
import { SvlCommonApiServiceProvider } from './svl_common_api';
|
|
import { SvlReportingServiceProvider } from './svl_reporting';
|
|
import { DataViewApiProvider } from './data_view_api';
|
|
import { PlatformSecurityUtilsProvider } from './platform_security_utils';
|
|
|
|
export type {
|
|
InternalRequestHeader,
|
|
RoleCredentials,
|
|
SupertestWithoutAuthProviderType,
|
|
} from '@kbn/ftr-common-functional-services';
|
|
|
|
const SupertestWithoutAuthProvider = commonFunctionalServices.supertestWithoutAuth;
|
|
|
|
export const services = {
|
|
supertest: SupertestProvider,
|
|
supertestWithoutAuth: SupertestWithoutAuthProvider,
|
|
svlCommonApi: SvlCommonApiServiceProvider,
|
|
svlReportingApi: SvlReportingServiceProvider,
|
|
svlUserManager: commonFunctionalServices.samlAuth,
|
|
samlAuth: commonFunctionalServices.samlAuth, // <--temp workaround until we can unify naming
|
|
roleScopedSupertest: deploymentAgnosticServices.roleScopedSupertest,
|
|
dataViewApi: DataViewApiProvider,
|
|
platformSecurityUtils: PlatformSecurityUtilsProvider,
|
|
};
|