import { FtrProviderContext } from '../../ftr_provider_context' ; import { makeCheck } from '../../../api_integration/apis/uptime/rest/helper/make_checks' ; export default ( { getPageObjects , getService } ) => { const { common } = getPageObjects ( [ 'common' ] ) ; const uptimeService = getService ( 'uptime' ) ; const es = getService ( 'es' ) ; describe ( 'missing mappings' , function ( ) { before ( async ( ) => { await makeCheck ( { es } ) ; await common . navigateToApp ( 'uptime' ) ; } ) ; it ( 'redirects to mappings error page' , async ( ) => { await uptimeService . common . hasMappingsError ( ) ; } ) ; } ) ; } ;