2019-11-07 16:07:40 +01:00
|
|
|
/*
|
2021-01-20 02:52:56 +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
|
2021-02-04 03:12:39 +01:00
|
|
|
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
|
|
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
|
|
* Side Public License, v 1.
|
2019-11-07 16:07:40 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
import { FtrConfigProviderContext } from '@kbn/test/types/ftr';
|
|
|
|
import { services } from './services';
|
|
|
|
import { pageObjects } from './page_objects';
|
|
|
|
|
2020-05-22 09:08:58 +02:00
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
2019-11-07 16:07:40 +01:00
|
|
|
const functionalConfig = await readConfigFile(require.resolve('../functional/config'));
|
|
|
|
|
|
|
|
return {
|
|
|
|
...functionalConfig.getAll(),
|
|
|
|
|
|
|
|
testFiles: [
|
|
|
|
require.resolve('./apps/discover'),
|
2019-12-12 23:20:55 +01:00
|
|
|
require.resolve('./apps/dashboard'),
|
2020-04-02 00:20:47 +02:00
|
|
|
require.resolve('./apps/dashboard_panel'),
|
2019-12-12 23:20:55 +01:00
|
|
|
require.resolve('./apps/visualize'),
|
2019-11-07 16:07:40 +01:00
|
|
|
require.resolve('./apps/management'),
|
2020-02-18 23:44:25 +01:00
|
|
|
require.resolve('./apps/console'),
|
2019-11-07 16:07:40 +01:00
|
|
|
require.resolve('./apps/home'),
|
2020-09-30 15:34:24 +02:00
|
|
|
require.resolve('./apps/filter_panel'),
|
2020-10-13 22:07:46 +02:00
|
|
|
require.resolve('./apps/kibana_overview'),
|
2019-11-07 16:07:40 +01:00
|
|
|
],
|
|
|
|
pageObjects,
|
|
|
|
services,
|
|
|
|
|
|
|
|
junit: {
|
|
|
|
reportName: 'Accessibility Tests',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|