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(),
|
2021-10-06 20:39:17 +02:00
|
|
|
testFiles: [require.resolve('./apps')],
|
2019-11-20 21:34:47 +01:00
|
|
|
pageObjects,
|
|
|
|
services,
|
|
|
|
|
|
|
|
junit: {
|
|
|
|
reportName: 'Accessibility Tests',
|
|
|
|
},
|
|
|
|
};
|
|
|
|
}
|