Skip to content

Commit

Permalink
fixes 'Marking alerts as acknowledged' test (#110032) (#110173)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
MadameSheema and kibanamachine authored Aug 26, 2021
1 parent 2aaad55 commit 8a8c251
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ import {
selectNumberOfAlerts,
waitForAlertsPanelToBeLoaded,
waitForAlerts,
waitForAlertsToBeLoaded,
markAcknowledgedFirstAlert,
goToAcknowledgedAlerts,
waitForAlertsIndexToBeCreated,
goToOpenedAlerts,
} from '../../tasks/alerts';
import { createCustomRuleActivated } from '../../tasks/api_calls/rules';
import { cleanKibana } from '../../tasks/common';
Expand All @@ -26,7 +24,7 @@ import { refreshPage } from '../../tasks/security_header';

import { ALERTS_URL } from '../../urls/navigation';

describe.skip('Marking alerts as acknowledged', () => {
describe('Marking alerts as acknowledged', () => {
beforeEach(() => {
cleanKibana();
loginAndWaitForPage(ALERTS_URL);
Expand All @@ -50,10 +48,6 @@ describe.skip('Marking alerts as acknowledged', () => {
cy.get(TAKE_ACTION_POPOVER_BTN).should('exist');

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

Expand Down

0 comments on commit 8a8c251

Please sign in to comment.