Unskip test (#141027)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Khristinin Nikita 2022-09-20 15:38:22 +02:00 committed by GitHub
parent a71f9652d8
commit 7026b57eb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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')