From f4224848b4a55e74f4af5c4965793b1d202897bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20St=C3=BCrmer?= Date: Thu, 10 Aug 2023 15:39:58 +0200 Subject: [PATCH] [Logs UI] Adapt test to ES highlighting changes and unskip (#163592) --- .../api_integration/apis/metrics_ui/log_entry_highlights.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/test/api_integration/apis/metrics_ui/log_entry_highlights.ts b/x-pack/test/api_integration/apis/metrics_ui/log_entry_highlights.ts index f1be3edf0f4ac7..1e565f63b0733d 100644 --- a/x-pack/test/api_integration/apis/metrics_ui/log_entry_highlights.ts +++ b/x-pack/test/api_integration/apis/metrics_ui/log_entry_highlights.ts @@ -45,8 +45,7 @@ export default function ({ getService }: FtrProviderContext) { after(() => esArchiver.unload('x-pack/test/functional/es_archives/infra/simple_logs')); describe('/log_entries/highlights', () => { - // FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/163486 - describe.skip('with the default source', () => { + describe('with the default source', () => { before(() => kibanaServer.savedObjects.cleanStandardList()); after(() => kibanaServer.savedObjects.cleanStandardList()); @@ -120,7 +119,7 @@ export default function ({ getService }: FtrProviderContext) { entries.forEach((entry) => { entry.columns.forEach((column) => { if ('message' in column && 'highlights' in column.message[0]) { - expect(column.message[0].highlights).to.eql(['message', 'of', 'document', '0']); + expect(column.message[0].highlights).to.eql(['message of document 0']); } }); });