-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FTR] Skipped basic license tests for FIPS (#208916)
## Summary All tests in `deployment_agnostic/security_and_spaces/stateful.config_basic.ts` and `deployment_agnostic/security_and_spaces/stateful.copy_to_space.config_basic.ts` are intended to be run only with `basic` license, since FIPS overrides it we need to skip that test for FIPS. Separated index entries for `basic` and `trial` license, so tests with trial config would still run. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information
1 parent
b62dff1
commit 9120c36
Showing
10 changed files
with
50 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...api_integration/deployment_agnostic/security_and_spaces/apis/copy_to_space/index_trial.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* 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 type { DeploymentAgnosticFtrProviderContext } from '../../../ftr_provider_context'; | ||
|
||
export default function ({ loadTestFile, getService }: DeploymentAgnosticFtrProviderContext) { | ||
describe('spaces api with security', function () { | ||
// Should be enabled when custom roles can be provisioned for MKI | ||
// See: https://github.com/elastic/kibana/issues/207361 | ||
this.tags('skipMKI'); | ||
|
||
loadTestFile(require.resolve('./copy_to_space')); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...k/test/spaces_api_integration/deployment_agnostic/security_and_spaces/apis/index_trial.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* | ||
* 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 type { DeploymentAgnosticFtrProviderContext } from '../../ftr_provider_context'; | ||
|
||
export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext) { | ||
describe('spaces api with security', function () { | ||
this.tags('skipMKI'); | ||
|
||
loadTestFile(require.resolve('./resolve_copy_to_space_conflicts')); | ||
loadTestFile(require.resolve('./create')); | ||
loadTestFile(require.resolve('./delete')); | ||
loadTestFile(require.resolve('./get_all')); | ||
loadTestFile(require.resolve('./get')); | ||
loadTestFile(require.resolve('./update')); | ||
}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters