mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Stateful Deployment-Agnostic FTR Config for AI Assistant (#221469)
Closes [#221468](https://github.com/elastic/kibana/issues/221468) ## Summary Create a Dedicated Stateful Deployment-Agnostic FTR Config for AI Assistant
This commit is contained in:
parent
a5b4d31683
commit
85efa38773
4 changed files with 29 additions and 1 deletions
|
@ -48,3 +48,4 @@ enabled:
|
|||
# stateful configs that run deployment-agnostic tests
|
||||
- x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts
|
||||
- x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.apm.stateful.config.ts
|
||||
- x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.ai_assistant.stateful.config.ts
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* 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 { DeploymentAgnosticFtrProviderContext } from '../../ftr_provider_context';
|
||||
|
||||
export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext) {
|
||||
describe('Stateful Observability - Deployment-agnostic AI Assistant API integration tests', function () {
|
||||
loadTestFile(require.resolve('../../apis/observability/ai_assistant'));
|
||||
});
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* 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 { createStatefulTestConfig } from '../../default_configs/stateful.config.base';
|
||||
|
||||
export default createStatefulTestConfig({
|
||||
testFiles: [require.resolve('./oblt.ai_assistant.index.ts')],
|
||||
junit: {
|
||||
reportName: 'Stateful Observability - Deployment-agnostic API Integration Tests',
|
||||
},
|
||||
});
|
|
@ -15,7 +15,6 @@ export default function ({ loadTestFile }: DeploymentAgnosticFtrProviderContext)
|
|||
loadTestFile(require.resolve('../../apis/observability/slo'));
|
||||
loadTestFile(require.resolve('../../apis/observability/synthetics'));
|
||||
loadTestFile(require.resolve('../../apis/observability/infra'));
|
||||
loadTestFile(require.resolve('../../apis/observability/ai_assistant'));
|
||||
loadTestFile(require.resolve('../../apis/observability/streams'));
|
||||
loadTestFile(require.resolve('../../apis/observability/onboarding'));
|
||||
loadTestFile(require.resolve('../../apis/observability/incident_management'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue