diff --git a/cypress/integration/plugins/alerting-dashboards-plugin/composite_level_monitor_spec.js b/cypress/integration/plugins/alerting-dashboards-plugin/composite_level_monitor_spec.js index 96ea249c6..f4f911758 100644 --- a/cypress/integration/plugins/alerting-dashboards-plugin/composite_level_monitor_spec.js +++ b/cypress/integration/plugins/alerting-dashboards-plugin/composite_level_monitor_spec.js @@ -185,9 +185,8 @@ describe('CompositeLevelMonitor', () => { // Wait for monitor to be created cy.wait('@updateMonitorRequest').then(() => { - cy.get('.euiTitle--large').contains( - `${SAMPLE_VISUAL_EDITOR_MONITOR}_edited` - ); + cy.wait(5000); + cy.contains(`${SAMPLE_VISUAL_EDITOR_MONITOR}_edited`); }); }); });