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 260efaf34..1a7425b8d 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 @@ -22,6 +22,7 @@ describe('AcknowledgeAlertsModal', () => { before(() => { // Delete any existing monitors cy.deleteAllMonitors(); + cy.deleteAllAlerts(); // Load sample data cy.loadSampleEcommerceData(); @@ -223,6 +224,9 @@ describe('AcknowledgeAlertsModal', () => { // Delete all monitors cy.deleteAllMonitors(); + // Delete all alerts + cy.deleteAllAlerts(); + // Delete sample data cy.deleteIndexByName(`${ALERTING_INDEX.SAMPLE_DATA_ECOMMERCE}`); });