import { FtrProviderContext } from '../../ftr_provider_context' ; const ARCHIVE = 'x-pack/test/functional/es_archives/uptime/full_heartbeat' ; export default ( { getService , loadTestFile } ) => { const esArchiver = getService ( 'esArchiver' ) ; const kibanaServer = getService ( 'kibanaServer' ) ; describe ( 'Uptime app' , function ( ) { this . tags ( 'ciGroup6' ) ; describe ( 'with real-world data' , ( ) => { before ( async ( ) => { await esArchiver . load ( ARCHIVE ) ; await kibanaServer . uiSettings . replace ( { 'dateFormat:tz' : 'UTC' } ) ; } ) ; after ( async ( ) => await esArchiver . unload ( ARCHIVE ) ) ; loadTestFile ( require . resolve ( './alert_flyout' ) ) ; loadTestFile ( require . resolve ( './anomaly_alert' ) ) ; loadTestFile ( require . resolve ( './simple_down_alert' ) ) ; } ) ; } ) ; } ;