From 2faecf750817e6fcf2bda06bc99d586b5bda2bb8 Mon Sep 17 00:00:00 2001 From: Dima Arnautov Date: Fri, 5 Jul 2024 16:13:35 +0300 Subject: [PATCH] [ML] Enable anomaly charts Accessibility tests (#187482) ## Summary Closes #183196 ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed (cherry picked from commit 503cac3127b85f54f6242033cc9154ba872050a7) --- .../accessibility/apps/group3/ml_embeddables_in_dashboard.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/test/accessibility/apps/group3/ml_embeddables_in_dashboard.ts b/x-pack/test/accessibility/apps/group3/ml_embeddables_in_dashboard.ts index 69a95822be3af..998fe73a98403 100644 --- a/x-pack/test/accessibility/apps/group3/ml_embeddables_in_dashboard.ts +++ b/x-pack/test/accessibility/apps/group3/ml_embeddables_in_dashboard.ts @@ -81,8 +81,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); for (const testData of testDataList) { - // FLAKY: https://github.com/elastic/kibana/issues/183196 - describe.skip(testData.suiteSuffix, function () { + describe(testData.suiteSuffix, function () { before(async () => { await ml.api.createAndRunAnomalyDetectionLookbackJob( testData.jobConfig, @@ -98,6 +97,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('can open job selection flyout', async () => { await PageObjects.dashboard.clickCreateDashboardPrompt(); await ml.dashboardEmbeddables.assertDashboardIsEmpty(); + // FIXME remove sleep when https://github.com/elastic/kibana/issues/187587 if fixed + await PageObjects.common.sleep(3000); await ml.dashboardEmbeddables.openAnomalyJobSelectionFlyout('ml_anomaly_charts'); await a11y.testAppSnapshot(); });