From 54a410cb45cfdc20f6d926e29b8a8059eea14999 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:34:21 +1100 Subject: [PATCH] [8.x] [Discover] [ES|QL] Fix ES|QL functional test MKI failure (#195150) (#201311) # Backport This will backport the following commits from `main` to `8.x`: - [[Discover] [ES|QL] Fix ES|QL functional test MKI failure (#195150)](https://github.com/elastic/kibana/pull/195150) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Davis McPhee --- test/functional/page_objects/discover_page.ts | 1 + .../functional/test_suites/common/discover/esql/_esql_view.ts | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/test/functional/page_objects/discover_page.ts b/test/functional/page_objects/discover_page.ts index e8a0de7fbc340..8feccfd955c7f 100644 --- a/test/functional/page_objects/discover_page.ts +++ b/test/functional/page_objects/discover_page.ts @@ -597,6 +597,7 @@ export class DiscoverPageObject extends FtrService { if (await this.testSubjects.exists('select-text-based-language-btn')) { await this.testSubjects.click('select-text-based-language-btn'); await this.header.waitUntilLoadingHasFinished(); + await this.waitUntilSearchingHasFinished(); } } diff --git a/x-pack/test_serverless/functional/test_suites/common/discover/esql/_esql_view.ts b/x-pack/test_serverless/functional/test_suites/common/discover/esql/_esql_view.ts index 03dc8cea4a100..dd975d5425de4 100644 --- a/x-pack/test_serverless/functional/test_suites/common/discover/esql/_esql_view.ts +++ b/x-pack/test_serverless/functional/test_suites/common/discover/esql/_esql_view.ts @@ -38,9 +38,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }; describe('discover esql view', function () { - // see details: https://github.com/elastic/kibana/issues/188816 - this.tags(['failsOnMKI']); - before(async () => { await kibanaServer.savedObjects.cleanStandardList(); log.debug('load kibana index with default index pattern');