import { FtrProviderContext } from '../../ftr_provider_context' ; export default function ( { getService , getPageObjects } ) { const esArchiver = getService ( 'esArchiver' ) ; const queryBar = getService ( 'queryBar' ) ; const PageObjects = getPageObjects ( [ 'common' , 'settings' , 'context' , 'header' ] ) ; describe ( 'value suggestions non time based' , function describeIndexTests ( ) { before ( async function ( ) { await esArchiver . loadIfNeeded ( 'test/functional/fixtures/es_archiver/index_pattern_without_timefield' ) ; } ) ; after ( async ( ) => { await esArchiver . unload ( 'test/functional/fixtures/es_archiver/index_pattern_without_timefield' ) ; } ) ; it ( 'shows all autosuggest options for a filter in discover context app' , async ( ) => { await PageObjects . common . navigateToApp ( 'discover' ) ; await queryBar . setQuery ( 'type.keyword : ' ) ; await queryBar . expectSuggestions ( { count : 1 , contains : '"apache"' } ) ; } ) ; } ) ; }