From 0a9f5264bfd4b01c1aec7582dd3a0e8c23e3d531 Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Wed, 20 Dec 2023 20:47:12 -0800 Subject: [PATCH] added wait before selecting Cluster Health API (#977) Signed-off-by: Amardeepsingh Siglani --- .../alerting-dashboards-plugin/cluster_metrics_monitor_spec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cypress/integration/plugins/alerting-dashboards-plugin/cluster_metrics_monitor_spec.js b/cypress/integration/plugins/alerting-dashboards-plugin/cluster_metrics_monitor_spec.js index 9d6c165ec..7bf18d9ce 100644 --- a/cypress/integration/plugins/alerting-dashboards-plugin/cluster_metrics_monitor_spec.js +++ b/cypress/integration/plugins/alerting-dashboards-plugin/cluster_metrics_monitor_spec.js @@ -116,6 +116,7 @@ describe('ClusterMetricsMonitor', () => { cy.get('input[name="name"]').type(SAMPLE_CLUSTER_METRICS_HEALTH_MONITOR); // Wait for the API types to load and then type in the Cluster Health API + cy.wait(5000); cy.get('[data-test-subj="clusterMetricsApiTypeComboBox"]').type( 'cluster health{enter}' );