import { FtrConfigProviderContext } from '@kbn/test' ; export default async function ( { readConfigFile } ) { const xpackApiIntegrationConfig = await readConfigFile ( require . resolve ( '../api_integration/config.ts' ) ) ; return { ... xpackApiIntegrationConfig . getAll ( ) , esTestCluster : { ... xpackApiIntegrationConfig . get ( 'esTestCluster' ) , license : 'basic' , serverArgs : [ 'xpack.license.self_generated.type=basic' , 'xpack.security.enabled=true' , 'xpack.security.authc.api_key.enabled=true' , ] , } , testFiles : [ require . resolve ( './apis' ) ] , junit : { ... xpackApiIntegrationConfig . get ( 'junit' ) , reportName : 'X-Pack API Integration Tests Basic License' , } , } ; }