From 2b78d6fbad0088e9f6bf71cdddc25a50791f1f20 Mon Sep 17 00:00:00 2001 From: Julia Rechkunova Date: Thu, 7 Sep 2023 09:02:12 +0200 Subject: [PATCH] [Discover] Unskip field popover flaky tests (#165641) - Closes https://github.com/elastic/kibana/issues/165608 150x https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3061 --- test/examples/unified_field_list_examples/field_stats.ts | 3 +-- test/functional/page_objects/unified_field_list.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/examples/unified_field_list_examples/field_stats.ts b/test/examples/unified_field_list_examples/field_stats.ts index 0c1ebca9f3a11..de662e737cb2d 100644 --- a/test/examples/unified_field_list_examples/field_stats.ts +++ b/test/examples/unified_field_list_examples/field_stats.ts @@ -52,8 +52,7 @@ export default ({ getService, getPageObjects }: FtrProviderContext) => { await PageObjects.unifiedFieldList.cleanSidebarLocalStorage(); }); - // FLAKY: https://github.com/elastic/kibana/issues/165608 - describe.skip('field distribution', () => { + describe('field distribution', () => { before(async () => { await PageObjects.unifiedFieldList.toggleSidebarSection('empty'); // it will allow to render more fields in Available fields section }); diff --git a/test/functional/page_objects/unified_field_list.ts b/test/functional/page_objects/unified_field_list.ts index ec62cc4e358d8..caa0c7f24dada 100644 --- a/test/functional/page_objects/unified_field_list.ts +++ b/test/functional/page_objects/unified_field_list.ts @@ -95,6 +95,7 @@ export class UnifiedFieldListPageObject extends FtrService { } public async clickFieldListItem(field: string) { + await this.testSubjects.moveMouseTo(`field-${field}`); await this.testSubjects.click(`field-${field}`); await this.waitUntilFieldPopoverIsOpen();