import { resolve } from 'path' ; import { FtrConfigProviderContext } from '@kbn/test' ; import { services } from '../functional/services' ; export default async function ( { readConfigFile } ) { const xpackFunctionalConfig = await readConfigFile ( require . resolve ( '../functional/config' ) ) ; return { ... xpackFunctionalConfig . getAll ( ) , junit : { reportName : 'X-Pack Search Sessions Integration' , } , testFiles : [ resolve ( __dirname , './tests/apps/dashboard/async_search' ) , resolve ( __dirname , './tests/apps/dashboard/session_sharing' ) , resolve ( __dirname , './tests/apps/discover' ) , resolve ( __dirname , './tests/apps/lens' ) , resolve ( __dirname , './tests/apps/management/search_sessions' ) , ] , kbnTestServer : { ... xpackFunctionalConfig . get ( 'kbnTestServer' ) , serverArgs : [ ... xpackFunctionalConfig . get ( 'kbnTestServer.serverArgs' ) ] , } , services , } ; }