Skip to content

Commit

Permalink
Unskip test (#141027)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
nkhristinin and kibanamachine committed Sep 20, 2022
1 parent a71f965 commit 7026b57
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,31 @@ import { login, visit } from '../../tasks/login';

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

describe.skip('Enrichment', () => {
describe('Enrichment', () => {
before(() => {
cleanKibana();
esArchiverLoad('risky_hosts');
esArchiverLoad('risky_users');
login();
});

after(() => {
esArchiverUnload('risky_hosts');
esArchiverUnload('risky_users');
esArchiverUnload('risky_hosts_updated');
});

describe('Custom query rule', () => {
beforeEach(() => {
esArchiverLoad('risky_hosts');
deleteAlertsAndRules();
createCustomRuleEnabled(getNewRule(), 'rule1');
visit(ALERTS_URL);
waitForAlertsToPopulate();
});

afterEach(() => {
esArchiverUnload('risky_hosts');
esArchiverUnload('risky_hosts_updated');
});

it('Should has enrichment fields', function () {
cy.get(NUMBER_OF_ALERTS)
.invoke('text')
Expand Down

0 comments on commit 7026b57

Please sign in to comment.