diff --git a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/table.ts b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/table.ts index 29884da19a1fa..9d3112fc59374 100644 --- a/x-pack/test/functional/apps/lens/open_in_lens/tsvb/table.ts +++ b/x-pack/test/functional/apps/lens/open_in_lens/tsvb/table.ts @@ -88,6 +88,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await visualBuilder.setStaticValue(10); await header.waitUntilLoadingHasFinished(); await visualBuilder.clickSeriesOption(); + await header.waitUntilLoadingHasFinished(); await visualBuilder.setFieldForAggregateBy('bytes'); await visualBuilder.setFunctionForAggregateFunction('Sum'); await header.waitUntilLoadingHasFinished();