fixes and unskips failing tests (#85232)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
MadameSheema 2020-12-08 14:47:48 +01:00 committed by GitHub
parent 067efa4552
commit f46eaf889d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,6 +85,7 @@ import {
waitForLoadElasticPrebuiltDetectionRulesTableToBeLoaded,
waitForRulesToBeLoaded,
} from '../tasks/alerts_detection_rules';
import { removeSignalsIndex } from '../tasks/api_calls';
import {
createAndActivateRule,
fillAboutRule,
@ -119,6 +120,7 @@ describe('Custom detection rules creation', () => {
after(() => {
deleteRule();
removeSignalsIndex();
esArchiverUnload('timeline');
});
@ -213,8 +215,7 @@ describe('Custom detection rules creation', () => {
});
});
// FLAKY: https://github.com/elastic/kibana/issues/83793
describe.skip('Custom detection rules deletion and edition', () => {
describe('Custom detection rules deletion and edition', () => {
beforeEach(() => {
esArchiverLoad('custom_rules');
loginAndWaitForPageWithoutDateRange(DETECTIONS_URL);
@ -224,6 +225,7 @@ describe.skip('Custom detection rules deletion and edition', () => {
});
afterEach(() => {
removeSignalsIndex();
esArchiverUnload('custom_rules');
});