From adc3538145d613279445f0c93308ed712adb7611 Mon Sep 17 00:00:00 2001 From: Greg Thompson Date: Tue, 11 May 2021 09:57:18 -0500 Subject: [PATCH] trial --- x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts | 1 + .../apps/ml/embeddables/anomaly_charts_dashboard_embeddables.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts b/x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts index de44984a50c5b..be17c4503b4e5 100644 --- a/x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts +++ b/x-pack/test/accessibility/apps/ml_embeddables_in_dashboard.ts @@ -120,6 +120,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'Feb 11, 2016 @ 00:00:00.000' ); await PageObjects.timePicker.pauseAutoRefresh(); + await new Promise((resolve) => setTimeout(resolve, 300)); await ml.dashboardEmbeddables.assertAnomalyChartsSeverityThresholdControlExists(); await ml.dashboardEmbeddables.assertAnomalyChartsExists(); diff --git a/x-pack/test/functional/apps/ml/embeddables/anomaly_charts_dashboard_embeddables.ts b/x-pack/test/functional/apps/ml/embeddables/anomaly_charts_dashboard_embeddables.ts index d4eb45619b7f7..5d5c86912e295 100644 --- a/x-pack/test/functional/apps/ml/embeddables/anomaly_charts_dashboard_embeddables.ts +++ b/x-pack/test/functional/apps/ml/embeddables/anomaly_charts_dashboard_embeddables.ts @@ -107,6 +107,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'Feb 11, 2016 @ 00:00:00.000' ); await PageObjects.timePicker.pauseAutoRefresh(); + await new Promise((resolve) => setTimeout(resolve, 300)); await ml.dashboardEmbeddables.assertAnomalyChartsSeverityThresholdControlExists(); await ml.dashboardEmbeddables.assertAnomalyChartsExists(); });