import { FtrProviderContext } from '../../../ftr_provider_context' ; export default function ( { loadTestFile , getService } ) { const kibanaServer = getService ( 'kibanaServer' ) ; const esArchiver = getService ( 'esArchiver' ) ; describe ( 'drilldowns' , function ( ) { this . tags ( [ 'skipFirefox' ] ) ; before ( async ( ) => { await esArchiver . loadIfNeeded ( 'x-pack/test/functional/es_archives/logstash_functional' ) ; await esArchiver . load ( 'x-pack/test/functional/es_archives/dashboard/drilldowns' ) ; await kibanaServer . uiSettings . replace ( { defaultIndex : 'logstash-*' } ) ; } ) ; after ( async ( ) => { await esArchiver . unload ( 'x-pack/test/functional/es_archives/dashboard/drilldowns' ) ; } ) ; loadTestFile ( require . resolve ( './dashboard_to_dashboard_drilldown' ) ) ; loadTestFile ( require . resolve ( './dashboard_to_url_drilldown' ) ) ; loadTestFile ( require . resolve ( './explore_data_panel_action' ) ) ; } ) ; }