import { FtrConfigProviderContext } from '@kbn/test' ; import cypress from 'cypress' ; import { FtrProviderContext } from './ftr_provider_context' ; import { cypressStart } from './cypress_start' ; async function ftrConfigOpen ( { readConfigFile } ) { const kibanaConfig = await readConfigFile ( require . resolve ( './ftr_config.ts' ) ) ; return { ... kibanaConfig . getAll ( ) , testRunner , } ; } export async function testRunner ( { getService } ) { await cypressStart ( getService , cypress . open ) ; } export default ftrConfigOpen ;