import { FtrProviderContext } from '../../../ftr_provider_context' ; import { expectFixtureEql } from './helper/expect_fixture_eql' ; import { API_URLS } from '../../../../../plugins/uptime/common/constants' ; export default function ( { getService } ) { describe ( 'docCount query' , ( ) => { const supertest = getService ( 'supertest' ) ; it ( `will fetch the index's count` , async ( ) => { const apiResponse = await supertest . get ( API_URLS . INDEX_STATUS ) ; const data = apiResponse . body ; expectFixtureEql ( data , 'doc_count' ) ; } ) ; } ) ; }