[SIEM] unblocks master failures (#85319)
This commit is contained in:
parent
ae83f598bf
commit
3f32b56192
|
@ -39,8 +39,8 @@ describe('Alerts', () => {
|
|||
});
|
||||
|
||||
afterEach(() => {
|
||||
removeSignalsIndex();
|
||||
esArchiverUnload('alerts');
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Closes and opens alerts', () => {
|
||||
|
@ -169,8 +169,8 @@ describe('Alerts', () => {
|
|||
});
|
||||
|
||||
afterEach(() => {
|
||||
removeSignalsIndex();
|
||||
esArchiverUnload('closed_alerts');
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Open one alert when more than one closed alerts are selected', () => {
|
||||
|
@ -221,8 +221,8 @@ describe('Alerts', () => {
|
|||
});
|
||||
|
||||
afterEach(() => {
|
||||
removeSignalsIndex();
|
||||
esArchiverUnload('alerts');
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Mark one alert in progress when more than one open alerts are selected', () => {
|
||||
|
|
|
@ -66,8 +66,8 @@ describe('Exceptions', () => {
|
|||
afterEach(() => {
|
||||
esArchiverUnload('auditbeat_for_exceptions');
|
||||
esArchiverUnload('auditbeat_for_exceptions2');
|
||||
removeSignalsIndex();
|
||||
deleteCustomRule();
|
||||
removeSignalsIndex();
|
||||
});
|
||||
context('From rule', () => {
|
||||
it('Creates an exception and deletes it', () => {
|
||||
|
|
|
@ -120,8 +120,8 @@ describe('Custom detection rules creation', () => {
|
|||
|
||||
after(() => {
|
||||
deleteRule();
|
||||
removeSignalsIndex();
|
||||
esArchiverUnload('timeline');
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Creates and activates a new rule', () => {
|
||||
|
|
|
@ -28,8 +28,8 @@ describe('Export rules', () => {
|
|||
});
|
||||
|
||||
after(() => {
|
||||
removeSignalsIndex();
|
||||
esArchiverUnload('export_rule');
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Exports a custom rule', () => {
|
||||
|
|
|
@ -97,8 +97,8 @@ describe('Detection rules, Indicator Match', () => {
|
|||
afterEach(() => {
|
||||
esArchiverUnload('threat_indicator');
|
||||
esArchiverUnload('threat_data');
|
||||
removeSignalsIndex();
|
||||
deleteRule();
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Creates and activates a new Indicator Match rule', () => {
|
||||
|
|
|
@ -53,6 +53,7 @@ import {
|
|||
waitForLoadElasticPrebuiltDetectionRulesTableToBeLoaded,
|
||||
waitForRulesToBeLoaded,
|
||||
} from '../tasks/alerts_detection_rules';
|
||||
import { removeSignalsIndex } from '../tasks/api_calls';
|
||||
import {
|
||||
createAndActivateRule,
|
||||
fillAboutRuleAndContinue,
|
||||
|
@ -79,6 +80,7 @@ describe('Detection rules, machine learning', () => {
|
|||
after(() => {
|
||||
deleteRule();
|
||||
esArchiverUnload('prebuilt_rules_loaded');
|
||||
removeSignalsIndex();
|
||||
});
|
||||
|
||||
it('Creates and activates a new ml rule', () => {
|
||||
|
|
Loading…
Reference in a new issue