Skip to content

Commit

Permalink
deleting alerts before and after running tests (#1186)
Browse files Browse the repository at this point in the history
Signed-off-by: Amardeepsingh Siglani <[email protected]>
  • Loading branch information
amsiglan authored Mar 28, 2024
1 parent 2d48540 commit dd0aa05
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('AcknowledgeAlertsModal', () => {
before(() => {
// Delete any existing monitors
cy.deleteAllMonitors();
cy.deleteAllAlerts();

// Load sample data
cy.loadSampleEcommerceData();
Expand Down Expand Up @@ -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}`);
});
Expand Down

0 comments on commit dd0aa05

Please sign in to comment.