2019-11-07 16:07:40 +01: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.
|
2019-11-07 16:07:40 +01:00
|
|
|
*/
|
|
|
|
|
2021-05-17 18:51:53 +02:00
|
|
|
import { FtrConfigProviderContext } from '@kbn/test';
|
2019-11-07 16:07:40 +01:00
|
|
|
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(),
|
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'),
|
2021-02-17 17:18:20 +01:00
|
|
|
require.resolve('./apps/kibana_overview'),
|
2020-04-03 20:29:32 +02:00
|
|
|
require.resolve('./apps/grok_debugger'),
|
2020-05-07 20:16:06 +02:00
|
|
|
require.resolve('./apps/search_profiler'),
|
2020-05-08 15:56:58 +02:00
|
|
|
require.resolve('./apps/uptime'),
|
2020-09-09 16:26:53 +02:00
|
|
|
require.resolve('./apps/spaces'),
|
2020-09-29 21:54:22 +02:00
|
|
|
require.resolve('./apps/advanced_settings'),
|
2020-09-22 22:36:52 +02:00
|
|
|
require.resolve('./apps/dashboard_edit_panel'),
|
2020-10-05 17:09:14 +02:00
|
|
|
require.resolve('./apps/users'),
|
2020-10-08 18:28:43 +02:00
|
|
|
require.resolve('./apps/roles'),
|
2020-12-10 21:33:58 +01:00
|
|
|
require.resolve('./apps/ingest_node_pipelines'),
|
2021-01-29 10:22:56 +01:00
|
|
|
require.resolve('./apps/index_lifecycle_management'),
|
2021-01-15 17:59:31 +01:00
|
|
|
require.resolve('./apps/ml'),
|
2021-03-03 12:41:44 +01:00
|
|
|
require.resolve('./apps/transform'),
|
2021-01-20 16:44:59 +01:00
|
|
|
require.resolve('./apps/lens'),
|
2021-02-09 01:08:15 +01:00
|
|
|
require.resolve('./apps/upgrade_assistant'),
|
2021-02-18 18:43:24 +01:00
|
|
|
require.resolve('./apps/canvas'),
|
2021-03-25 20:05:23 +01:00
|
|
|
require.resolve('./apps/security_solution'),
|
2021-03-26 19:10:19 +01:00
|
|
|
require.resolve('./apps/ml_embeddables_in_dashboard'),
|
2021-04-20 08:51:28 +02:00
|
|
|
require.resolve('./apps/remote_clusters'),
|
2020-04-03 20:29:32 +02:00
|
|
|
],
|
2020-09-22 22:36:52 +02:00
|
|
|
|
2019-11-07 16:07:40 +01:00
|
|
|
pageObjects,
|
|
|
|
services,
|
|
|
|
|
|
|
|
junit: {
|
|
|
|
reportName: 'X-Pack Accessibility Tests',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|