From 298de0663d9c0a2fd5a118dfb47cca1da59f015a Mon Sep 17 00:00:00 2001 From: Marco Liberati Date: Mon, 20 Sep 2021 15:56:37 +0200 Subject: [PATCH] [Lens] Make Formula functional tests less flaky (#112428) Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- x-pack/test/functional/apps/lens/formula.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x-pack/test/functional/apps/lens/formula.ts b/x-pack/test/functional/apps/lens/formula.ts index 20ab5e165fda0..f645b2c64629c 100644 --- a/x-pack/test/functional/apps/lens/formula.ts +++ b/x-pack/test/functional/apps/lens/formula.ts @@ -87,6 +87,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { input = await find.activeElement(); await input.type(`Men\'s Clothing`); + await PageObjects.common.sleep(100); + await PageObjects.lens.expectFormulaText(`count(kql='Men\\'s Clothing')`); });