[Lens] Make Formula functional tests less flaky (#112428)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Marco Liberati 2021-09-20 15:56:37 +02:00 committed by GitHub
parent 5f994b1d9d
commit 298de0663d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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