fixes and unskips failing test (#85235)

This commit is contained in:
MadameSheema 2020-12-08 14:48:51 +01:00 committed by GitHub
parent f46eaf889d
commit 273363a85b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,6 +10,7 @@ import {
waitForAlertsPanelToBeLoaded,
} from '../tasks/alerts';
import { exportFirstRule } from '../tasks/alerts_detection_rules';
import { removeSignalsIndex } from '../tasks/api_calls';
import { esArchiverLoad, esArchiverUnload } from '../tasks/es_archiver';
import { loginAndWaitForPageWithoutDateRange } from '../tasks/login';
@ -17,8 +18,7 @@ import { DETECTIONS_URL } from '../urls/navigation';
const EXPECTED_EXPORTED_RULE_FILE_PATH = 'cypress/test_files/expected_rules_export.ndjson';
// FLAKY: https://github.com/elastic/kibana/issues/85217
describe.skip('Export rules', () => {
describe('Export rules', () => {
before(() => {
esArchiverLoad('export_rule');
cy.intercept(
@ -28,6 +28,7 @@ describe.skip('Export rules', () => {
});
after(() => {
removeSignalsIndex();
esArchiverUnload('export_rule');
});