diff --git a/x-pack/test/apm_api_integration/tests/services/top_services.ts b/x-pack/test/apm_api_integration/tests/services/top_services.ts index dc8b23c67eb760..a8aa673a285c35 100644 --- a/x-pack/test/apm_api_integration/tests/services/top_services.ts +++ b/x-pack/test/apm_api_integration/tests/services/top_services.ts @@ -272,10 +272,12 @@ export default function ApiTest({ getService }: FtrProviderContext) { } const [unfilteredResponse, filteredResponse] = await Promise.all([ - supertest.get(`/api/apm/services?start=${start}&end=${end}`) as Promise, supertest.get( - `/api/apm/services?start=${start}&end=${end}&kuery=${encodeURIComponent( - 'not (processor.event:transaction)' + `/api/apm/services?start=${start}&end=${end}&uiFilters={}` + ) as Promise, + supertest.get( + `/api/apm/services?start=${start}&end=${end}&uiFilters=${encodeURIComponent( + '{ "kuery": "not (processor.event:transaction)" }' )}` ) as Promise, ]);