import { FtrProviderContext } from '../../ftr_provider_context' ; export default function upgradeAssistantESDeprecationLogsPageFunctionalTests ( { getService , getPageObjects , } ) { const PageObjects = getPageObjects ( [ 'upgradeAssistant' , 'common' ] ) ; const security = getService ( 'security' ) ; const testSubjects = getService ( 'testSubjects' ) ; const es = getService ( 'es' ) ; describe . skip ( 'ES deprecation logs page' , function ( ) { this . tags ( 'skipFirefox' ) ; before ( async ( ) => { await security . testUser . setRoles ( [ 'superuser' ] ) ; await es . indices . get ( { index : '.kibana' } ) ; } ) ; after ( async ( ) => { await security . testUser . restoreDefaults ( ) ; } ) ; beforeEach ( async ( ) => { await PageObjects . upgradeAssistant . navigateToEsDeprecationLogs ( ) ; } ) ; it ( 'Shows warnings callout if there are deprecations' , async ( ) => { testSubjects . exists ( 'hasWarningsCallout' ) ; } ) ; it ( 'Shows no warnings callout if there are no deprecations' , async ( ) => { await PageObjects . upgradeAssistant . clickResetLastCheckpointButton ( ) ; testSubjects . exists ( 'noWarningsCallout' ) ; } ) ; } ) ; }