[Security Solution] [Alerts] Fix close alerts test looking for rendered but hidden element instead of non existant (#167594)

This commit is contained in:
Kevin Qualters 2023-09-29 03:10:24 -04:00 committed by GitHub
parent 788dae973a
commit 8768b9d9c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,7 +122,7 @@ export const closeAlerts = () => {
cy.get(TAKE_ACTION_POPOVER_BTN).first().click();
cy.get(TAKE_ACTION_POPOVER_BTN).should('be.visible');
cy.get(CLOSE_SELECTED_ALERTS_BTN).click();
cy.get(CLOSE_SELECTED_ALERTS_BTN).should('not.be.visible');
cy.get(CLOSE_SELECTED_ALERTS_BTN).should('not.exist');
};
export const expandFirstAlertActions = () => {