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:
Arturo Lidueña 2025-05-27 11:39:10 +02:00 committed by GitHub
parent a5b4d31683
commit 85efa38773
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 1 deletions

View file

@ -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

View file

@ -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'));
});
}

View file

@ -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',
},
});

View file

@ -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'));