From 634a3c6f9379835574098d57be69ec8e5e9efda8 Mon Sep 17 00:00:00 2001 From: John Dorlus Date: Tue, 8 Mar 2022 18:30:41 -0500 Subject: [PATCH] Made fix to broken test. Deleted all existing pipelines before test starts. FLAKY: https://github.com/elastic/kibana/issues/118593 (#127102) (cherry picked from commit 81eec7c36091d7e5fdcc348554366eacf443eec8) --- .../functional/apps/ingest_pipelines/ingest_pipelines.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts b/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts index 31d165336bd8a..baae09f47c530 100644 --- a/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts +++ b/x-pack/test/functional/apps/ingest_pipelines/ingest_pipelines.ts @@ -5,6 +5,7 @@ * 2.0. */ +import { IngestDeletePipelineRequest } from '@elastic/elasticsearch/lib/api/types'; import expect from '@kbn/expect'; import path from 'path'; import { FtrProviderContext } from '../../ftr_provider_context'; @@ -25,11 +26,12 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => { const es = getService('es'); const security = getService('security'); - // FLAKY: https://github.com/elastic/kibana/issues/118593 - describe.skip('Ingest Pipelines', function () { + describe('Ingest Pipelines', function () { this.tags('smoke'); before(async () => { await security.testUser.setRoles(['ingest_pipelines_user']); + // Delete all existing pipelines + await es.ingest.deletePipeline({ id: '*' } as IngestDeletePipelineRequest); await pageObjects.common.navigateToApp('ingestPipelines'); });