From 4447ca2a1695cb781b5e22012cfdc232e10d976b Mon Sep 17 00:00:00 2001 From: Marco Liberati Date: Thu, 17 Jun 2021 10:14:29 +0200 Subject: [PATCH] [Lens] Fix Formula functional test with multiple suggestions (#102378) --- x-pack/test/functional/apps/lens/formula.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/test/functional/apps/lens/formula.ts b/x-pack/test/functional/apps/lens/formula.ts index e9e5051c006f02..db7c680ac20af6 100644 --- a/x-pack/test/functional/apps/lens/formula.ts +++ b/x-pack/test/functional/apps/lens/formula.ts @@ -80,6 +80,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { let element = await find.byCssSelector('.monaco-editor'); expect(await element.getVisibleText()).to.equal(`count(kql='Men\\'s Clothing ')`); + await PageObjects.common.sleep(100); await PageObjects.lens.typeFormula('count(kql='); input = await find.activeElement(); await input.type(`Men\'s Clothing`);