import { FtrConfigProviderContext } from '@kbn/test' ; import { services } from './services' ; export default async function ( { readConfigFile } ) { const apiIntegrationConfig = await readConfigFile ( require . resolve ( '../../../api_integration/config.ts' ) ) ; return { testFiles : [ require . resolve ( './apis' ) ] , servers : apiIntegrationConfig . get ( 'servers' ) , services , junit : { reportName : 'X-Pack Saved Object Tagging API Integration Tests - Security and Spaces integration' , } , esTestCluster : { ... apiIntegrationConfig . get ( 'esTestCluster' ) , license : 'trial' , } , kbnTestServer : { ... apiIntegrationConfig . get ( 'kbnTestServer' ) , serverArgs : [ ... apiIntegrationConfig . get ( 'kbnTestServer.serverArgs' ) , '--server.xsrf.disableProtection=true' , ] , } , } ; }