mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Security Solution][Detections] Fixes broken cypress test (#109533)
## 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
This commit is contained in:
parent
f4e18d47c0
commit
0ebe3c6b09
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ describe('Marking alerts as acknowledged', () => {
|
|||
refreshPage();
|
||||
waitForAlertsToBeLoaded();
|
||||
goToOpenedAlerts();
|
||||
|
||||
waitForAlertsToBeLoaded();
|
||||
const expectedNumberOfAlerts = +numberOfAlerts - numberOfAlertsToBeMarkedAcknowledged;
|
||||
cy.get(ALERTS_COUNT).should('have.text', `${expectedNumberOfAlerts} alerts`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue