Skip to content

Commit

Permalink
[Security Solution][Detections] Fixes broken cypress test (#109533) (#…
Browse files Browse the repository at this point in the history
…109552)

## Summary

Fixes `acknowledged.spec.ts` test that is currently failing on some ci builds

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

Co-authored-by: Davis Plumlee <[email protected]>
  • Loading branch information
kibanamachine and dplumlee authored Aug 24, 2021
1 parent 4600833 commit 6584864
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe.skip('Marking alerts as acknowledged', () => {
refreshPage();
waitForAlertsToBeLoaded();
goToOpenedAlerts();

waitForAlertsToBeLoaded();
const expectedNumberOfAlerts = +numberOfAlerts - numberOfAlertsToBeMarkedAcknowledged;
cy.get(ALERTS_COUNT).should('have.text', `${expectedNumberOfAlerts} alerts`);

Expand Down

0 comments on commit 6584864

Please sign in to comment.