From 6b483b2e996e7daf9395e15cfcb883f3f1108c2c Mon Sep 17 00:00:00 2001 From: Jenny Date: Mon, 26 Jun 2023 12:12:56 +0200 Subject: [PATCH] Infra flaky test fixes --- x-pack/test/functional/apps/infra/home_page.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/test/functional/apps/infra/home_page.ts b/x-pack/test/functional/apps/infra/home_page.ts index ed5bfc1f75aa8..c59e048ecb6fc 100644 --- a/x-pack/test/functional/apps/infra/home_page.ts +++ b/x-pack/test/functional/apps/infra/home_page.ts @@ -192,8 +192,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { }); }); - // FLAKY: https://github.com/elastic/kibana/issues/157711 - describe.skip('alerts flyouts', () => { + describe('alerts flyouts', () => { before(async () => { await esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs'); await pageObjects.common.navigateToApp('infraOps'); @@ -219,12 +218,13 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { await pageObjects.infraHome.clickAlertsAndRules(); await pageObjects.infraHome.ensurePopoverOpened(); await pageObjects.infraHome.clickAlertsAndRules(); - await pageObjects.infraHome.ensurePopoverClosed(); + await retry.try(async () => { + await pageObjects.infraHome.ensurePopoverClosed(); + }); }); }); - // FLAKY: https://github.com/elastic/kibana/issues/157740 - describe.skip('Saved Views', () => { + describe('Saved Views', () => { before(async () => { esArchiver.load('x-pack/test/functional/es_archives/infra/metrics_and_logs'); await pageObjects.common.navigateToApp('infraOps');