From b48e03b025459d7c03c502ffadbbf1d3970ed7f8 Mon Sep 17 00:00:00 2001 From: Dzmitry Tamashevich Date: Mon, 28 Mar 2022 11:26:40 +0500 Subject: [PATCH] [Discover] add logger --- .../apps/discover/search_source_alert.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts b/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts index b109c16498dc9..29732a38cc562 100644 --- a/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts +++ b/x-pack/test/functional_with_es_ssl/apps/discover/search_source_alert.ts @@ -11,6 +11,7 @@ import { last } from 'lodash'; import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getService, getPageObjects }: FtrProviderContext) { + const log = getService('log'); const es = getService('es'); const monacoEditor = getService('monacoEditor'); const PageObjects = getPageObjects([ @@ -232,8 +233,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await createSourceIndex(); await generateNewDocs(5); await createOutputDataIndex(); + + log.debug('create data views'); const [sourceDataViewResponse, outputDataViewResponse] = await createDataViews(); + + log.debug('create connector'); connectorId = await createConnector(); + sourceDataViewId = sourceDataViewResponse.body.data_view.id; outputDataViewId = outputDataViewResponse.body.data_view.id; });