f466ebf1a3
Co-authored-by: spalger <spalger@users.noreply.github.com>
40 lines
1.1 KiB
TypeScript
40 lines
1.1 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 { FtrConfigProviderContext } from '@kbn/test';
|
|
import { services, pageObjects } from './ftr_provider_context';
|
|
|
|
// eslint-disable-next-line import/no-default-export
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const kibanaFunctionalConfig = await readConfigFile(
|
|
require.resolve('../../functional/config.js')
|
|
);
|
|
|
|
return {
|
|
testFiles: [require.resolve('./tests')],
|
|
servers: {
|
|
...kibanaFunctionalConfig.get('servers'),
|
|
},
|
|
services,
|
|
pageObjects,
|
|
|
|
junit: {
|
|
reportName: 'X-Pack Saved Object Tagging Functional Tests',
|
|
},
|
|
|
|
esTestCluster: kibanaFunctionalConfig.get('esTestCluster'),
|
|
apps: {
|
|
...kibanaFunctionalConfig.get('apps'),
|
|
},
|
|
|
|
kbnTestServer: {
|
|
...kibanaFunctionalConfig.get('kbnTestServer'),
|
|
serverArgs: [...kibanaFunctionalConfig.get('kbnTestServer.serverArgs')],
|
|
},
|
|
};
|
|
}
|