From dd0986a62e7fad0c59c42be54d79bb15976b4f05 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 21 Dec 2023 23:29:40 +0800 Subject: [PATCH] added wait before selecting Cluster Health API (#977) (#980) Signed-off-by: Amardeepsingh Siglani (cherry picked from commit 0a9f5264bfd4b01c1aec7582dd3a0e8c23e3d531) Co-authored-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}' );