diff --git a/cypress/integration/plugins/alerting-dashboards-plugin/acknowledge_alerts_modal_spec.js b/cypress/integration/plugins/alerting-dashboards-plugin/acknowledge_alerts_modal_spec.js index a325e9248..8b08d8f34 100644 --- a/cypress/integration/plugins/alerting-dashboards-plugin/acknowledge_alerts_modal_spec.js +++ b/cypress/integration/plugins/alerting-dashboards-plugin/acknowledge_alerts_modal_spec.js @@ -21,6 +21,7 @@ describe('AcknowledgeAlertsModal', () => { before(() => { // Delete any existing monitors cy.deleteAllMonitors(); + cy.deleteAllAlerts(); // Load sample data cy.loadSampleEcommerceData(); @@ -222,6 +223,9 @@ describe('AcknowledgeAlertsModal', () => { // Delete all monitors cy.deleteAllMonitors(); + // Delete all alerts + cy.deleteAllAlerts(); + // Delete sample data cy.deleteIndexByName(`${ALERTING_INDEX.SAMPLE_DATA_ECOMMERCE}`); });