import { FtrProviderContext } from '../../ftr_provider_context' ; export default function statusPageFunctonalTests ( { getService , getPageObjects , } ) { const esArchiver = getService ( 'esArchiver' ) ; const PageObjects = getPageObjects ( [ 'security' , 'statusPage' , 'common' ] ) ; describe ( 'Status Page' , function ( ) { this . tags ( [ 'skipCloud' , 'includeFirefox' ] ) ; before ( async ( ) => await esArchiver . load ( 'x-pack/test/functional/es_archives/empty_kibana' ) ) ; after ( async ( ) => await esArchiver . unload ( 'x-pack/test/functional/es_archives/empty_kibana' ) ) ; it ( 'allows user to navigate without authentication' , async ( ) => { await PageObjects . security . forceLogout ( ) ; await PageObjects . common . navigateToApp ( 'status_page' , { shouldLoginIfPrompted : false } ) ; await PageObjects . statusPage . expectStatusPage ( ) ; } ) ; } ) ; }