2019-11-20 21:34:47 +01:00
|
|
|
/*
|
2021-01-20 02:54:11 +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:39:13 +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-20 21:34:47 +01:00
|
|
|
*/
|
|
|
|
|
2021-05-17 20:49:48 +02:00
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
2019-11-20 21:34:47 +01:00
|
|
|
import { services } from './services';
|
|
|
|
import { pageObjects } from './page_objects';
|
|
|
|
|
2020-05-22 10:08:13 +02:00
|
|
|
export default async function ({ readConfigFile }: FtrConfigProviderContext) {
|
2019-11-20 21:34:47 +01:00
|
|
|
const functionalConfig = await readConfigFile(require.resolve('../functional/config'));
|
|
|
|
|
|
|
|
return {
|
|
|
|
...functionalConfig.getAll(),
|
|
|
|
|
|
|
|
testFiles: [
|
|
|
|
require.resolve('./apps/discover'),
|
2019-12-13 17:14:00 +01:00
|
|
|
require.resolve('./apps/dashboard'),
|
2020-04-02 02:02:40 +02:00
|
|
|
require.resolve('./apps/dashboard_panel'),
|
2019-12-13 17:14:00 +01:00
|
|
|
require.resolve('./apps/visualize'),
|
2019-11-20 21:34:47 +01:00
|
|
|
require.resolve('./apps/management'),
|
2020-02-19 06:56:07 +01:00
|
|
|
require.resolve('./apps/console'),
|
2019-11-20 21:34:47 +01:00
|
|
|
require.resolve('./apps/home'),
|
2020-09-30 18:29:05 +02:00
|
|
|
require.resolve('./apps/filter_panel'),
|
2020-10-15 19:45:18 +02:00
|
|
|
require.resolve('./apps/kibana_overview'),
|
2019-11-20 21:34:47 +01:00
|
|
|
],
|
|
|
|
pageObjects,
|
|
|
|
services,
|
|
|
|
|
|
|
|
junit: {
|
|
|
|
reportName: 'Accessibility Tests',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|