Skip to content

Commit

Permalink
[Security Solution] [Alerts] Fix close alerts test looking for render…
Browse files Browse the repository at this point in the history
…ed but hidden element instead of non existant (elastic#167594)
  • Loading branch information
kqualters-elastic authored Sep 29, 2023
1 parent 788dae9 commit 8768b9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down

0 comments on commit 8768b9d

Please sign in to comment.