From 1fcdd3428ce6188e8456f0f4d14abe95487401b6 Mon Sep 17 00:00:00 2001 From: Stratoula Kalafateli Date: Thu, 19 Oct 2023 17:24:57 +0300 Subject: [PATCH] [TSVB] Try to stabilize the test (#169254) ## Summary Hopefully stabilizes this flakiness Closes https://github.com/elastic/kibana/issues/167728 Run 100 times: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3593 --- test/functional/page_objects/visual_builder_page.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/page_objects/visual_builder_page.ts b/test/functional/page_objects/visual_builder_page.ts index 6f106d143627a..e20249f362b03 100644 --- a/test/functional/page_objects/visual_builder_page.ts +++ b/test/functional/page_objects/visual_builder_page.ts @@ -667,6 +667,7 @@ export class VisualBuilderPageObject extends FtrService { const fieldEl = await this.getFieldForAggregation(aggNth); await this.comboBox.setElement(fieldEl, field); + await this.header.waitUntilLoadingHasFinished(); } public async setFieldForAggregateBy(field: string): Promise {