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')`); });