2019-11-07 16:07:40 +01:00
|
|
|
/*
|
|
|
|
* 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';
|
|
|
|
import { pageObjects } from './page_objects';
|
|
|
|
|
|
|
|
export default async function({ readConfigFile }: FtrConfigProviderContext) {
|
|
|
|
const functionalConfig = await readConfigFile(require.resolve('../functional/config'));
|
|
|
|
|
|
|
|
return {
|
|
|
|
...functionalConfig.getAll(),
|
2020-05-07 20:16:06 +02:00
|
|
|
|
2020-04-03 20:29:32 +02:00
|
|
|
testFiles: [
|
|
|
|
require.resolve('./apps/login_page'),
|
|
|
|
require.resolve('./apps/home'),
|
|
|
|
require.resolve('./apps/grok_debugger'),
|
2020-05-07 20:16:06 +02:00
|
|
|
require.resolve('./apps/search_profiler'),
|
2020-04-03 20:29:32 +02:00
|
|
|
],
|
2019-11-07 16:07:40 +01:00
|
|
|
pageObjects,
|
|
|
|
services,
|
|
|
|
|
|
|
|
junit: {
|
|
|
|
reportName: 'X-Pack Accessibility Tests',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|