31 lines
848 B
TypeScript
31 lines
848 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;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
|
|
|
|
import { services } from './services';
|
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
|
const functionalConfig = await readConfigFile(require.resolve('../functional/config'));
|
|
|
|
return {
|
|
...functionalConfig.getAll(),
|
|
|
|
testFiles: [
|
|
require.resolve('./tests/canvas'),
|
|
require.resolve('./tests/login_page'),
|
|
require.resolve('./tests/maps'),
|
|
require.resolve('./tests/infra'),
|
|
],
|
|
|
|
services,
|
|
|
|
junit: {
|
|
reportName: 'X-Pack Visual Regression Tests',
|
|
},
|
|
};
|
|
}
|