import { resolve } from 'path' ; import { FtrConfigProviderContext } from '@kbn/test' ; import { services } from './services' ; import { pageObjects } from './page_objects' ; export default async function ( { readConfigFile } ) { const kibanaCommonConfig = await readConfigFile ( require . resolve ( '../../../test/common/config.js' ) ) ; const kibanaFunctionalConfig = await readConfigFile ( require . resolve ( '../../../test/functional/config.js' ) ) ; return { testFiles : [ resolve ( __dirname , './apps/security/basic_license' ) ] , services , pageObjects , servers : kibanaFunctionalConfig . get ( 'servers' ) , esTestCluster : { license : 'basic' , from : 'snapshot' , serverArgs : [ ] , } , kbnTestServer : { ... kibanaCommonConfig . get ( 'kbnTestServer' ) , serverArgs : [ ... kibanaCommonConfig . get ( 'kbnTestServer.serverArgs' ) , '--server.uuid=5b2de169-2785-441b-ae8c-186a1936b17d' , '--xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf"' , ] , } , uiSettings : { defaults : { 'accessibility:disableAnimations' : true , 'dateFormat:tz' : 'UTC' , } , } , apps : { ... kibanaFunctionalConfig . get ( 'apps' ) , } , screenshots : { directory : resolve ( __dirname , 'screenshots' ) , } , junit : { reportName : 'Chrome X-Pack UI Functional Tests (Security Basic)' , } , } ; }