2020-04-16 22:20:16 +02:00
|
|
|
/*
|
|
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
2021-02-04 03:12:39 +01:00
|
|
|
* 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.
|
2020-04-16 22:20:16 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
|
|
|
|
|
2020-05-22 09:08:58 +02:00
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
2020-06-05 08:11:58 +02:00
|
|
|
const xPackAPITestsConfig = await readConfigFile(require.resolve('../api_integration/config.ts'));
|
2020-04-16 22:20:16 +02:00
|
|
|
|
|
|
|
return {
|
|
|
|
...xPackAPITestsConfig.getAll(),
|
|
|
|
testFiles: [require.resolve('./apis')],
|
|
|
|
junit: {
|
|
|
|
reportName: 'X-Pack Endpoint API Integration Without Ingest Tests',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|