mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Security Solution] Clean connectors before custom query rule test (#147921)
This commit is contained in:
parent
d632738057
commit
2a02b23ef3
1 changed files with 2 additions and 1 deletions
|
@ -79,7 +79,7 @@ import {
|
|||
} from '../../tasks/alerts_detection_rules';
|
||||
import { createCustomRuleEnabled } from '../../tasks/api_calls/rules';
|
||||
import { createTimeline } from '../../tasks/api_calls/timelines';
|
||||
import { cleanKibana, deleteAlertsAndRules } from '../../tasks/common';
|
||||
import { cleanKibana, deleteAlertsAndRules, deleteConnectors } from '../../tasks/common';
|
||||
import { addEmailConnectorAndRuleAction } from '../../tasks/common/rule_actions';
|
||||
import {
|
||||
continueWithNextSection,
|
||||
|
@ -356,6 +356,7 @@ describe('Custom query rules', () => {
|
|||
|
||||
before(() => {
|
||||
deleteAlertsAndRules();
|
||||
deleteConnectors();
|
||||
createCustomRuleEnabled(getExistingRule(), 'rule1');
|
||||
});
|
||||
beforeEach(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue