kibana/x-pack/test/functional/config.upgrade_assistant.ts
2025-05-05 12:55:47 +02:00

31 lines
907 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 { FtrConfigProviderContext } from '@kbn/test';
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
const functionalConfig = await readConfigFile(require.resolve('./config.base.js'));
return {
...functionalConfig.getAll(),
testFiles: [require.resolve('./apps/upgrade_assistant')],
junit: {
reportName: 'Chrome X-Pack UI Upgrade Assistant Functional Tests',
},
suiteTags: {
include: ['upgradeAssistant'],
},
esTestCluster: {
...functionalConfig.get('esTestCluster'),
serverArgs: ['path.repo=/tmp/', 'xpack.security.authc.api_key.enabled=true'],
},
};
}